Re: [PATCH v3 08/21] dt-bindings: phy: renesas,usb2-phy: Document mux-states property
From: Conor Dooley
Date: Mon Nov 10 2025 - 14:09:22 EST
On Mon, Nov 10, 2025 at 01:08:08PM +0100, Tommaso Merciai wrote:
> Some Renesas SoCs, such as RZ/G3E, provide a USB2.0 OTG PHY with
> configurable VBUS control through a multiplexed hardware register.
> This register allows selecting the VBUS source via a mux control
> line exposed by the PHY.
>
> To represent this hardware configuration, support the standard
> `mux-states` property in the Renesas USB2 PHY binding.
> This allows the DeviceTree to model the VBUS source selection as
> a mux, consistent with generic binding conventions.
>
> Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@xxxxxxxxxxxxxx>
> ---
> v2->v3:
> - Improved commit body.
> - Improved mux-states description.
>
> v1->v2:
> - New patch
>
> Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml b/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml
> index 2cd0efa75f81..448da30757f2 100644
> --- a/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml
> @@ -102,6 +102,11 @@ properties:
>
> dr_mode: true
>
> + mux-states:
> + description:
> + phandle to a mux controller node that select the source for USB VBUS.
> + maxItems: 1
Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
pw-bot: not-applicable
> +
> if:
> properties:
> compatible:
> --
> 2.43.0
>
Attachment:
signature.asc
Description: PGP signature