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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/display/samsung/samsung,exynos-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
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/display/samsung/samsung,exynos-hdmi.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Samsung Exynos SoC HDMI
  8 
  9 maintainers:
 10   - Inki Dae <inki.dae@samsung.com>
 11   - Seung-Woo Kim <sw0312.kim@samsung.com>
 12   - Kyungmin Park <kyungmin.park@samsung.com>
 13   - Krzysztof Kozlowski <krzk@kernel.org>
 14 
 15 properties:
 16   compatible:
 17     enum:
 18       - samsung,exynos4210-hdmi
 19       - samsung,exynos4212-hdmi
 20       - samsung,exynos5420-hdmi
 21       - samsung,exynos5433-hdmi
 22 
 23   clocks:
 24     minItems: 5
 25     maxItems: 10
 26 
 27   clock-names:
 28     minItems: 5
 29     maxItems: 10
 30 
 31   ddc:
 32     $ref: /schemas/types.yaml#/definitions/phandle
 33     description:
 34       Phandle to the HDMI DDC node.
 35 
 36   hdmi-en-supply:
 37     description:
 38       Provides voltage source for DCC lines available on HDMI connector. When
 39       there is no power provided for DDC epprom, some TV-sets do not pulls up
 40       HPD (hot plug detect) line, what causes HDMI block to stay turned off.
 41       When provided, the regulator allows TV-set correctly signal HPD event.
 42 
 43   hpd-gpios:
 44     maxItems: 1
 45     description:
 46       A GPIO line connected to HPD
 47 
 48   interrupts:
 49     maxItems: 1
 50 
 51   phy:
 52     $ref: /schemas/types.yaml#/definitions/phandle
 53     description: Phandle to the HDMI PHY node.
 54 
 55   ports:
 56     $ref: /schemas/graph.yaml#/properties/ports
 57     description:
 58       Contains a port which is connected to mic node.
 59 
 60   power-domains:
 61     maxItems: 1
 62 
 63   reg:
 64     maxItems: 1
 65 
 66   samsung,syscon-phandle:
 67     $ref: /schemas/types.yaml#/definitions/phandle
 68     description:
 69       Phandle to the PMU system controller node.
 70 
 71   samsung,sysreg-phandle:
 72     $ref: /schemas/types.yaml#/definitions/phandle
 73     description:
 74       Phandle to DISP system controller interface.
 75 
 76   '#sound-dai-cells':
 77     const: 0
 78 
 79   vdd-supply:
 80     description:
 81       VDD 1.0V HDMI TX.
 82 
 83   vdd_osc-supply:
 84     description:
 85       VDD 1.8V HDMI OSC.
 86 
 87   vdd_pll-supply:
 88     description:
 89       VDD 1.0V HDMI PLL.
 90 
 91 required:
 92   - compatible
 93   - clocks
 94   - clock-names
 95   - ddc
 96   - hpd-gpios
 97   - interrupts
 98   - phy
 99   - reg
