]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: rockchip: use USB host by default on rk3399-rock-pi-4
authorVicente Bergas <vicencb@gmail.com>
Tue, 1 Dec 2020 15:41:32 +0000 (16:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Aug 2023 13:26:54 +0000 (15:26 +0200)
commit1411c3e86e66cc30f4dee15937276ed33598b787
treedddfc34575b71c0875e27529690ee269458fe248
parenteb5b1e932c185f856a90ad661be1f9f33d856676
arm64: dts: rockchip: use USB host by default on rk3399-rock-pi-4

[ Upstream commit e12f67fe83446432ef16704c22ec23bd1dbcd094 ]

Based on the board schematics at
https://dl.radxa.com/rockpi4/docs/hw/rockpi4/rockpi_4c_v12_sch_20200620.pdf
on page 19 there is an USB Type-A receptacle being used as an USB-OTG port.

But the Type-A connector is not valid for OTG operation, for this reason
there is a switch to select host or device role.
This is non-compliant and error prone because switching is manual.
So, use host mode as it corresponds for a Type-A receptacle.

Signed-off-by: Vicente Bergas <vicencb@gmail.com>
Link: https://lore.kernel.org/r/20201201154132.1286-4-vicencb@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Stable-dep-of: cee572756aa2 ("arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi