Re: [PATCH 01/11] dt-bindings: reset: renesas,rzg2l-usbphy-ctrl: Document RZ/G3L support

From: Krzysztof Kozlowski

Date: Sat Jun 13 2026 - 06:40:32 EST


On Fri, Jun 12, 2026 at 03:30:29PM +0100, Biju wrote:
> From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
>
> Add device tree binding support for the RZ/G3L (r9a08g046) USB PHY
> controller. The RZ/G3L USB PHY block is similar to RZ/G3S, but each port
> has an OTG controller, unlike RZ/G3S, which has an OTG controller only on
> port 1.
>
> Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> ---
> .../reset/renesas,rzg2l-usbphy-ctrl.yaml | 20 ++++++++++++++++++-
> 1 file changed, 19 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml b/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml
> index c83469a1b379..788e467b38db 100644
> --- a/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml
> +++ b/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml
> @@ -23,6 +23,7 @@ properties:
> - renesas,r9a07g054-usbphy-ctrl # RZ/V2L
> - const: renesas,rzg2l-usbphy-ctrl
> - const: renesas,r9a08g045-usbphy-ctrl # RZ/G3S
> + - const: renesas,r9a08g046-usbphy-ctrl # RZ/G3L

These last two should be just enum, by convention.

>
> reg:
> maxItems: 1
> @@ -50,6 +51,12 @@ properties:
> $ref: /schemas/regulator/regulator.yaml#
> unevaluatedProperties: false
>
> + regulator1-vbus:
> + type: object
> + description: Port 2 USB VBUS regulator
> + $ref: /schemas/regulator/regulator.yaml#
> + unevaluatedProperties: false

Instead group them under 'regulators' node and use names matching the
datasheet.

> +
> renesas,sysc-pwrrdy:
> description:
> The system controller PWRRDY indicates to the USB PHY if the power supply
> @@ -78,7 +85,9 @@ allOf:
> properties:
> compatible:
> contains:
> - const: renesas,r9a08g045-usbphy-ctrl
> + enum:
> + - renesas,r9a08g045-usbphy-ctrl
> + - renesas,r9a08g046-usbphy-ctrl
> then:
> required:
> - renesas,sysc-pwrrdy
> @@ -86,6 +95,15 @@ allOf:
> properties:
> renesas,sysc-pwrrdy: false
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: renesas,r9a08g046-usbphy-ctrl
> + then:
> + required:
> + - regulator1-vbus

else:
properties:
regulators: false

Best regards,
Krzysztof