mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/4] arm64: boot: dts: ti: k3-am62l: allow WKUP UART wakeup from LPM
@ 2026-01-27 22:39 Kendall Willis
  2026-01-27 22:39 ` [PATCH v3 1/4] arm64: dts: ti: k3-am62l: include WKUP_UART0 in wakeup peripheral window Kendall Willis
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Kendall Willis @ 2026-01-27 22:39 UTC (permalink / raw)
  To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Dhruva Gole, Bryan Brattlof
  Cc: vishalm, sebin.francis, msp, khilman, linux-arm-kernel,
	devicetree, linux-kernel, Kendall Willis

K3 TI AM62L SoC supports wakeup from WKUP UART when the SoC is in the
DeepSleep low power mode. To allow wakeup from WKUP UART the target-module
device tree node is enabled. The ti-sysc interconnect target module driver
is used to configure the the SYSCONFIG related registers. In this case,
the interconnect target module node configures the WKUP UART to be able to
wakeup from system suspend. The SYSC register is used to enable wakeup
from system suspend for the WKUP UART. Refer to 14.7.2.5 UART in the
AM62L Techincal Reference Manual for registers referenced [1].

Previous TI SoCs configure the WKUP UART to wakeup from system suspend
using the ti-sysc interconnect target module driver. Refer to commit
ce27f7f ("arm64: dts: ti: k3-am62-wakeup: Configure ti-sysc for
wkup_uart0") for an example of this.

wkup_uart0 is not enabled to preserve the Linux console printing on uart0.

Testing
-------
Tested on AM62L EVM.

[1] https://www.ti.com/lit/ug/sprujb4a/sprujb4a.pdf

Signed-off-by: Kendall Willis <k-willis@ti.com>
---
Changes in v3:
- Add pin definition to wkup_uart0 node.
- Link to v2: https://lore.kernel.org/r/20260106-wkup-uart-wakeup-v2-0-fb4cbd56c827@ti.com

Changes in v2:
- Change subject of commit "arm64: boot: dts: ti: k3-am62l3-evm: enable
  target-module node" to better match the code logic of the patch.
- Link to v1: https://lore.kernel.org/r/20251230-wkup-uart-wakeup-v1-0-cd6e15f8d956@ti.com

---
Kendall Willis (4):
      arm64: dts: ti: k3-am62l: include WKUP_UART0 in wakeup peripheral window
      arm64: boot: dts: ti: k3-am62l-wakeup: create label for target-module
      arm64: boot: dts: ti: k3-am62l3-evm: define WKUP_UART0 pins
      arm64: boot: dts: ti: k3-am62l3-evm: enable target-module node

 arch/arm64/boot/dts/ti/k3-am62l-wakeup.dtsi |  2 +-
 arch/arm64/boot/dts/ti/k3-am62l.dtsi        |  4 ++--
 arch/arm64/boot/dts/ti/k3-am62l3-evm.dts    | 15 +++++++++++++++
 3 files changed, 18 insertions(+), 3 deletions(-)
---
base-commit: 63804fed149a6750ffd28610c5c1c98cce6bd377
change-id: 20260127-v6-19-wkup-uart-wakeup-11c1c3d5b99a

Best regards,
-- 
Kendall Willis <k-willis@ti.com>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-02-12 22:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-27 22:39 [PATCH v3 0/4] arm64: boot: dts: ti: k3-am62l: allow WKUP UART wakeup from LPM Kendall Willis
2026-01-27 22:39 ` [PATCH v3 1/4] arm64: dts: ti: k3-am62l: include WKUP_UART0 in wakeup peripheral window Kendall Willis
2026-01-27 22:39 ` [PATCH v3 2/4] arm64: boot: dts: ti: k3-am62l-wakeup: create label for target-module Kendall Willis
2026-02-06  4:41   ` Vignesh Raghavendra
2026-02-12 22:06     ` Kendall Willis
2026-01-27 22:39 ` [PATCH v3 3/4] arm64: boot: dts: ti: k3-am62l3-evm: define WKUP_UART0 pins Kendall Willis
2026-01-27 22:39 ` [PATCH v3 4/4] arm64: boot: dts: ti: k3-am62l3-evm: enable target-module node Kendall Willis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®