Skip to content

Commit 3e3169e

Browse files
hvilleneuvedoorobherring
authored andcommitted
dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller
Allow to inherit valid properties from the dsi-controller. This fixes the following warning when adding a panel property: rzg2lc.dtb: dsi@10850000: '#address-cells', '#size-cells', 'panel@0' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/display/bridge/renesas,dsi.yaml# Also add a panel property to the example. Signed-off-by: Hugo Villeneuve <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 294d4a1 commit 3e3169e

File tree

1 file changed

+66
-1
lines changed

1 file changed

+66
-1
lines changed

Documentation/devicetree/bindings/display/bridge/renesas,dsi.yaml

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ required:
128128
- power-domains
129129
- ports
130130

131-
additionalProperties: false
131+
unevaluatedProperties: false
132132

133133
examples:
134134
- |
@@ -180,4 +180,69 @@ examples:
180180
};
181181
};
182182
};
183+
184+
- |
185+
#include <dt-bindings/gpio/gpio.h>
186+
187+
dsi1: dsi@10860000 {
188+
#address-cells = <1>;
189+
#size-cells = <0>;
190+
compatible = "renesas,r9a07g044-mipi-dsi", "renesas,rzg2l-mipi-dsi";
191+
reg = <0x10860000 0x20000>;
192+
interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
193+
<GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
194+
<GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
195+
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
196+
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
197+
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
198+
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
199+
interrupt-names = "seq0", "seq1", "vin1", "rcv",
200+
"ferr", "ppi", "debug";
201+
clocks = <&cpg CPG_MOD R9A07G044_MIPI_DSI_PLLCLK>,
202+
<&cpg CPG_MOD R9A07G044_MIPI_DSI_SYSCLK>,
203+
<&cpg CPG_MOD R9A07G044_MIPI_DSI_ACLK>,
204+
<&cpg CPG_MOD R9A07G044_MIPI_DSI_PCLK>,
205+
<&cpg CPG_MOD R9A07G044_MIPI_DSI_VCLK>,
206+
<&cpg CPG_MOD R9A07G044_MIPI_DSI_LPCLK>;
207+
clock-names = "pllclk", "sysclk", "aclk", "pclk", "vclk", "lpclk";
208+
resets = <&cpg R9A07G044_MIPI_DSI_CMN_RSTB>,
209+
<&cpg R9A07G044_MIPI_DSI_ARESET_N>,
210+
<&cpg R9A07G044_MIPI_DSI_PRESET_N>;
211+
reset-names = "rst", "arst", "prst";
212+
power-domains = <&cpg>;
213+
214+
panel@0 {
215+
compatible = "rocktech,jh057n00900";
216+
reg = <0>;
217+
vcc-supply = <&reg_2v8_p>;
218+
iovcc-supply = <&reg_1v8_p>;
219+
reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
220+
221+
port {
222+
panel_in: endpoint {
223+
remote-endpoint = <&dsi1_out>;
224+
};
225+
};
226+
};
227+
228+
ports {
229+
#address-cells = <1>;
230+
#size-cells = <0>;
231+
232+
port@0 {
233+
reg = <0>;
234+
dsi1_in: endpoint {
235+
remote-endpoint = <&du_out_dsi1>;
236+
};
237+
};
238+
239+
port@1 {
240+
reg = <1>;
241+
dsi1_out: endpoint {
242+
data-lanes = <1 2 3 4>;
243+
remote-endpoint = <&panel_in>;
244+
};
245+
};
246+
};
247+
};
183248
...

0 commit comments

Comments
 (0)