diff mbox series

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

Message ID 20191121161259.25799-1-amelie.delaunay@st.com (mailing list archive)
State New, archived
Headers show
Series USB support on stm32mp157 boards | expand

Commit Message

Amelie Delaunay Nov. 21, 2019, 4:12 p.m. UTC
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 <amelie.delaunay@st.com>
---
 arch/arm/boot/dts/stm32mp157c-ev1.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Alexandre TORGUE Dec. 9, 2019, 2:43 p.m. UTC | #1
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 <amelie.delaunay@st.com>
> ---
>   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
diff mbox series

Patch

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";
 };