From: Neil Armstrong <neil.armstrong@linaro.org>
To: Marek Vasut <marek.vasut+renesas@mailbox.org>,
dri-devel@lists.freedesktop.org
Cc: Conor Dooley <conor+dt@kernel.org>,
David Airlie <airlied@gmail.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
Rob Herring <robh@kernel.org>, Robert Foss <rfoss@kernel.org>,
Simona Vetter <simona@ffwll.ch>,
Thomas Zimmermann <tzimmermann@suse.de>,
Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>,
devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH v2 4/4] dt-bindings: display: bridge: renesas,dsi-csi2-tx: Allow panel@ subnode
Date: Fri, 5 Sep 2025 09:51:40 +0200 [thread overview]
Message-ID: <25d043fa-a600-46df-b1e4-f24f715d9887@linaro.org> (raw)
In-Reply-To: <20250904210147.186728-4-marek.vasut+renesas@mailbox.org>
On 04/09/2025 23:01, 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
> ---
> V2: Drop the dsi0: and dsi1: controller labels
> ---
> .../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..51d685ed82891 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 {
> + 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>
> +
> + 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>;
> + };
> + };
> + };
> + };
> ...
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
next prev parent reply other threads:[~2025-09-05 7:51 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-04 21:01 [PATCH v2 1/4] arm64: dts: renesas: r8a779a0: Rename dsi-encoder@ to dsi@ Marek Vasut
2025-09-04 21:01 ` [PATCH v2 2/4] arm64: dts: renesas: r8a779g0: " Marek Vasut
2025-09-11 14:32 ` Geert Uytterhoeven
2025-09-04 21:01 ` [PATCH v2 3/4] arm64: dts: renesas: r8a779h0: " Marek Vasut
2025-09-11 14:33 ` Geert Uytterhoeven
2025-09-04 21:01 ` [PATCH v2 4/4] dt-bindings: display: bridge: renesas,dsi-csi2-tx: Allow panel@ subnode Marek Vasut
2025-09-05 7:51 ` Neil Armstrong [this message]
2025-09-05 15:02 ` Rob Herring (Arm)
2025-09-05 18:49 ` Marek Vasut
2025-09-08 7:43 ` Tomi Valkeinen
2025-09-08 12:54 ` Marek Vasut
2025-09-16 8:15 ` Marek Vasut
2025-09-19 15:21 ` Tomi Valkeinen
2025-09-19 15:42 ` Marek Vasut
2025-09-19 15:49 ` Tomi Valkeinen
2025-09-19 17:03 ` Tomi Valkeinen
2025-09-19 17:08 ` Marek Vasut
2025-10-15 14:09 ` Marek Vasut
2025-10-22 7:19 ` Tomi Valkeinen
2025-10-22 12:45 ` Marek Vasut
2025-10-29 18:44 ` Rob Herring
2025-10-29 19:14 ` Marek Vasut
2025-09-11 14:31 ` [PATCH v2 1/4] arm64: dts: renesas: r8a779a0: Rename dsi-encoder@ to dsi@ Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25d043fa-a600-46df-b1e4-f24f715d9887@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=geert+renesas@glider.be \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=krzk+dt@kernel.org \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=marek.vasut+renesas@mailbox.org \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tomi.valkeinen+renesas@ideasonboard.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).