RE: [PATCH v6 04/10] reset: rzg2l-usbphy-ctrl: Add RZ/G3L support

From: Biju Das

Date: Tue Aug 11 2026 - 03:28:51 EST


Hi Krzysztof Kozlowski,

Thanks for the feedback,

> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> Sent: 11 August 2026 07:52
> Subject: Re: [PATCH v6 04/10] reset: rzg2l-usbphy-ctrl: Add RZ/G3L support
>
> On Thu, Aug 06, 2026 at 11:22:23AM +0100, Biju wrote:
> > struct reg_field field;
> > struct regmap *regmap;
> > @@ -183,7 +200,43 @@ static int rzg2l_usbphy_ctrl_pwrrdy_init(struct device *dev,
> > if (ret)
> > return ret;
> >
> > - return devm_add_action_or_reset(dev, rzg2l_usbphy_ctrl_pwrrdy_off, priv->pwrrdy);
> > + return devm_add_action_or_reset(dev, rzg2l_usbphy_ctrl_pwrrdy_off,
> > +priv); }
> > +
> > +static int rzg2l_usbphy_ctrl_pwrrdy_powerseq_init(struct device *dev,
> > + struct rzg2l_usbphy_ctrl_priv *priv) {
> > + int ret;
> > +
> > + priv->pwrseq = devm_pwrseq_get(dev, "usb-pwrrdy");
>
> `git grep usb-pwrrdy` gave me zero results, so how is this supposed to work if the name does not exist?


You are correct 'usb-pwrrdy' support is not mainlined. It is under review [1]

This path is only available for RZ/G3L SoC and the driver probe will fail without [1]

[1] https://lore.kernel.org/all/20260729093112.98324-3-biju.das.jz@xxxxxxxxxxxxxx/

Cheers,
Biju