Message ID | 20240201-ehci-v1-0-bb506cb0f64d@outlook.com |
---|---|
Headers | show |
Series | usb: ehci-generic: setup a bulk of phy when possible | expand |
On 2/1/24 14:16, Yang Xiwen via B4 Relay wrote: > one USB controller can have multiple ports specified in dts, all of them > should be setup to make use of all possible ports. Is there an example of such a system ?
On 2/1/2024 10:07 PM, Marek Vasut wrote: > On 2/1/24 14:16, Yang Xiwen via B4 Relay wrote: >> one USB controller can have multiple ports specified in dts, all of them >> should be setup to make use of all possible ports. > > Is there an example of such a system ? > I'm going to send one, but not now because of some stuck patches. Running `grep 'phys = <.*>, <.*>' arch/arm/dts/*.dtsi` in the dts directory gives us some existing examples, though not very much.
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@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 | 33 +++++++++++++++++++++++++++++++++ drivers/usb/host/ehci-generic.c | 8 ++++---- include/generic-phy.h | 29 +++++++++++++++++++++++++++++ test/dm/phy.c | 4 ++++ 4 files changed, 70 insertions(+), 4 deletions(-) --- base-commit: b6d8969bcb94321dfed1399f2eaa8768ba42caaa change-id: 20240201-ehci-6c3aa7d97932 Best regards,