mbox series

[0/5] USB support on stm32mp157 boards

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

Message

Amelie Delaunay Nov. 21, 2019, 4:11 p.m. UTC
This patchset adds support for USB (Host and OTG) on stm32mp157a-dk1.
USB OTG HS is forced in Peripheral mode.
This patchset also fixes USB on stm32mp157c-ev1: USB PHYS supplies were missing
(CONFIG_REGULATOR_STM32_PWR) and usbotg_hs node requires phy-names property to
get the phy.

Amelie Delaunay (5):
  ARM: multi_v7_defconfig: enable STM32 PWR regulator
  ARM: dts: stm32: enable USBPHYC on stm32mp157a-dk1
  ARM: dts: stm32: enable USB Host (USBH) EHCI controller on
    stm32mp157a-dk1
  ARM: dts: stm32: enable USB OTG HS on stm32mp157a-dk1
  ARM: dts: stm32: add phy-names to usbotg_hs on stm32mp157c-ev1

 arch/arm/boot/dts/stm32mp157a-dk1.dts | 28 +++++++++++++++++++++++++++
 arch/arm/boot/dts/stm32mp157c-ev1.dts |  1 +
 arch/arm/configs/multi_v7_defconfig   |  1 +
 3 files changed, 30 insertions(+)

Comments

Aurelien Jarno Dec. 5, 2019, 10:29 p.m. UTC | #1
On 2019-11-21 17:11, Amelie Delaunay wrote:
> This patchset adds support for USB (Host and OTG) on stm32mp157a-dk1.
> USB OTG HS is forced in Peripheral mode.
> This patchset also fixes USB on stm32mp157c-ev1: USB PHYS supplies were missing
> (CONFIG_REGULATOR_STM32_PWR) and usbotg_hs node requires phy-names property to
> get the phy.
> 
> Amelie Delaunay (5):
>   ARM: multi_v7_defconfig: enable STM32 PWR regulator
>   ARM: dts: stm32: enable USBPHYC on stm32mp157a-dk1
>   ARM: dts: stm32: enable USB Host (USBH) EHCI controller on
>     stm32mp157a-dk1
>   ARM: dts: stm32: enable USB OTG HS on stm32mp157a-dk1
>   ARM: dts: stm32: add phy-names to usbotg_hs on stm32mp157c-ev1
> 
>  arch/arm/boot/dts/stm32mp157a-dk1.dts | 28 +++++++++++++++++++++++++++
>  arch/arm/boot/dts/stm32mp157c-ev1.dts |  1 +
>  arch/arm/configs/multi_v7_defconfig   |  1 +
>  3 files changed, 30 insertions(+)

I tested the series on a stm32mp157c-dk2.

Tested-by: Aurelien Jarno <aurelien@aurel32.net>