OSDN Git Service

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)
commited2c66a95c0c5669880aa93d0d34c6e9694b4cbd
tree4a99fad71c7a9bebf809a37d91264a5acce5c9a7
parent85a8bccfa945680dc561f06b65ea01341d2033fc
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