[PATCH v4 0/5] Add onboard-dev USB hub host managed vbus handling support

Marco Felsch
2025-09-11T20:22:56Z

Hi,

the whole purpose of this series is to make it possible to control the
USB VBUS regulators of an USB hub via host managed regulators.

Regards,
Marco

---
Changes in v4:
- dt-bindings: change to vbus-supply and shift doc to usb-device.yaml
- onboard_dev: make use of new regulator API to parse child device
regulators.
- onboard_dev: drop hard coded downstream port number and make it more
dynamic
- onboard_dev: drop limiting support to SMSC hubs
- Link to v3: https://lore.kernel.org/r/20250821-v6-16-topic-usb-onboard-dev-v3-0-6d2b38a5d818@pengutronix.de

Changes in v3:
- fix dt-bindings issues
- Link to v2: https://lore.kernel.org/all/20250327172803.3404615-1-m.felsch@pengutronix.de/

Changes in v2:
- fix compile time errors in case the module builds
- Link to v1: https://lore.kernel.org/all/20240807-b4-v6-10-topic-usb-onboard-dev-v1-0-f33ce21353c9@pengutronix.de/

---
Marco Felsch (5):
usb: port: track the disabled state
usb: hub: add infrastructure to pass onboard_dev port features
dt-bindings: usb: usb-device: add usb hub port vbus-supply suppport
dt-bindings: usb: microchip,usb2514: add vbus-supply example
usb: misc: onboard_dev: add hub downstream port host vbus-supply handling

.../devicetree/bindings/usb/microchip,usb2514.yaml | 7 ++
.../devicetree/bindings/usb/usb-device.yaml | 6 ++
drivers/usb/core/hub.c | 55 +++++++++-
drivers/usb/core/hub.h | 4 +
drivers/usb/core/port.c | 6 ++
drivers/usb/misc/onboard_usb_dev.c | 117 +++++++++++++++++++++
include/linux/usb.h | 3 +
7 files changed, 196 insertions(+), 2 deletions(-)
---
base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f
change-id: 20250821-v6-16-topic-usb-onboard-dev-b8d4d1d8a086

Best regards,
--
Marco Felsch <m.felsch@pengutronix.de>