2019-11-21 16:16:56

by Amelie Delaunay

[permalink] [raw]
Subject: [PATCH 5/5] ARM: dts: stm32: add phy-names to usbotg_hs on stm32mp157c-ev1

phy-names is required by usbotg_hs driver to get the phy, otherwise, it
considers that there is no phys property.

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

diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
index 2010f6292a77..228e35e16884 100644
--- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
@@ -355,6 +355,7 @@
&usbotg_hs {
dr_mode = "peripheral";
phys = <&usbphyc_port1 0>;
+ phy-names = "usb2-phy";
status = "okay";
};

--
2.17.1


2019-12-09 14:45:28

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH 5/5] ARM: dts: stm32: add phy-names to usbotg_hs on stm32mp157c-ev1

Hi Amélie,

On 11/21/19 5:12 PM, Amelie Delaunay wrote:
> phy-names is required by usbotg_hs driver to get the phy, otherwise, it
> considers that there is no phys property.
>
> Signed-off-by: Amelie Delaunay <[email protected]>
> ---
> arch/arm/boot/dts/stm32mp157c-ev1.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
> index 2010f6292a77..228e35e16884 100644
> --- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
> +++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
> @@ -355,6 +355,7 @@
> &usbotg_hs {
> dr_mode = "peripheral";
> phys = <&usbphyc_port1 0>;
> + phy-names = "usb2-phy";
> status = "okay";
> };
>
>


Series applied on stm32-next.

Note: due to new STM32 diversity I renamed some patches.

Regards
Alex