* [PATCH 1/4] arm64: dts: renesas: r8a779a0: Rename dsi-encoder@ to dsi@
@ 2025-09-04 20:03 Marek Vasut
2025-09-04 20:03 ` [PATCH 2/4] arm64: dts: renesas: r8a779g0: " Marek Vasut
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Marek Vasut @ 2025-09-04 20:03 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Marek Vasut, Conor Dooley, David Airlie, Geert Uytterhoeven,
Kieran Bingham, Krzysztof Kozlowski, Laurent Pinchart,
Neil Armstrong, Rob Herring, Robert Foss, Simona Vetter,
Thomas Zimmermann, Tomi Valkeinen, devicetree, dri-devel,
linux-renesas-soc
Rename dsi-encoder@ node to dsi@ node to follow node name pattern
in Documentation/devicetree/bindings/display/dsi-controller.yaml .
No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: David Airlie <airlied@gmail.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Robert Foss <rfoss@kernel.org>
Cc: Simona Vetter <simona@ffwll.ch>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Cc: devicetree@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-renesas-soc@vger.kernel.org
---
arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
index 95ff693399919..2c3fb34abb28e 100644
--- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
@@ -2949,7 +2949,7 @@ isp3vin31: endpoint {
};
};
- dsi0: dsi-encoder@fed80000 {
+ dsi0: dsi@fed80000 {
compatible = "renesas,r8a779a0-dsi-csi2-tx";
reg = <0 0xfed80000 0 0x10000>;
power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
@@ -2977,7 +2977,7 @@ port@1 {
};
};
- dsi1: dsi-encoder@fed90000 {
+ dsi1: dsi@fed90000 {
compatible = "renesas,r8a779a0-dsi-csi2-tx";
reg = <0 0xfed90000 0 0x10000>;
power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
--
2.50.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 2/4] arm64: dts: renesas: r8a779g0: Rename dsi-encoder@ to dsi@ 2025-09-04 20:03 [PATCH 1/4] arm64: dts: renesas: r8a779a0: Rename dsi-encoder@ to dsi@ Marek Vasut @ 2025-09-04 20:03 ` Marek Vasut 2025-09-04 20:03 ` [PATCH 3/4] arm64: dts: renesas: r8a779h0: " Marek Vasut 2025-09-04 20:03 ` [PATCH 4/4] dt-bindings: display: bridge: renesas,dsi-csi2-tx: Allow panel@ subnode Marek Vasut 2 siblings, 0 replies; 6+ messages in thread From: Marek Vasut @ 2025-09-04 20:03 UTC (permalink / raw) To: linux-arm-kernel Cc: Marek Vasut, Conor Dooley, David Airlie, Geert Uytterhoeven, Kieran Bingham, Krzysztof Kozlowski, Laurent Pinchart, Neil Armstrong, Rob Herring, Robert Foss, Simona Vetter, Thomas Zimmermann, Tomi Valkeinen, devicetree, dri-devel, linux-renesas-soc Rename dsi-encoder@ node to dsi@ node to follow node name pattern in Documentation/devicetree/bindings/display/dsi-controller.yaml . No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> --- Cc: Conor Dooley <conor+dt@kernel.org> Cc: David Airlie <airlied@gmail.com> Cc: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Cc: Neil Armstrong <neil.armstrong@linaro.org> Cc: Rob Herring <robh@kernel.org> Cc: Robert Foss <rfoss@kernel.org> Cc: Simona Vetter <simona@ffwll.ch> Cc: Thomas Zimmermann <tzimmermann@suse.de> Cc: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> Cc: devicetree@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linux-renesas-soc@vger.kernel.org --- arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi index 8d9ca30c299c9..4fae063bf91b6 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi @@ -2476,7 +2476,7 @@ isp1vin15: endpoint { }; }; - dsi0: dsi-encoder@fed80000 { + dsi0: dsi@fed80000 { compatible = "renesas,r8a779g0-dsi-csi2-tx"; reg = <0 0xfed80000 0 0x10000>; clocks = <&cpg CPG_MOD 415>, @@ -2505,7 +2505,7 @@ port@1 { }; }; - dsi1: dsi-encoder@fed90000 { + dsi1: dsi@fed90000 { compatible = "renesas,r8a779g0-dsi-csi2-tx"; reg = <0 0xfed90000 0 0x10000>; clocks = <&cpg CPG_MOD 416>, -- 2.50.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/4] arm64: dts: renesas: r8a779h0: Rename dsi-encoder@ to dsi@ 2025-09-04 20:03 [PATCH 1/4] arm64: dts: renesas: r8a779a0: Rename dsi-encoder@ to dsi@ Marek Vasut 2025-09-04 20:03 ` [PATCH 2/4] arm64: dts: renesas: r8a779g0: " Marek Vasut @ 2025-09-04 20:03 ` Marek Vasut 2025-09-04 20:03 ` [PATCH 4/4] dt-bindings: display: bridge: renesas,dsi-csi2-tx: Allow panel@ subnode Marek Vasut 2 siblings, 0 replies; 6+ messages in thread From: Marek Vasut @ 2025-09-04 20:03 UTC (permalink / raw) To: linux-arm-kernel Cc: Marek Vasut, Conor Dooley, David Airlie, Geert Uytterhoeven, Kieran Bingham, Krzysztof Kozlowski, Laurent Pinchart, Neil Armstrong, Rob Herring, Robert Foss, Simona Vetter, Thomas Zimmermann, Tomi Valkeinen, devicetree, dri-devel, linux-renesas-soc Rename dsi-encoder@ node to dsi@ node to follow node name pattern in Documentation/devicetree/bindings/display/dsi-controller.yaml . No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> --- Cc: Conor Dooley <conor+dt@kernel.org> Cc: David Airlie <airlied@gmail.com> Cc: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Cc: Neil Armstrong <neil.armstrong@linaro.org> Cc: Rob Herring <robh@kernel.org> Cc: Robert Foss <rfoss@kernel.org> Cc: Simona Vetter <simona@ffwll.ch> Cc: Thomas Zimmermann <tzimmermann@suse.de> Cc: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> Cc: devicetree@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linux-renesas-soc@vger.kernel.org --- arch/arm64/boot/dts/renesas/r8a779h0.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi index ed1eefa3515d8..0f20a2d239834 100644 --- a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi @@ -2144,7 +2144,7 @@ isp1vin15: endpoint { }; }; - dsi0: dsi-encoder@fed80000 { + dsi0: dsi@fed80000 { compatible = "renesas,r8a779h0-dsi-csi2-tx"; reg = <0 0xfed80000 0 0x10000>; clocks = <&cpg CPG_MOD 415>, -- 2.50.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 4/4] dt-bindings: display: bridge: renesas,dsi-csi2-tx: Allow panel@ subnode 2025-09-04 20:03 [PATCH 1/4] arm64: dts: renesas: r8a779a0: Rename dsi-encoder@ to dsi@ Marek Vasut 2025-09-04 20:03 ` [PATCH 2/4] arm64: dts: renesas: r8a779g0: " Marek Vasut 2025-09-04 20:03 ` [PATCH 3/4] arm64: dts: renesas: r8a779h0: " Marek Vasut @ 2025-09-04 20:03 ` Marek Vasut 2025-09-04 20:23 ` [PATCH 4/4] dt-bindings: display: bridge: renesas, dsi-csi2-tx: " Dmitry Baryshkov 2 siblings, 1 reply; 6+ messages in thread From: Marek Vasut @ 2025-09-04 20:03 UTC (permalink / raw) To: linux-arm-kernel Cc: Marek Vasut, Conor Dooley, David Airlie, Geert Uytterhoeven, Kieran Bingham, Krzysztof Kozlowski, Laurent Pinchart, Neil Armstrong, Rob Herring, Robert Foss, Simona Vetter, Thomas Zimmermann, Tomi Valkeinen, devicetree, dri-devel, linux-renesas-soc This controller can have both bridges and panels connected to it. In order to describe panels properly in DT, pull in dsi-controller.yaml and disallow only unevaluatedProperties, because the panel node is optional. Include example binding with panel. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> --- Cc: Conor Dooley <conor+dt@kernel.org> Cc: David Airlie <airlied@gmail.com> Cc: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Cc: Neil Armstrong <neil.armstrong@linaro.org> Cc: Rob Herring <robh@kernel.org> Cc: Robert Foss <rfoss@kernel.org> Cc: Simona Vetter <simona@ffwll.ch> Cc: Thomas Zimmermann <tzimmermann@suse.de> Cc: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> Cc: devicetree@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linux-renesas-soc@vger.kernel.org --- .../display/bridge/renesas,dsi-csi2-tx.yaml | 53 ++++++++++++++++++- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml index c167795c63f64..f663bc6a6f831 100644 --- a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml +++ b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml @@ -14,6 +14,9 @@ description: | R-Car Gen4 SoCs. The encoder can operate in either DSI or CSI-2 mode, with up to four data lanes. +allOf: + - $ref: /schemas/display/dsi-controller.yaml# + properties: compatible: enum: @@ -80,14 +83,14 @@ required: - resets - ports -additionalProperties: false +unevaluatedProperties: false examples: - | #include <dt-bindings/clock/r8a779a0-cpg-mssr.h> #include <dt-bindings/power/r8a779a0-sysc.h> - dsi0: dsi-encoder@fed80000 { + dsi0: dsi@fed80000 { compatible = "renesas,r8a779a0-dsi-csi2-tx"; reg = <0xfed80000 0x10000>; power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; @@ -117,4 +120,50 @@ examples: }; }; }; + + - | + #include <dt-bindings/clock/r8a779g0-cpg-mssr.h> + #include <dt-bindings/power/r8a779g0-sysc.h> + + dsi1: dsi@fed80000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,r8a779g0-dsi-csi2-tx"; + reg = <0xfed80000 0x10000>; + clocks = <&cpg CPG_MOD 415>, + <&cpg CPG_CORE R8A779G0_CLK_DSIEXT>, + <&cpg CPG_CORE R8A779G0_CLK_DSIREF>; + clock-names = "fck", "dsi", "pll"; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 415>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + }; + + port@1 { + reg = <1>; + + dsi0port1_out: endpoint { + remote-endpoint = <&panel_in>; + data-lanes = <1 2>; + }; + }; + }; + + panel@0 { + reg = <0>; + compatible = "raspberrypi,dsi-7inch"; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi0port1_out>; + }; + }; + }; + }; ... -- 2.50.1 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 4/4] dt-bindings: display: bridge: renesas, dsi-csi2-tx: Allow panel@ subnode 2025-09-04 20:03 ` [PATCH 4/4] dt-bindings: display: bridge: renesas,dsi-csi2-tx: Allow panel@ subnode Marek Vasut @ 2025-09-04 20:23 ` Dmitry Baryshkov 2025-09-04 21:03 ` Marek Vasut 0 siblings, 1 reply; 6+ messages in thread From: Dmitry Baryshkov @ 2025-09-04 20:23 UTC (permalink / raw) To: Marek Vasut Cc: linux-arm-kernel, Conor Dooley, David Airlie, Geert Uytterhoeven, Kieran Bingham, Krzysztof Kozlowski, Laurent Pinchart, Neil Armstrong, Rob Herring, Robert Foss, Simona Vetter, Thomas Zimmermann, Tomi Valkeinen, devicetree, dri-devel, linux-renesas-soc On Thu, Sep 04, 2025 at 10:03:08PM +0200, Marek Vasut wrote: > This controller can have both bridges and panels connected to it. In > order to describe panels properly in DT, pull in dsi-controller.yaml > and disallow only unevaluatedProperties, because the panel node is > optional. Include example binding with panel. > > Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> > --- > Cc: Conor Dooley <conor+dt@kernel.org> > Cc: David Airlie <airlied@gmail.com> > Cc: Geert Uytterhoeven <geert+renesas@glider.be> > Cc: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> > Cc: Krzysztof Kozlowski <krzk+dt@kernel.org> > Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> > Cc: Neil Armstrong <neil.armstrong@linaro.org> > Cc: Rob Herring <robh@kernel.org> > Cc: Robert Foss <rfoss@kernel.org> > Cc: Simona Vetter <simona@ffwll.ch> > Cc: Thomas Zimmermann <tzimmermann@suse.de> > Cc: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> > Cc: devicetree@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-renesas-soc@vger.kernel.org > --- > .../display/bridge/renesas,dsi-csi2-tx.yaml | 53 ++++++++++++++++++- > 1 file changed, 51 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > index c167795c63f64..f663bc6a6f831 100644 > --- a/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.yaml > @@ -14,6 +14,9 @@ description: | > R-Car Gen4 SoCs. The encoder can operate in either DSI or CSI-2 mode, with up > to four data lanes. > > +allOf: > + - $ref: /schemas/display/dsi-controller.yaml# > + > properties: > compatible: > enum: > @@ -80,14 +83,14 @@ required: > - resets > - ports > > -additionalProperties: false > +unevaluatedProperties: false > > examples: > - | > #include <dt-bindings/clock/r8a779a0-cpg-mssr.h> > #include <dt-bindings/power/r8a779a0-sysc.h> > > - dsi0: dsi-encoder@fed80000 { > + dsi0: dsi@fed80000 { As you are touching this, you can drop the label too. > compatible = "renesas,r8a779a0-dsi-csi2-tx"; > reg = <0xfed80000 0x10000>; > power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; > @@ -117,4 +120,50 @@ examples: > }; > }; > }; > + > + - | > + #include <dt-bindings/clock/r8a779g0-cpg-mssr.h> > + #include <dt-bindings/power/r8a779g0-sysc.h> > + > + dsi1: dsi@fed80000 { No need for the label (dsi1:) > + #address-cells = <1>; > + #size-cells = <0>; > + compatible = "renesas,r8a779g0-dsi-csi2-tx"; > + reg = <0xfed80000 0x10000>; > + clocks = <&cpg CPG_MOD 415>, > + <&cpg CPG_CORE R8A779G0_CLK_DSIEXT>, > + <&cpg CPG_CORE R8A779G0_CLK_DSIREF>; > + clock-names = "fck", "dsi", "pll"; > + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; > + resets = <&cpg 415>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + }; > + > + port@1 { > + reg = <1>; > + > + dsi0port1_out: endpoint { > + remote-endpoint = <&panel_in>; > + data-lanes = <1 2>; > + }; > + }; > + }; > + > + panel@0 { > + reg = <0>; > + compatible = "raspberrypi,dsi-7inch"; > + > + port { > + panel_in: endpoint { > + remote-endpoint = <&dsi0port1_out>; > + }; > + }; > + }; > + }; > ... > -- > 2.50.1 > -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 4/4] dt-bindings: display: bridge: renesas, dsi-csi2-tx: Allow panel@ subnode 2025-09-04 20:23 ` [PATCH 4/4] dt-bindings: display: bridge: renesas, dsi-csi2-tx: " Dmitry Baryshkov @ 2025-09-04 21:03 ` Marek Vasut 0 siblings, 0 replies; 6+ messages in thread From: Marek Vasut @ 2025-09-04 21:03 UTC (permalink / raw) To: Dmitry Baryshkov, Marek Vasut Cc: linux-arm-kernel, Conor Dooley, David Airlie, Geert Uytterhoeven, Kieran Bingham, Krzysztof Kozlowski, Laurent Pinchart, Neil Armstrong, Rob Herring, Robert Foss, Simona Vetter, Thomas Zimmermann, Tomi Valkeinen, devicetree, dri-devel, linux-renesas-soc On 9/4/25 10:23 PM, Dmitry Baryshkov wrote: [...] >> @@ -80,14 +83,14 @@ required: >> - resets >> - ports >> >> -additionalProperties: false >> +unevaluatedProperties: false >> >> examples: >> - | >> #include <dt-bindings/clock/r8a779a0-cpg-mssr.h> >> #include <dt-bindings/power/r8a779a0-sysc.h> >> >> - dsi0: dsi-encoder@fed80000 { >> + dsi0: dsi@fed80000 { > > As you are touching this, you can drop the label too. > >> compatible = "renesas,r8a779a0-dsi-csi2-tx"; >> reg = <0xfed80000 0x10000>; >> power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; >> @@ -117,4 +120,50 @@ examples: >> }; >> }; >> }; >> + >> + - | >> + #include <dt-bindings/clock/r8a779g0-cpg-mssr.h> >> + #include <dt-bindings/power/r8a779g0-sysc.h> >> + >> + dsi1: dsi@fed80000 { > > No need for the label (dsi1:) Both fixed in V2, thanks. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-09-04 21:03 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-09-04 20:03 [PATCH 1/4] arm64: dts: renesas: r8a779a0: Rename dsi-encoder@ to dsi@ Marek Vasut 2025-09-04 20:03 ` [PATCH 2/4] arm64: dts: renesas: r8a779g0: " Marek Vasut 2025-09-04 20:03 ` [PATCH 3/4] arm64: dts: renesas: r8a779h0: " Marek Vasut 2025-09-04 20:03 ` [PATCH 4/4] dt-bindings: display: bridge: renesas,dsi-csi2-tx: Allow panel@ subnode Marek Vasut 2025-09-04 20:23 ` [PATCH 4/4] dt-bindings: display: bridge: renesas, dsi-csi2-tx: " Dmitry Baryshkov 2025-09-04 21:03 ` Marek Vasut
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).