[PATCH 0/3] Add support for USB onboard HUB, used on stm32 boards

Fabrice Gasnier fabrice.gasnier at foss.st.com
Mon Dec 12 11:44:34 CET 2022


This series adds a driver to support USB onboard HUB, inspired by Linux
onboard hub driver.

Purpose is to manage the power supply regulator on STM32 boards, for
low power use case in Linux. U-boot driver allows to benefit of the
device tree part to supply the HUB when need, instead using an
always-on regulator.

It aligns the relevant DT part from emerging Linux v6.2. It also adds the
relevant default configuration on stm32mp15.


Fabrice Gasnier (3):
  usb: onboard-hub: add driver to manage onboard hub supplies
  configs: stm32: enable USB onboard HUB driver
  ARM: dts: stm32: add support for USB2514B onboard hub on
    stm32mp157c-ev1

 arch/arm/dts/stm32mp157c-ev1.dts    |  8 ++++
 common/Makefile                     |  1 +
 common/usb_onboard_hub.c            | 62 +++++++++++++++++++++++++++++
 configs/stm32mp15_basic_defconfig   |  1 +
 configs/stm32mp15_defconfig         |  1 +
 configs/stm32mp15_trusted_defconfig |  1 +
 drivers/usb/Kconfig                 | 10 +++++
 drivers/usb/host/usb-uclass.c       | 16 +++++---
 8 files changed, 94 insertions(+), 6 deletions(-)
 create mode 100644 common/usb_onboard_hub.c

-- 
2.25.1



More information about the U-Boot mailing list