arm64: dts: rockchip: enable internal pull-up on Q7_USB_ID for RK3399 Puma
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Fri, 8 Mar 2024 15:46:07 +0000 (16:46 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 24 Mar 2024 22:24:08 +0000 (23:24 +0100)
The Q7_USB_ID has a diode used as a level-shifter, and is used as an
input pin. The SoC default for this pin is a pull-up, which is correct
but the pinconf in the introducing commit missed that, so let's fix this
oversight.

Fixes: ed2c66a95c0c ("arm64: dts: rockchip: fix rk3399-puma-haikou USB OTG mode")
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20240308-puma-diode-pu-v2-1-309f83da110a@theobroma-systems.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi

index 214ea62b24a5b57d99842c017b37fd7ea9f1b863..a51ebb8f8b80f55b29ecde990898cd96fe67cb1b 100644 (file)
        usb3 {
                usb3_id: usb3-id {
                        rockchip,pins =
-                         <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
+                         <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up>;
                };
        };
 };