* [PATCH v2] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller
@ 2025-05-20 15:11 Hugo Villeneuve
2025-05-20 15:58 ` Conor Dooley
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Hugo Villeneuve @ 2025-05-20 15:11 UTC (permalink / raw)
To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven,
Magnus Damm, Biju Das
Cc: hugo, Hugo Villeneuve, dri-devel, devicetree, linux-kernel,
linux-renesas-soc
From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
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 <hvilleneuve@dimonoff.com>
---
V1 -> V2: add separate example
---
.../bindings/display/bridge/renesas,dsi.yaml | 67 ++++++++++++++++++-
1 file changed, 66 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dsi.yaml b/Documentation/devicetree/bindings/display/bridge/renesas,dsi.yaml
index e08c24633926b..5a99d9b9635e7 100644
--- a/Documentation/devicetree/bindings/display/bridge/renesas,dsi.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/renesas,dsi.yaml
@@ -128,7 +128,7 @@ required:
- power-domains
- ports
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
@@ -180,4 +180,69 @@ examples:
};
};
};
+
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ dsi1: dsi@10860000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "renesas,r9a07g044-mipi-dsi", "renesas,rzg2l-mipi-dsi";
+ reg = <0x10860000 0x20000>;
+ interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "seq0", "seq1", "vin1", "rcv",
+ "ferr", "ppi", "debug";
+ clocks = <&cpg CPG_MOD R9A07G044_MIPI_DSI_PLLCLK>,
+ <&cpg CPG_MOD R9A07G044_MIPI_DSI_SYSCLK>,
+ <&cpg CPG_MOD R9A07G044_MIPI_DSI_ACLK>,
+ <&cpg CPG_MOD R9A07G044_MIPI_DSI_PCLK>,
+ <&cpg CPG_MOD R9A07G044_MIPI_DSI_VCLK>,
+ <&cpg CPG_MOD R9A07G044_MIPI_DSI_LPCLK>;
+ clock-names = "pllclk", "sysclk", "aclk", "pclk", "vclk", "lpclk";
+ resets = <&cpg R9A07G044_MIPI_DSI_CMN_RSTB>,
+ <&cpg R9A07G044_MIPI_DSI_ARESET_N>,
+ <&cpg R9A07G044_MIPI_DSI_PRESET_N>;
+ reset-names = "rst", "arst", "prst";
+ power-domains = <&cpg>;
+
+ panel@0 {
+ compatible = "rocktech,jh057n00900";
+ reg = <0>;
+ vcc-supply = <®_2v8_p>;
+ iovcc-supply = <®_1v8_p>;
+ reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&dsi1_out>;
+ };
+ };
+ };
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ dsi1_in: endpoint {
+ remote-endpoint = <&du_out_dsi1>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ dsi1_out: endpoint {
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&panel_in>;
+ };
+ };
+ };
+ };
...
base-commit: 7c1a9408ce5f34ded5a85db81cf80e0975901685
--
2.39.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller
2025-05-20 15:11 [PATCH v2] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller Hugo Villeneuve
@ 2025-05-20 15:58 ` Conor Dooley
2025-05-20 16:00 ` Conor Dooley
2025-05-20 16:04 ` Conor Dooley
2025-05-20 19:44 ` Rob Herring (Arm)
2 siblings, 1 reply; 7+ messages in thread
From: Conor Dooley @ 2025-05-20 15:58 UTC (permalink / raw)
To: Hugo Villeneuve
Cc: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven,
Magnus Damm, Biju Das, Hugo Villeneuve, dri-devel, devicetree,
linux-kernel, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 4058 bytes --]
On Tue, May 20, 2025 at 11:11:12AM -0400, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
>
> 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.
I don't think adding the example should be in the same patch as a fix.
>
> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> ---
> V1 -> V2: add separate example
> ---
> .../bindings/display/bridge/renesas,dsi.yaml | 67 ++++++++++++++++++-
> 1 file changed, 66 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dsi.yaml b/Documentation/devicetree/bindings/display/bridge/renesas,dsi.yaml
> index e08c24633926b..5a99d9b9635e7 100644
> --- a/Documentation/devicetree/bindings/display/bridge/renesas,dsi.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/renesas,dsi.yaml
> @@ -128,7 +128,7 @@ required:
> - power-domains
> - ports
>
> -additionalProperties: false
> +unevaluatedProperties: false
>
> examples:
> - |
> @@ -180,4 +180,69 @@ examples:
> };
> };
> };
> +
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + dsi1: dsi@10860000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + compatible = "renesas,r9a07g044-mipi-dsi", "renesas,rzg2l-mipi-dsi";
> + reg = <0x10860000 0x20000>;
> + interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-names = "seq0", "seq1", "vin1", "rcv",
> + "ferr", "ppi", "debug";
> + clocks = <&cpg CPG_MOD R9A07G044_MIPI_DSI_PLLCLK>,
> + <&cpg CPG_MOD R9A07G044_MIPI_DSI_SYSCLK>,
> + <&cpg CPG_MOD R9A07G044_MIPI_DSI_ACLK>,
> + <&cpg CPG_MOD R9A07G044_MIPI_DSI_PCLK>,
> + <&cpg CPG_MOD R9A07G044_MIPI_DSI_VCLK>,
> + <&cpg CPG_MOD R9A07G044_MIPI_DSI_LPCLK>;
> + clock-names = "pllclk", "sysclk", "aclk", "pclk", "vclk", "lpclk";
> + resets = <&cpg R9A07G044_MIPI_DSI_CMN_RSTB>,
> + <&cpg R9A07G044_MIPI_DSI_ARESET_N>,
> + <&cpg R9A07G044_MIPI_DSI_PRESET_N>;
> + reset-names = "rst", "arst", "prst";
> + power-domains = <&cpg>;
> +
> + panel@0 {
> + compatible = "rocktech,jh057n00900";
> + reg = <0>;
> + vcc-supply = <®_2v8_p>;
> + iovcc-supply = <®_1v8_p>;
> + reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
> +
> + port {
> + panel_in: endpoint {
> + remote-endpoint = <&dsi1_out>;
> + };
> + };
> + };
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@0 {
> + reg = <0>;
> + dsi1_in: endpoint {
> + remote-endpoint = <&du_out_dsi1>;
> + };
> + };
> +
> + port@1 {
> + reg = <1>;
> + dsi1_out: endpoint {
> + data-lanes = <1 2 3 4>;
> + remote-endpoint = <&panel_in>;
> + };
> + };
> + };
> + };
> ...
>
> base-commit: 7c1a9408ce5f34ded5a85db81cf80e0975901685
> --
> 2.39.5
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller
2025-05-20 15:58 ` Conor Dooley
@ 2025-05-20 16:00 ` Conor Dooley
2025-05-20 16:02 ` Hugo Villeneuve
0 siblings, 1 reply; 7+ messages in thread
From: Conor Dooley @ 2025-05-20 16:00 UTC (permalink / raw)
To: Hugo Villeneuve
Cc: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven,
Magnus Damm, Biju Das, Hugo Villeneuve, dri-devel, devicetree,
linux-kernel, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 777 bytes --]
On Tue, May 20, 2025 at 04:58:12PM +0100, Conor Dooley wrote:
> On Tue, May 20, 2025 at 11:11:12AM -0400, Hugo Villeneuve wrote:
> > From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> >
> > 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.
>
> I don't think adding the example should be in the same patch as a fix.
Or am I misunderstanding, and this is a new type of usage, rather than a
fix?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller
2025-05-20 16:00 ` Conor Dooley
@ 2025-05-20 16:02 ` Hugo Villeneuve
2025-05-20 16:03 ` Conor Dooley
0 siblings, 1 reply; 7+ messages in thread
From: Hugo Villeneuve @ 2025-05-20 16:02 UTC (permalink / raw)
To: Conor Dooley
Cc: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven,
Magnus Damm, Biju Das, Hugo Villeneuve, dri-devel, devicetree,
linux-kernel, linux-renesas-soc
On Tue, 20 May 2025 17:00:11 +0100
Conor Dooley <conor@kernel.org> wrote:
> On Tue, May 20, 2025 at 04:58:12PM +0100, Conor Dooley wrote:
> > On Tue, May 20, 2025 at 11:11:12AM -0400, Hugo Villeneuve wrote:
> > > From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> > >
> > > 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.
> >
> > I don't think adding the example should be in the same patch as a fix.
>
> Or am I misunderstanding, and this is a new type of usage, rather than a
> fix?
Hi Conor,
it is more like a new type of usage.
--
Hugo Villeneuve
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller
2025-05-20 16:02 ` Hugo Villeneuve
@ 2025-05-20 16:03 ` Conor Dooley
0 siblings, 0 replies; 7+ messages in thread
From: Conor Dooley @ 2025-05-20 16:03 UTC (permalink / raw)
To: Hugo Villeneuve
Cc: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven,
Magnus Damm, Biju Das, Hugo Villeneuve, dri-devel, devicetree,
linux-kernel, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]
On Tue, May 20, 2025 at 12:02:25PM -0400, Hugo Villeneuve wrote:
> On Tue, 20 May 2025 17:00:11 +0100
> Conor Dooley <conor@kernel.org> wrote:
>
> > On Tue, May 20, 2025 at 04:58:12PM +0100, Conor Dooley wrote:
> > > On Tue, May 20, 2025 at 11:11:12AM -0400, Hugo Villeneuve wrote:
> > > > From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> > > >
> > > > 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.
> > >
> > > I don't think adding the example should be in the same patch as a fix.
> >
> > Or am I misunderstanding, and this is a new type of usage, rather than a
> > fix?
>
> Hi Conor,
> it is more like a new type of usage.
Then it's fine.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller
2025-05-20 15:11 [PATCH v2] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller Hugo Villeneuve
2025-05-20 15:58 ` Conor Dooley
@ 2025-05-20 16:04 ` Conor Dooley
2025-05-20 19:44 ` Rob Herring (Arm)
2 siblings, 0 replies; 7+ messages in thread
From: Conor Dooley @ 2025-05-20 16:04 UTC (permalink / raw)
To: Hugo Villeneuve
Cc: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Geert Uytterhoeven,
Magnus Damm, Biju Das, Hugo Villeneuve, dri-devel, devicetree,
linux-kernel, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 650 bytes --]
On Tue, May 20, 2025 at 11:11:12AM -0400, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
>
> 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 <hvilleneuve@dimonoff.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller
2025-05-20 15:11 [PATCH v2] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller Hugo Villeneuve
2025-05-20 15:58 ` Conor Dooley
2025-05-20 16:04 ` Conor Dooley
@ 2025-05-20 19:44 ` Rob Herring (Arm)
2 siblings, 0 replies; 7+ messages in thread
From: Rob Herring (Arm) @ 2025-05-20 19:44 UTC (permalink / raw)
To: Hugo Villeneuve
Cc: Krzysztof Kozlowski, Maarten Lankhorst, Simona Vetter,
Neil Armstrong, Robert Foss, Andrzej Hajda, linux-renesas-soc,
Biju Das, dri-devel, linux-kernel, Laurent Pinchart,
Hugo Villeneuve, David Airlie, Jernej Skrabec, Geert Uytterhoeven,
Maxime Ripard, Thomas Zimmermann, devicetree, Jonas Karlman,
Conor Dooley, Magnus Damm
On Tue, 20 May 2025 11:11:12 -0400, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
>
> 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 <hvilleneuve@dimonoff.com>
> ---
> V1 -> V2: add separate example
> ---
> .../bindings/display/bridge/renesas,dsi.yaml | 67 ++++++++++++++++++-
> 1 file changed, 66 insertions(+), 1 deletion(-)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-05-20 19:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-20 15:11 [PATCH v2] dt-bindings: display: bridge: renesas,dsi: allow properties from dsi-controller Hugo Villeneuve
2025-05-20 15:58 ` Conor Dooley
2025-05-20 16:00 ` Conor Dooley
2025-05-20 16:02 ` Hugo Villeneuve
2025-05-20 16:03 ` Conor Dooley
2025-05-20 16:04 ` Conor Dooley
2025-05-20 19:44 ` Rob Herring (Arm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).