From: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>
Cc: tomm.merciai@gmail.com, linux-renesas-soc@vger.kernel.org,
biju.das.jz@bp.renesas.com, David Airlie <airlied@gmail.com>,
Simona Vetter <simona@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v8 1/9] dt-bindings: display: renesas,rzg2l-du: Document RZ/G3E SoC
Date: Wed, 2 Sep 2026 16:01:30 +0200 [thread overview]
Message-ID: <apgsOubuGuvw_0rf@tom-desktop> (raw)
In-Reply-To: <20260902-heavenly-ambrosial-trogon-b7ab03@quoll>
Hi Krzysztof,
Thanks for your review.
On Wed, Sep 02, 2026 at 08:37:06AM +0200, Krzysztof Kozlowski wrote:
> On Fri, Aug 28, 2026 at 02:21:04PM +0200, Tommaso Merciai wrote:
> > The RZ/G3E Soc has 2 LCD controller (LCDC), contain a Frame Compression
> > Processor (FCPVD), a Video Signal Processor (VSPD), Video Signal
> > Processor (VSPD), and Display Unit (DU).
> >
> > - LCDC0 supports DSI and LVDS (single or dual-channel) outputs.
> > - LCDC1 supports DSI, LVDS (single-channel), and RGB outputs.
> >
> > Add new SoC-specific compatible string 'renesas,r9a09g047-du'.
> >
> > Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
> > ---
> > v7->v8:
> > - Rebased on top of RZ/G3L du support [1]
> > - Modelled using ports/port instead of port/ep.
> > [1] https://lore.kernel.org/all/20260826174854.199139-1-biju.das.jz@bp.renesas.com/
> > - Improved commit msg and commit body.
> >
> > v6->v7:
> > - Rebased on top of [1]
> > [1] https://lore.kernel.org/all/20260429170012.366537-1-prabhakar.mahadev-lad.rj@bp.renesas.com/
> > - Use single DRM device aggregating both DU instances (1 DU dt node),
> > modelling single port for each DU0, DU1 and multiple endpoints for
> > outputs.
> >
> > v5->v6:
> > - Extend patternProperties from "^port@[0-1]$" to "^port@[0-3]$" and
> > explicitly disable port@2 and port@3 for existing SoCs that do not expose
> > them.
> > - Reworked ports numbering + improved/fixed ports descriptions in the
> > bindings documentation.
> > - Improved commit body.
> >
> > v4->v5:
> > - Dropped renesas,id property and updated bindings
> > accordingly.
> >
> > v2->v3:
> > - No changes.
> >
> > v2->v3:
> > - No changes.
> >
> > v1->v2:
> > - Use single compatible string instead of multiple compatible strings
> > for the two DU instances, leveraging a 'renesas,id' property to
> > differentiate between DU0 and DU1.
> > - Updated commit message accordingly.
> >
> > .../bindings/display/renesas,rzg2l-du.yaml | 95 ++++++++++++++++++-
> > 1 file changed, 91 insertions(+), 4 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml
> > index 5c9b15a09dee..d44c7c0add8d 100644
> > --- a/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml
> > +++ b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml
> > @@ -21,6 +21,7 @@ properties:
> > - renesas,r9a07g043u-du # RZ/G2UL
> > - renesas,r9a07g044-du # RZ/G2{L,LC}
> > - renesas,r9a08g046-du # RZ/G3L
> > + - renesas,r9a09g047-du # RZ/G3E
> > - renesas,r9a09g057-du # RZ/V2H(P)
> > - renesas,r9a09g077-du # RZ/T2H
> > - items:
> > @@ -35,25 +36,51 @@ properties:
> > - const: renesas,r9a09g077-du # RZ/T2H fallback
> >
> > reg:
> > - maxItems: 1
> > + minItems: 1
> > + maxItems: 2
> > +
> > + reg-names:
> > + items:
> > + - const: du.0
> > + - const: du.1
>
> du is the name of the device, thus calling items "0" and "1" is pretty
> pointless - indices already define that. Please drop the reg-names.
Will drop this in v8.
>
> >
> > interrupts:
> > - maxItems: 1
> > + minItems: 1
> > + maxItems: 2
> > +
> > + interrupt-names:
> > + items:
> > + - const: du.0
> > + - const: du.1
>
> Same here
Same, thanks.
>
> >
> > clocks:
> > + minItems: 3
> > items:
> > - description: Main clock
> > - description: Register access clock
> > - description: Video clock
> > + - description: Main clock for DU1
> > + - description: Register access clock for DU1
> > + - description: Video clock for DU1
> >
> > clock-names:
> > + minItems: 3
> > items:
> > - const: aclk
> > - const: pclk
> > - const: vclk
> > + - const: aclk1
> > + - const: pclk1
> > + - const: vclk1
> >
> > resets:
> > - maxItems: 1
> > + minItems: 1
> > + maxItems: 2
> > +
> > + reset-names:
> > + items:
> > + - const: resetn
> > + - const: resetn1
>
> Drop reset-names
For reset-names, I got the the following comment from Philipp in v7 [1].
Dropping reset-names would force the driver back to an index-based
lookup, which is what that comment explicitly asked me to avoid.
[1] https://lore.kernel.org/all/8382e2b9fd07fb1132c26e228b3899336fc1fdd4.camel@pengutronix.de/
Philipp, Krzysztof, could you agree on which way you'd prefer?
I'll follow whatever you decide.
Kind regards,
Tommaso
>
> >
> > power-domains:
> > maxItems: 1
> > @@ -66,7 +93,7 @@ properties:
> > model-dependent. Each port shall have a single endpoint.
> >
> > patternProperties:
> > - "^port@[0-2]$":
> > + "^port@[0-3]$":
> > $ref: /schemas/graph.yaml#/properties/port
> > unevaluatedProperties: false
> >
> > @@ -110,6 +137,7 @@ allOf:
> > description: DPI
> > port@1: false
> > port@2: false
> > + port@3: false
>
> Best regards,
> Krzysztof
>
next prev parent reply other threads:[~2026-09-02 14:03 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-28 12:21 [PATCH v8 0/9] drm: renesas: rz-du: Add RZ/G3E support Tommaso Merciai
2026-08-28 12:21 ` [PATCH v8 1/9] dt-bindings: display: renesas,rzg2l-du: Document RZ/G3E SoC Tommaso Merciai
2026-09-02 6:37 ` Krzysztof Kozlowski
2026-09-02 14:01 ` Tommaso Merciai [this message]
2026-09-02 14:20 ` Geert Uytterhoeven
2026-09-02 15:11 ` Tommaso Merciai
2026-09-03 8:17 ` Philipp Zabel
2026-09-03 8:28 ` Krzysztof Kozlowski
2026-09-03 11:01 ` Tommaso Merciai
2026-09-03 11:44 ` Geert Uytterhoeven
2026-08-28 12:21 ` [PATCH v8 2/9] drm: renesas: rz-du: Move mmio from rzg2l_du_device to rzg2l_du_crtc Tommaso Merciai
2026-08-28 12:21 ` [PATCH v8 3/9] drm: renesas: rz-du: crtc: Parameterize rzg2l_du_crtc_create() Tommaso Merciai
2026-08-28 12:21 ` [PATCH v8 4/9] drm: renesas: rz-du: vsp: Keep the planes in the VSP Tommaso Merciai
2026-08-28 12:21 ` [PATCH v8 5/9] drm: renesas: rz-du: kms: Enable multi CRTC creation Tommaso Merciai
2026-08-28 12:21 ` [PATCH v8 6/9] drm: renesas: rz-du: crtc: Support per-channel named resources Tommaso Merciai
2026-08-28 12:21 ` [PATCH v8 7/9] drm: renesas: rz-du: Rename possible_outputs to possible_crtcs Tommaso Merciai
2026-08-28 12:21 ` [PATCH v8 8/9] drm: renesas: rz-du: Add RZ/G3E (R9A09G047) DU support Tommaso Merciai
2026-08-28 12:21 ` [PATCH v8 9/9] arm64: dts: renesas: r9a09g047: Add DU node Tommaso Merciai
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=apgsOubuGuvw_0rf@tom-desktop \
--to=tommaso.merciai.xr@bp.renesas.com \
--cc=airlied@gmail.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=geert+renesas@glider.be \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=magnus.damm@gmail.com \
--cc=mripard@kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tomm.merciai@gmail.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