[PATCH v5 1/9] dt-bindings: reset: renesas,rzg2l-usbphy-ctrl: Document RZ/G3L support
Biju <[email protected]> Wed, 29 Jul 2026 12:50:09 +0100
| Newsgroups | org.kernel.vger.linux-renesas-soc,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
From: Biju Das <[email protected]> Document Renesas RZ/G3L (r9a08g046) USB PHY controller bindings. The RZ/G3L USB PHY block is similar to RZ/G3S but differs in that each port has its own OTG controller, whereas RZ/G3S only has one on port 1. To reflect this, RZ/G3L uses a regulators sub-node with per-port vbus0 and vbus1 entries instead of the single regulator-vbus property used by other compatible SoCs. Signed-off-by: Biju Das <[email protected]> --- v4->v5: * Dropped renesas,sysc-pwrrdy for RZ/G3L as pwrrdy signal is modelled as power sequence. * Dropped the tag from Conor due to above change . v3->v4: * No change. v2->v3: * Replaced items->enum * Collected tag. v1->v2: * Updated commit description. * Added enum instead of const in the compatible section. * Dropped regulator1-vbus and added a regulators group node. * Updated schema check. --- .../reset/renesas,rzg2l-usbphy-ctrl.yaml | 40 ++++++++++++++++++- 1 file changed, 39 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..9e0c45097657 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 reg: maxItems: 1 @@ -50,6 +51,28 @@ properties: $ref: /schemas/regulator/regulator.yaml# unevaluatedProperties: false + regulators: + type: object + description: + list of vbus regulators provided by this controller. + + properties: + vbus0: + type: object + description: Port 1 USB VBUS regulator + $ref: /schemas/regulator/regulator.yaml# + unevaluatedProperties: false + + vbus1: + type: object + description: Port 2 USB VBUS regulator + $ref: /schemas/regulator/regulator.yaml# + unevaluatedProperties: false + + required: + - vbus0 + - vbus1 + renesas,sysc-pwrrdy: description: The system controller PWRRDY indicates to the USB PHY if the power supply @@ -71,7 +94,6 @@ required: - resets - power-domains - '#reset-cells' - - regulator-vbus allOf: - if: @@ -86,6 +108,22 @@ allOf: properties: renesas,sysc-pwrrdy: false + - if: + properties: + compatible: + contains: + const: renesas,r9a08g046-usbphy-ctrl + then: + properties: + regulator-vbus: false + required: + - regulators + else: + properties: + regulators: false + required: + - regulator-vbus + additionalProperties: false examples: -- 2.43.0