~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/display/rockchip/rockchip,lvds.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,lvds.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Rockchip low-voltage differential signal (LVDS) transmitter
  8 
  9 maintainers:
 10   - Sandy Huang <hjc@rock-chips.com>
 11   - Heiko Stuebner <heiko@sntech.de>
 12 
 13 properties:
 14   compatible:
 15     enum:
 16       - rockchip,px30-lvds
 17       - rockchip,rk3288-lvds
 18 
 19   reg:
 20     maxItems: 1
 21 
 22   clocks:
 23     maxItems: 1
 24 
 25   clock-names:
 26     const: pclk_lvds
 27 
 28   avdd1v0-supply:
 29     description: 1.0V analog power.
 30 
 31   avdd1v8-supply:
 32     description: 1.8V analog power.
 33 
 34   avdd3v3-supply:
 35     description: 3.3V analog power.
 36 
 37   rockchip,grf:
 38     $ref: /schemas/types.yaml#/definitions/phandle
 39     description: Phandle to the general register files syscon.
 40 
 41   rockchip,output:
 42     $ref: /schemas/types.yaml#/definitions/string
 43     enum: [rgb, lvds, duallvds]
 44     description: This describes the output interface.
 45 
 46   phys:
 47     maxItems: 1
 48 
 49   phy-names:
 50     const: dphy
 51 
 52   pinctrl-names:
 53     const: lcdc
 54 
 55   pinctrl-0: true
 56 
 57   power-domains:
 58     maxItems: 1
 59 
 60   ports:
 61     $ref: /schemas/graph.yaml#/properties/ports
 62 
 63     properties:
 64       port@0:
 65         $ref: /schemas/graph.yaml#/properties/port
 66         description:
 67           Video port 0 for the VOP input.
 68           The remote endpoint maybe vopb or vopl.
 69 
 70       port@1:
 71         $ref: /schemas/graph.yaml#/properties/port
 72         description:
 73           Video port 1 for either a panel or subsequent encoder.
 74 
 75     required:
 76       - port@0
 77       - port@1
 78 
 79 required:
 80   - compatible
 81   - rockchip,grf
 82   - rockchip,output
 83   - ports
 84 
 85 allOf:
 86   - if:
 87       properties:
 88         compatible:
 89           contains:
 90             const: rockchip,px30-lvds
 91 
 92     then:
 93       properties:
 94         reg: false
 95         clocks: false
 96         clock-names: false
 97         avdd1v0-supply: false
 98         avdd1v8-supply: false
 99         avdd3v3-supply: false
100 
101       required:
102         - phys
103         - phy-names
104 
105   - if:
106       properties:
107         compatible:
108           contains:
109             const: rockchip,rk3288-lvds
110 
111     then:
112       properties:
113         phys: false
114         phy-names: false
115 
116       required:
117         - reg
118         - clocks
119         - clock-names
120         - avdd1v0-supply
121         - avdd1v8-supply
122         - avdd3v3-supply
123 
124 additionalProperties: false
125 
126 examples:
127   - |
128     #include <dt-bindings/clock/rk3288-cru.h>
129 
130     lvds: lvds@ff96c000 {
131       compatible = "rockchip,rk3288-lvds";
132       reg = <0xff96c000 0x4000>;
133       clocks = <&cru PCLK_LVDS_PHY>;
134       clock-names = "pclk_lvds";
135       avdd1v0-supply = <&vdd10_lcd>;
136       avdd1v8-supply = <&vcc18_lcd>;
137       avdd3v3-supply = <&vcca_33>;
138       pinctrl-names = "lcdc";
139       pinctrl-0 = <&lcdc_ctl>;
140       rockchip,grf = <&grf>;
141       rockchip,output = "rgb";
142 
143       ports {
144         #address-cells = <1>;
145         #size-cells = <0>;
146 
147         lvds_in: port@0 {
148           reg = <0>;
149           #address-cells = <1>;
150           #size-cells = <0>;
151 
152           lvds_in_vopb: endpoint@0 {
153             reg = <0>;
154             remote-endpoint = <&vopb_out_lvds>;
155           };
156           lvds_in_vopl: endpoint@1 {
157             reg = <1>;
158             remote-endpoint = <&vopl_out_lvds>;
159           };
160         };
161 
162         lvds_out: port@1 {
163           reg = <1>;
164 
165           lvds_out_panel: endpoint {
166             remote-endpoint = <&panel_in_lvds>;
167           };
168         };
169       };
170     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php