RE: [PATCH v4 3/4] power: sequencing: Add Renesas RZ/G3L Power Ready driver

From: Biju Das

Date: Mon Aug 24 2026 - 11:30:43 EST


Hi Geert,

Thanks for the feedback.

> -----Original Message-----
> From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Sent: 24 August 2026 15:47
> Subject: Re: [PATCH v4 3/4] power: sequencing: Add Renesas RZ/G3L Power Ready driver
>
> Hi Biju,
>
> On Wed, 19 Aug 2026 at 21:13, Biju <biju.das.au@xxxxxxxxx> wrote:
> > From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> >
> > Add a power sequencing driver for the Renesas RZ/G3L PWRRDY module,
> > which signals power readiness for various IPs (USB, DSI, CSI etc.) on
> > the SoC. The driver binds as an auxiliary device to the parent SYSC
> > driver, using its regmap to toggle the SYS_PWRRDY_N register bits, and
> > exposes {usb,dsi,csi}-pwrrdy pwrseq targets.
> >
> > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> > ---
> > v3->v4:
> > * Replace the large of_device_id structures by C strings, and
> > using of_device_is_compatible() will reduce kernel size.
> > * Replaced of_device.h -> of.h
> > * Dropped local variable pwrseq from pwrseq_rzg3l_pwrrdy_probe().
>
> Thanks for the update!
>
> > --- /dev/null
> > +++ b/drivers/power/sequencing/pwrseq-renesas-pwrrdy.c
>
> > +static int pwrseq_rzg3l_pwrrdy_match(struct pwrseq_device *pwrseq,
> > + struct device *dev) {
> > + if (of_device_is_compatible(dev->of_node, "renesas,r9a08g046-usbphy-ctrl") ||
> > + of_device_is_compatible(dev->of_node, "renesas,r9a08g046-mipi-dsi"))
> > + return PWRSEQ_MATCH_OK;
>
> Nit: of_device_compatible_match() handled multiple entries.
>
> Sorry, my fault, I accidentally copied and paste the wrong function name in my review of v3.

Ok, will switch to of_device_compatible_match().

Cheers,
Biju