]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: rockchip: fix rk3399-puma-haikou USB OTG mode
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Thu, 20 Jan 2022 12:51:56 +0000 (13:51 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 23 Jan 2022 14:21:00 +0000 (15:21 +0100)
commited5b58338e3a7f7ffcf0fc8c5a7db392a1e361ea
tree4a99fad71c7a9bebf809a37d91264a5acce5c9a7
parent73f957d3f21ab0eca5d45637c99b591d691e45a4
arm64: dts: rockchip: fix rk3399-puma-haikou USB OTG mode

The micro USB3.0 port available on the Haikou evaluation kit for Puma
RK3399-Q7 SoM supports dual-role model (aka drd or OTG) but its support
was broken until now because of missing logic around the ID pin.

This adds proper support for USB OTG on Puma Haikou by "connecting" the
GPIO used for USB ID to the USB3 controller device.

Cc: Quentin Schulz <foss+kernel@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20220120125156.16217-1-quentin.schulz@theobroma-systems.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi