Re: [PATCH 0/3] arm64: dts: ti: k3-am62: Support Main UART wakeup
From: Kendall Willis <hidden>
Date: 2025-09-09 22:41:40
Also in:
linux-devicetree, lkml
On 9/4/25 16:28, Kendall Willis wrote:
This series adds wakeup support for the Main UART in the device tree of the TI AM62 family of devices. It defines the specific pins and pinctrl states needed to wakeup the system from the Main UART via I/O daisy-chaining. The wakeup-source property is configured to describe the low power modes the system can wakeup from using the Main UART. Dependencies ------------ This series is dependent on the following series [1] to be merged into the kernel. The series adds the system idle states that are available on the SoCs. The system idle states are used when configuring the wakeup-source property. This series is also dependent on the following patch [2] to be merged into the kernel. The patch integrates the PIN_WKUP_EN macro which enables the WKUP_EN bit.
Series also depends on this series [1] for DT bindings of pinctrl. [1] https://lore.kernel.org/all/20250904212455.3729029-1-k-willis@ti.com/ (local)
Implementation
--------------
This series is intended to be implemented along with the following
series:
1. "pmdomain: ti_sci: Handle wakeup constraint if device has pinctrl
wakeup state": Patch which skips setting constraints for wakeup sources
that use pinctrl state 'wakeup'.
2. "serial: 8250: omap: Add wakeup support": Implements
wakeup from the UARTs for TI K3 SoCs
3. "arm64: dts: ti: k3-am62: Support Main UART wakeup": (this series)
implements the functionality to wakeup the system from the Main UART
Testing
-------
Tested on a SK-AM62B-P1 board with all series and dependencies
implemented. Suspend/resume verified with the Main UART wakeup source
by entering a keypress on the console.
[1] https://lore.kernel.org/linux-arm-kernel/20250812-topic-am62-dt-partialio-v6-15-v2-2-25352364a0ac@baylibre.com/ (local)
[2] https://lore.kernel.org/all/20250904112538.529857-4-a-kaur@ti.com/ (local)
Kendall Willis (3):
arm64: dts: ti: k3-am62x-sk-common: Enable Main UART wakeup
arm64: dts: ti: k3-am62a7-sk: Enable Main UART wakeup
arm64: dts: ti: k3-am62p5-sk: Enable Main UART wakeup
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 24 +++++++++++++++----
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 24 +++++++++++++++----
.../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 24 +++++++++++++++----
3 files changed, 60 insertions(+), 12 deletions(-)
base-commit: 4ac65880ebca1b68495bd8704263b26c050ac010