Re: [PATCH v4 0/2] arm: dts: rockchip: rk3399: usb: ehci: Fix EHCI probe in rk3399 to access peripherals by USB 2.

2023-02-27 Thread Xavier Drudis Ferran
El Sun, Feb 19, 2023 at 08:48:57PM +0100, Christoph Fritz deia: > > I have tested both of your patches on an rk3399: > > without patches applied: > > | starting USB... > | Bus usb@fe38: ehci_generic usb@fe38: Failed to get clocks > (ret=-19) > | Port not available. > > with patch

Re: [PATCH v4 0/2] arm: dts: rockchip: rk3399: usb: ehci: Fix EHCI probe in rk3399 to access peripherals by USB 2.

2023-02-19 Thread Christoph Fritz
Hello Xavier > The first patch in the series (identical to v3) just registers usb2phy > as a clock driver (device_bind_driver() didn't work but > device_bind_driver_to_node() did), without any specific operations, so > that ehci-generic.c finds it and is happy. It worked in my tests on a > Rock Pi

Re: [PATCH v4 0/2] arm: dts: rockchip: rk3399: usb: ehci: Fix EHCI probe in rk3399 to access peripherals by USB 2.

2022-12-15 Thread Marek Vasut
On 12/9/22 16:39, Xavier Drudis Ferran wrote: arch/arm/dts/rk3399.dtsi has a node usb_host0_ehci: usb@fe38 { compatible = "generic-ehci"; with clocks: clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>, <&u2phy0>; The first 2 refer to nodes with class UC

Re: [PATCH v4 0/2] arm: dts: rockchip: rk3399: usb: ehci: Fix EHCI probe in rk3399 to access peripherals by USB 2.

2022-12-09 Thread Xavier Drudis Ferran
arch/arm/dts/rk3399.dtsi has a node usb_host0_ehci: usb@fe38 { compatible = "generic-ehci"; with clocks: clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST0_ARB>, <&u2phy0>; The first 2 refer to nodes with class UCLASS_CLK, but &u2phy0 has class UCLASS_PHY. u2phy