[PATCH v2 0/4] Add ext. port vbus handling for onboard-dev
From: Marco Felsch
Date: Thu Mar 27 2025 - 13:29:55 EST
Hi,
this small series is the successor of [1]. The intend of this series is
to make it possible to switch the vbus of the downstream ports of an
onboard-dev hub via ext. regulators controlled via the host.
The approach from v1 was not sufficient since it caused compile errors.
We indentified the issue and went with idea-3 [2] to fix this.
Regards,
Marco
[1] https://lore.kernel.org/all/20240807-b4-v6-10-topic-usb-onboard-dev-v1-0-f33ce21353c9@xxxxxxxxxxxxxx/
[2] https://lore.kernel.org/all/wtvhsdo2zefehkgfcp2cfdl2uht4lcrytyjyhwjhnpcyvx4kd2@iurrw554aegh/
Marco Felsch (4):
usb: port: track the disabled state
usb: hub: add infrastructure to pass onboard_dev port features
dt-bindings: usb: microchip,usb2514: add support for port vbus-supply
usb: misc: onboard_dev: add ext-vbus-supply handling
.../bindings/usb/microchip,usb2514.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 | 95 +++++++++++++++++++
drivers/usb/misc/onboard_usb_dev.h | 3 +
include/linux/usb.h | 3 +
7 files changed, 170 insertions(+), 2 deletions(-)
--
2.39.5