]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
arm64: dts: rockchip: Set dr_mode to "host" for OTG on rk3328-roc-cc
authorChen-Yu Tsai <wens@csie.org>
Thu, 26 Nov 2020 07:33:34 +0000 (15:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:25:57 +0000 (11:25 +0100)
[ Upstream commit 4076a007bd0f6171434bdb119a0b8797749b0502 ]

The board has a standard USB A female port connected to the USB OTG
controller's data pins. Set dr_mode in the OTG controller node to
indicate this usage, instead of having the implementation guess.

Fixes: 2171f4fdac06 ("arm64: dts: rockchip: add roc-rk3328-cc board")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20201126073336.30794-2-wens@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts

index 91061d9cf78bc42b059512f2b9870fb1a12b3f43..5b1ece4a68d67afaefdff3e5e27437e101e326c9 100644 (file)
 };
 
 &usb20_otg {
+       dr_mode = "host";
        status = "okay";
 };