]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: ti: k3-am62p5-sk: Support SoC wakeup using USB1 wakeup
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Thu, 30 Jan 2025 06:25:47 +0000 (11:55 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Sun, 2 Mar 2025 13:13:33 +0000 (18:43 +0530)
After the SoC has entered the Deep Sleep mode, USB1 can be used to wakeup
the SoC based on USB events triggered by USB devices. This requires that
the pin corresponding to the Type-A connector remains pulled up even after
the SoC has entered the Deep Sleep mode. Hence, enable Deep Sleep pullup /
pulldown selection for the USB1_DRVBUS pin and set its Deep Sleep state to
PULL_UP.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Link: https://lore.kernel.org/r/20250130062550.1554651-1-s-vadapalli@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts

index 20ceb1c11d8ef610bf6e72ccddace7b5a4dcd9eb..b62460fe5c248c6f694c0514a384206861896057 100644 (file)
 
        main_usb1_pins_default: main-usb1-default-pins {
                pinctrl-single,pins = <
-                       AM62PX_IOPAD(0x0258, PIN_INPUT, 0) /* (G21) USB1_DRVVBUS */
+                       AM62PX_IOPAD(0x0258, PIN_INPUT | PIN_DS_PULLUD_ENABLE | PIN_DS_PULL_UP, 0) /* (G21) USB1_DRVVBUS */
                >;
        };