[PATCH v2 0/3] usb: ehci-generic: setup a bulk of phy when possible

Yang Xiwen via B4 Relay devnull+forbidden405.outlook.com at kernel.org
Wed Feb 7 18:19:19 CET 2024


one USB controller can have multiple ports specified in dts, all of them
should be setup to make use of all possible ports.

Signed-off-by: Yang Xiwen <forbidden405 at outlook.com>
---
Changes in v2:
- Rewrite generic_phy_setup_bulk(): Actually v1 is doing things
  completely wrong. This series should work and it's tested on a real
  machine.
- Link to v1: https://lore.kernel.org/r/20240201-ehci-v1-0-bb506cb0f64d@outlook.com

---
Yang Xiwen (3):
      phy: add generic_setup(shutdown)_phy_bulk()
      test: phy: test generic_setup(shutdown)_phy_bulk()
      usb: ehci: Make usage of generic_{setup,shutdown}_phy_bulk() helpers

 drivers/phy/phy-uclass.c        | 41 +++++++++++++++++++++++++++++++++++++++++
 drivers/usb/host/ehci-generic.c |  8 ++++----
 include/generic-phy.h           | 29 +++++++++++++++++++++++++++++
 test/dm/phy.c                   |  4 ++++
 4 files changed, 78 insertions(+), 4 deletions(-)
---
base-commit: b6d8969bcb94321dfed1399f2eaa8768ba42caaa
change-id: 20240201-ehci-6c3aa7d97932

Best regards,
-- 
Yang Xiwen <forbidden405 at outlook.com>



More information about the U-Boot mailing list