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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.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-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,dw-hdmi.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Rockchip DWC HDMI TX Encoder
  8 
  9 maintainers:
 10   - Mark Yao <markyao0591@gmail.com>
 11 
 12 description: |
 13   The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP
 14   with a companion PHY IP.
 15 
 16 allOf:
 17   - $ref: ../bridge/synopsys,dw-hdmi.yaml#
 18   - $ref: /schemas/sound/dai-common.yaml#
 19 
 20 properties:
 21   compatible:
 22     enum:
 23       - rockchip,rk3228-dw-hdmi
 24       - rockchip,rk3288-dw-hdmi
 25       - rockchip,rk3328-dw-hdmi
 26       - rockchip,rk3399-dw-hdmi
 27       - rockchip,rk3568-dw-hdmi
 28 
 29   reg-io-width:
 30     const: 4
 31 
 32   avdd-0v9-supply:
 33     description:
 34       A 0.9V supply that powers up the SoC internal circuitry. The actual pin name
 35       varies between the different SoCs and is usually HDMI_TX_AVDD_0V9 or sometimes
 36       HDMI_AVDD_1V0.
 37 
 38   avdd-1v8-supply:
 39     description:
 40       A 1.8V supply that powers up the SoC internal circuitry. The pin name on the
 41       SoC usually is HDMI_TX_AVDD_1V8.
 42 
 43   clocks:
 44     minItems: 2
 45     items:
 46       - {}
 47       - {}
 48       # The next three clocks are all optional, but shall be specified in this
 49       # order when present.
 50       - description: The HDMI CEC controller main clock
 51       - description: Power for GRF IO
 52       - description: External clock for some HDMI PHY (old clock name, deprecated)
 53       - description: External clock for some HDMI PHY (new name)
 54 
 55   clock-names:
 56     minItems: 2
 57     items:
 58       - {}
 59       - {}
 60       - enum:
 61           - cec
 62           - grf
 63           - vpll
 64           - ref
 65       - enum:
 66           - grf
 67           - vpll
 68           - ref
 69       - enum:
 70           - vpll
 71           - ref
 72 
 73   phys:
 74     maxItems: 1
 75     description: The HDMI PHY
 76 
 77   phy-names:
 78     const: hdmi
 79 
 80   pinctrl-names:
 81     description:
 82       The unwedge pinctrl entry shall drive the DDC SDA line low. This is
 83       intended to work around a hardware errata that can cause the DDC I2C
 84       bus to be wedged.
 85     minItems: 1
 86     items:
 87       - const: default
 88       - const: unwedge
 89 
 90   power-domains:
 91     maxItems: 1
 92 
 93   ports:
 94     $ref: /schemas/graph.yaml#/properties/ports
 95 
 96     properties:
 97       port@0:
 98         $ref: /schemas/graph.yaml#/properties/port
 99         description: Input of the DWC HDMI TX
100         properties:
101           endpoint:
102             description: Connection to the VOP
103           endpoint@0:
104             description: Connection to the VOPB
105           endpoint@1:
106             description: Connection to the VOPL
107       port@1:
108         $ref: /schemas/graph.yaml#/properties/port
109         description: Output of the DWC HDMI TX
110 
111     required:
112       - port@0
113       - port@1
114 
115   rockchip,grf:
116     $ref: /schemas/types.yaml#/definitions/phandle
117     description:
118       phandle to the GRF to mux vopl/vopb.
119 
120   "#sound-dai-cells":
121     const: 0
122 
123 required:
124   - compatible
125   - reg
126   - reg-io-width
127   - clocks
128   - clock-names
129   - interrupts
130   - ports
131   - rockchip,grf
132 
133 unevaluatedProperties: false
134 
135 examples:
136   - |
137     #include <dt-bindings/clock/rk3288-cru.h>
138     #include <dt-bindings/interrupt-controller/arm-gic.h>
139     #include <dt-bindings/interrupt-controller/irq.h>
140     #include <dt-bindings/power/rk3288-power.h>
141 
142     hdmi: hdmi@ff980000 {
143         compatible = "rockchip,rk3288-dw-hdmi";
144         reg = <0xff980000 0x20000>;
145         reg-io-width = <4>;
146         interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
147         clocks = <&cru  PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>;
148         clock-names = "iahb", "isfr";
149         ddc-i2c-bus = <&i2c5>;
150         power-domains = <&power RK3288_PD_VIO>;
151         rockchip,grf = <&grf>;
152         #sound-dai-cells = <0>;
153 
154         ports {
155             #address-cells = <1>;
156             #size-cells = <0>;
157 
158             port@0 {
159                 reg = <0>;
160                 #address-cells = <1>;
161                 #size-cells = <0>;
162 
163                 hdmi_in_vopb: endpoint@0 {
164                     reg = <0>;
165                     remote-endpoint = <&vopb_out_hdmi>;
166                 };
167 
168                 hdmi_in_vopl: endpoint@1 {
169                     reg = <1>;
170                     remote-endpoint = <&vopl_out_hdmi>;
171                 };
172             };
173 
174             port@1 {
175                 reg = <1>;
176 
177                 hdmi_out_con: endpoint {
178                     remote-endpoint = <&hdmi_con_in>;
179                 };
180             };
181         };
182     };
183 
184 ...

~ [ 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