Cleanup and fix for NanoPC-T6 Plus
Subsystems (3)
cover Cleanup and fix for NanoPC-T6 Plus
Several nodes were enabled/configured when support for the NanoPC-T6 Plus was added, but later those same nodes got enabled/configured in the dtsi file, making those in the dts file superfluous, so remove them.
The MTT USB 2.0 Hub is connected to USB20 HOST1, so the phy-supply belongs to u2phy3_host, not u2phy2_host as that is for USB20 HOST0.
Diederik de Haas (2):
arm64: dts: rockchip: Drop duplicate USB nodes on NanoPC-T6 LTS
arm64: dts: rockchip: Fix USB hub phy-supply config for NanoPC-T6 LTS
.../dts/rockchip/rk3588-nanopc-t6-lts.dts | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-)
Signature · 1 line
2.53.0
PATCH 1/2 arm64: dts: rockchip: Drop duplicate USB nodes on NanoPC-T6 LTS
Several USB nodes were enabled/configured on the NanoPC-T6 LTS first. Then those same nodes were enabled/configured in the NanoPC-T6 dtsi file, but the ones in the LTS dts file were not removed, so do so now.
--- .../boot/dts/rockchip/rk3588-nanopc-t6-lts.dts | 17 ----------------- 1 file changed, 17 deletions(-)
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6-lts.dts +0 -17
@@ -38,23 +38,6 @@ usb20_host_pwren: usb20-host-pwren { }; }; -&u2phy1 { - status = "okay"; -}; - -&u2phy1_otg { - status = "okay"; -}; - &u2phy2_host { phy-supply = <&vcc5v0_usb20_host>; }; - -&usbdp_phy1 { - status = "okay"; -}; - -&usb_host1_xhci { - dr_mode = "host"; - status = "okay"; -};
Signature · 1 line
2.53.0
PATCH 2/2 arm64: dts: rockchip: Fix USB hub phy-supply config for NanoPC-T6 LTS
In reply to Diederik de HaasThe MTT USB 2.0 hub is connected to the SoC's USB20 HOST1, so the phy-supply belongs to u2phy3_host, not u2phy2_host as that is for USB20 HOST0.
--- arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6-lts.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6-lts.dts +1 -1
@@ -38,6 +38,6 @@ usb20_host_pwren: usb20-host-pwren { }; }; -&u2phy2_host { +&u2phy3_host { phy-supply = <&vcc5v0_usb20_host>; };
Signature · 1 line
2.53.0
Re: [PATCH 2/2] arm64: dts: rockchip: Fix USB hub phy-supply config for NanoPC-T6 LTS
Quoted 15 lines · Diederik de Haas
The MTT USB 2.0 hub is connected to the SoC's USB20 HOST1, so the phy-supply belongs to
u2phy3_host, notu2phy2_hostas that is for USB20 HOST0.Fixes db1dcbe5f752 ("arm64: dts: rockchip: add NanoPC-T6 LTS")Signed-off-by Diederik de Haas <[email protected]>--- arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6-lts.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6-lts.dts +0
-0
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6-lts.dts usb20_host_pwren: usb20-host-pwren { · line 43
Quoted 7 lines
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6-lts.dts +1
-1@@ -38,6 +38,6 @@ usb20_host_pwren: usb20-host-pwren { }; }; -&u2phy2_host { +&u2phy3_host { phy-supply = <&vcc5v0_usb20_host>; };
Please drop this patch.
I was hoping to confirm this with an M.2 WiFi+BT card, but let's say the results were kinda disappointing (to put it mildly).
Diederik
Quoted 1 line · Diederik de Haas
Several nodes were enabled/configured when support for the NanoPC-T6 Plus was
s/Plus/LTS/ in Subject and here ...
Still working on a submission for the NanoPC-T6 Plus ;-)
Cheers,
Diederik
Quoted 12 lines
added, but later those same nodes got enabled/configured in the dtsi file, making those in the dts file superfluous, so remove them.
The MTT USB 2.0 Hub is connected to USB20 HOST1, so the phy-supply belongs to
u2phy3_host, notu2phy2_hostas that is for USB20 HOST0.Diederik de Haas (2):
arm64: dts: rockchip: Drop duplicate USB nodes on NanoPC-T6 LTS
arm64: dts: rockchip: Fix USB hub phy-supply config for NanoPC-T6 LTS.../dts/rockchip/rk3588-nanopc-t6-lts.dts | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-)