[PATCH v2 0/4] Introduce usb-hub.yaml binding and add support for Parade PS5511

Pin-yen Lin
2025-04-15T09:42:36Z

This series introduces usb-hub.yaml for on-board USB hubs, and use it for
the newly-added Parade PS5511 binding and the existing Realtek RTS5411
hub controller.

Also add support for Parade PS5511 in onboard_usb_dev.c

Patch 1 introduces usb-hub.yaml as the bindings for on-board USB hubs
Patch 2 adds the binding for Parade PS5511
Patch 3 modifies realtek,rts5411.yaml to adapt usb-hub.yaml
Patch 4 adds the support for Parade PS5511 in onboard_usb_dev.c

Link to v1: https://lore.kernel.org/all/20250328082950.1473406-1-treapking@chromium.org/

Changes in v2:
- Introduce usb-hub.yaml
- Modify parade,ps5511 and realtek,rts5411 to use usb-hub.yaml
- Minor fixes on parade,ps5511.yaml

Pin-yen Lin (4):
dt-bindings: usb: Introduce usb-hub.yaml
dt-bindings: usb: Add binding for PS5511 hub controller
dt-bindings: usb: realtek,rts5411: Adapt usb-hub.yaml
usb: misc: onboard_usb_dev: Add Parade PS5511 hub support

.../bindings/usb/parade,ps5511.yaml | 115 ++++++++++++++++++
.../bindings/usb/realtek,rts5411.yaml | 47 ++-----
.../devicetree/bindings/usb/usb-hub.yaml | 91 ++++++++++++++
drivers/usb/misc/onboard_usb_dev.c | 3 +
drivers/usb/misc/onboard_usb_dev.h | 9 ++
5 files changed, 231 insertions(+), 34 deletions(-)
create mode 100644 Documentation/devicetree/bindings/usb/parade,ps5511.yaml
create mode 100644 Documentation/devicetree/bindings/usb/usb-hub.yaml

--
2.49.0.777.g153de2bbd5-goog