100   - samsung,syscon-phandle
101   - '#sound-dai-cells'
102   - vdd-supply
103   - vdd_osc-supply
104   - vdd_pll-supply
105 
106 allOf:
107   - if:
108       properties:
109         compatible:
110           contains:
111             const: samsung,exynos5433-hdmi
112     then:
113       properties:
114         clocks:
115           items:
116             - description: Gate of HDMI IP APB bus.
117             - description: Gate of HDMI-PHY IP APB bus.
118             - description: Gate of HDMI TMDS clock.
119             - description: Gate of HDMI pixel clock.
120             - description: TMDS clock generated by HDMI-PHY.
121             - description: MUX used to switch between oscclk and tmds_clko,
122                 respectively if HDMI-PHY is off and operational.
123             - description: Pixel clock generated by HDMI-PHY.
124             - description: MUX used to switch between oscclk and pixel_clko,
125                 respectively if HDMI-PHY is off and operational.
126             - description: Oscillator clock, used as parent of following *_user
127                 clocks in case HDMI-PHY is not operational.
128             - description: Gate of HDMI SPDIF clock.
129         clock-names:
130           items:
131             - const: hdmi_pclk
132             - const: hdmi_i_pclk
133             - const: i_tmds_clk
134             - const: i_pixel_clk
135             - const: tmds_clko
136             - const: tmds_clko_user
137             - const: pixel_clko
138             - const: pixel_clko_user
139             - const: oscclk
140             - const: i_spdif_clk
141       required:
142         - samsung,sysreg-phandle
143     else:
144       properties:
145         clocks:
146           items:
147             - description: Gate of HDMI IP bus clock.
148             - description: Gate of HDMI special clock.
149             - description: Pixel special clock, one of the two possible inputs
150                 of HDMI clock mux.
151             - description: HDMI PHY clock output, one of two possible inputs of
152                 HDMI clock mux.
153             - description: It is required by the driver to switch between the 2
154                 parents i.e. sclk_pixel and sclk_hdmiphy. If hdmiphy is stable
155                 after configuration, parent is set to sclk_hdmiphy else
156                 sclk_pixel.
157         clock-names:
158           items:
159             - const: hdmi
160             - const: sclk_hdmi
161             - const: sclk_pixel
162             - const: sclk_hdmiphy
163             - const: mout_hdmi
164 
165 additionalProperties: false
166 
167 examples:
168   - |
169     #include <dt-bindings/clock/exynos5433.h>
170     #include <dt-bindings/gpio/gpio.h>
171     #include <dt-bindings/interrupt-controller/arm-gic.h>
172 
173     hdmi@13970000 {
174         compatible = "samsung,exynos5433-hdmi";
175         reg = <0x13970000 0x70000>;
176         interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
177         clocks = <&cmu_disp CLK_PCLK_HDMI>,
178                  <&cmu_disp CLK_PCLK_HDMIPHY>,
179                  <&cmu_disp CLK_PHYCLK_HDMIPHY_TMDS_CLKO>,
180                  <&cmu_disp CLK_PHYCLK_HDMI_PIXEL>,
181                  <&cmu_disp CLK_PHYCLK_HDMIPHY_TMDS_CLKO_PHY>,
182                  <&cmu_disp CLK_MOUT_PHYCLK_HDMIPHY_TMDS_CLKO_USER>,
183                  <&cmu_disp CLK_PHYCLK_HDMIPHY_PIXEL_CLKO_PHY>,
184                  <&cmu_disp CLK_MOUT_PHYCLK_HDMIPHY_PIXEL_CLKO_USER>,
185                  <&xxti>,
186                  <&cmu_disp CLK_SCLK_HDMI_SPDIF>;
187         clock-names = "hdmi_pclk",
188                       "hdmi_i_pclk",
189                       "i_tmds_clk",
190                       "i_pixel_clk",
191                       "tmds_clko",
192                       "tmds_clko_user",
193                       "pixel_clko",
194                       "pixel_clko_user",
195                       "oscclk",
196                       "i_spdif_clk";
197         phy = <&hdmiphy>;
198         ddc = <&hsi2c_11>;
199         samsung,syscon-phandle = <&pmu_system_controller>;
200         samsung,sysreg-phandle = <&syscon_disp>;
201         #sound-dai-cells = <0>;
202 
203         hpd-gpios = <&gpa3 0 GPIO_ACTIVE_HIGH>;
204         vdd-supply = <&ldo6_reg>;
205         vdd_osc-supply = <&ldo7_reg>;
206         vdd_pll-supply = <&ldo6_reg>;
207 
208         ports {
209             #address-cells = <1>;
210             #size-cells = <0>;
211 
212             port@0 {
213                 reg = <0>;
214                 hdmi_to_tv: endpoint {
215                     remote-endpoint = <&tv_to_hdmi>;
216                 };
217             };
218 
219             port@1 {
220                 reg = <1>;
221                 hdmi_to_mhl: endpoint {
222                     remote-endpoint = <&mhl_to_hdmi>;
223                 };
224             };
225         };
226     };

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