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

2024-02-01 Thread Yang Xiwen

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.


--
Regards,
Yang Xiwen



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

2024-02-01 Thread Marek Vasut

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 ?



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

2024-02-01 Thread Yang Xiwen via B4 Relay
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 
---
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,
-- 
Yang Xiwen