Commit cd8c34a8 authored by Vicente Bergas's avatar Vicente Bergas Committed by sanglipeng
Browse files

arm64: dts: rockchip: use USB host by default on rk3399-rock-pi-4

stable inclusion
from stable-v5.10.192
commit 1411c3e86e66cc30f4dee15937276ed33598b787
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I933RF

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1411c3e86e66cc30f4dee15937276ed33598b787

--------------------------------

[ Upstream commit e12f67fe ]

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: default avatarVicente Bergas <vicencb@gmail.com>
Link: https://lore.kernel.org/r/20201201154132.1286-4-vicencb@gmail.com


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Stable-dep-of: cee57275 ("arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent c139cc4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment