2022-09-30 15:08:13

by Fabrice Gasnier

[permalink] [raw]
Subject: [PATCH] ARM: dts: stm32: update vbus-supply of usbphyc_port0 on stm32mp157c-ev1

From: Amelie Delaunay <[email protected]>

phy-stm32-usbphyc bindings uses a connector node with vbus-supply
property.

Signed-off-by: Amelie Delaunay <[email protected]>
Signed-off-by: Fabrice Gasnier <[email protected]>
---
arch/arm/boot/dts/stm32mp157c-ev1.dts | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
index d142dd30e16b..e22e394832a8 100644
--- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
@@ -385,6 +385,11 @@ &usbphyc_port0 {
st,tune-squelch-level = <3>;
st,tune-hs-rx-offset = <2>;
st,no-lsfs-sc;
+
+ connector {
+ compatible = "usb-a-connector";
+ vbus-supply = <&vbus_sw>;
+ };
};

&usbphyc_port1 {
--
2.25.1


2022-10-24 08:49:01

by Alexandre TORGUE

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: stm32: update vbus-supply of usbphyc_port0 on stm32mp157c-ev1

Hi Fabrice

On 9/30/22 17:02, Fabrice Gasnier wrote:
> From: Amelie Delaunay <[email protected]>
>
> phy-stm32-usbphyc bindings uses a connector node with vbus-supply
> property.
>
> Signed-off-by: Amelie Delaunay <[email protected]>
> Signed-off-by: Fabrice Gasnier <[email protected]>
> ---
> arch/arm/boot/dts/stm32mp157c-ev1.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
> index d142dd30e16b..e22e394832a8 100644
> --- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
> +++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
> @@ -385,6 +385,11 @@ &usbphyc_port0 {
> st,tune-squelch-level = <3>;
> st,tune-hs-rx-offset = <2>;
> st,no-lsfs-sc;
> +
> + connector {
> + compatible = "usb-a-connector";
> + vbus-supply = <&vbus_sw>;
> + };
> };
>
> &usbphyc_port1 {

Applied on stm32-next.

Thanks
Alex