Skip to content

Commit

Permalink
arm64: dts: rockchip: Set dr_mode to "host" for OTG on rk3328-roc-cc
Browse files Browse the repository at this point in the history
[ Upstream commit 4076a00 ]

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: 2171f4f ("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>
  • Loading branch information
wens authored and gregkh committed Dec 30, 2020
1 parent 11f007a commit 8e9678d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
Expand Up @@ -333,6 +333,7 @@
};

&usb20_otg {
dr_mode = "host";
status = "okay";
};

Expand Down

0 comments on commit 8e9678d

Please sign in to comment.