fsl,lcdif.yaml (1a931707ad4a46e79d4ecfee56d8f6e8cc8d4f28) fsl,lcdif.yaml (f62678a77d585cf3f6302a5a4e2265b1a97b004b)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/fsl,lcdif.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale/NXP i.MX LCD Interface (LCDIF)
8

--- 85 unchanged lines hidden (view full) ---

94 clocks:
95 minItems: 3
96 maxItems: 3
97 clock-names:
98 minItems: 3
99 maxItems: 3
100 required:
101 - clock-names
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/fsl,lcdif.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale/NXP i.MX LCD Interface (LCDIF)
8

--- 85 unchanged lines hidden (view full) ---

94 clocks:
95 minItems: 3
96 maxItems: 3
97 clock-names:
98 minItems: 3
99 maxItems: 3
100 required:
101 - clock-names
102 - power-domains
103 - if:
104 not:
105 properties:
106 compatible:
107 contains:
108 enum:
109 - fsl,imx6sx-lcdif
110 - fsl,imx8mp-lcdif
111 then:
112 properties:
113 clocks:
114 maxItems: 1
115 clock-names:
116 maxItems: 1
102 - if:
103 not:
104 properties:
105 compatible:
106 contains:
107 enum:
108 - fsl,imx6sx-lcdif
109 - fsl,imx8mp-lcdif
110 then:
111 properties:
112 clocks:
113 maxItems: 1
114 clock-names:
115 maxItems: 1
116 - if:
117 properties:
118 compatible:
119 contains:
120 enum:
121 - fsl,imx6sl-lcdif
122 - fsl,imx6sx-lcdif
123 - fsl,imx8mm-lcdif
124 - fsl,imx8mn-lcdif
125 - fsl,imx8mp-lcdif
126 then:
127 required:
128 - power-domains
117
118examples:
119 - |
120 #include <dt-bindings/clock/imx6sx-clock.h>
121 #include <dt-bindings/interrupt-controller/arm-gic.h>
122
123 display-controller@2220000 {
124 compatible = "fsl,imx6sx-lcdif";
125 reg = <0x02220000 0x4000>;
126 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
127 clocks = <&clks IMX6SX_CLK_LCDIF1_PIX>,
128 <&clks IMX6SX_CLK_LCDIF_APB>,
129 <&clks IMX6SX_CLK_DISPLAY_AXI>;
130 clock-names = "pix", "axi", "disp_axi";
129
130examples:
131 - |
132 #include <dt-bindings/clock/imx6sx-clock.h>
133 #include <dt-bindings/interrupt-controller/arm-gic.h>
134
135 display-controller@2220000 {
136 compatible = "fsl,imx6sx-lcdif";
137 reg = <0x02220000 0x4000>;
138 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
139 clocks = <&clks IMX6SX_CLK_LCDIF1_PIX>,
140 <&clks IMX6SX_CLK_LCDIF_APB>,
141 <&clks IMX6SX_CLK_DISPLAY_AXI>;
142 clock-names = "pix", "axi", "disp_axi";
143 power-domains = <&pd_disp>;
131
132 port {
133 endpoint {
134 remote-endpoint = <&panel_in>;
135 };
136 };
137 };
138
139...
144
145 port {
146 endpoint {
147 remote-endpoint = <&panel_in>;
148 };
149 };
150 };
151
152...