[PATCH v2 0/5] arm64: dts: ti: k3-am62: Support Main UART wakeup

Kendall Willis posted 5 patches 1 month, 1 week ago
There is a newer version of this series
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts        | 24 ++++++++++++++++++++----
arch/arm64/boot/dts/ti/k3-am62l.dtsi           | 12 ++++++++++++
arch/arm64/boot/dts/ti/k3-am62l3-evm.dts       | 22 ++++++++++++++++++----
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts        | 24 ++++++++++++++++++++----
arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 24 ++++++++++++++++++++----
5 files changed, 90 insertions(+), 16 deletions(-)
[PATCH v2 0/5] arm64: dts: ti: k3-am62: Support Main UART wakeup
Posted by Kendall Willis 1 month, 1 week ago
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.

Implementation
--------------
This series is intended to be implemented along with the following
series:

1. "pmdomain: ti_sci: handle wakeup constraint for out-of-band wakeup":
   Skips setting constraints for wakeup sources that have
   out-of-band wakeup capability.
   https://github.com/kwillis01/linux/tree/v6.19/uart-daisy-chain/pmdomain

2. "serial: 8250: omap: set out-of-band wakeup if wakeup pinctrl exists":
   Implements out-of-band wakeup from the UARTs for TI K3 SoCs.
   https://github.com/kwillis01/linux/tree/v6.19/uart-daisy-chain/uart-wakeup

3. "arm64: dts: ti: k3-am62: Support Main UART wakeup": (this series)
   implements the functionality to wakeup the system from the Main UART.
   https://github.com/kwillis01/linux/tree/b4/uart-daisy-chain-dts

Testing
-------
Tested on a AM62P SK EVM board and a AM62L EVM board with all the above
mentioned series implemented. Suspend/resume verified with the Main UART
wakeup source by entering a keypress on the console.

This github branch has all the necessary patches to test the series
using v6.19-rc1:
https://github.com/kwillis01/linux/tree/v6.19/uart-daisy-chain/all

Revisions
---------
v1->v2:
 - Define AM62L system idle states
 - Enable Main UART wakeup for AM62L SoC
 - Rebase to v6.19-rc3

v1: https://lore.kernel.org/all/20250904212827.3730314-1-k-willis@ti.com/

---
Kendall Willis (5):
      arm64: dts: ti: k3-am62l: Define possible system states
      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
      arm64: dts: ti: k3-am62l3-evm: Enable Main UART wakeup

 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts        | 24 ++++++++++++++++++++----
 arch/arm64/boot/dts/ti/k3-am62l.dtsi           | 12 ++++++++++++
 arch/arm64/boot/dts/ti/k3-am62l3-evm.dts       | 22 ++++++++++++++++++----
 arch/arm64/boot/dts/ti/k3-am62p5-sk.dts        | 24 ++++++++++++++++++++----
 arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 24 ++++++++++++++++++++----
 5 files changed, 90 insertions(+), 16 deletions(-)
---
base-commit: f323ed34dc9831effb1ee95403bc364869d29d4c
change-id: 20251230-b4-uart-daisy-chain-dts-d01aa40560b2

Best regards,
-- 
Kendall Willis <k-willis@ti.com>
Re: [PATCH v2 0/5] arm64: dts: ti: k3-am62: Support Main UART wakeup
Posted by Markus Schneider-Pargmann 1 month ago
On Wed Dec 31, 2025 at 3:38 AM CET, 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.

Reviewed-by: Markus Schneider-Pargmann <msp@baylibre.com>

Best
Markus
Re: [PATCH v2 0/5] arm64: dts: ti: k3-am62: Support Main UART wakeup
Posted by Dhruva Gole 1 month ago
On Dec 30, 2025 at 20:38:19 -0600, 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.
> 
> Implementation
> --------------
> This series is intended to be implemented along with the following
> series:
> 
> 1. "pmdomain: ti_sci: handle wakeup constraint for out-of-band wakeup":
>    Skips setting constraints for wakeup sources that have
>    out-of-band wakeup capability.
>    https://github.com/kwillis01/linux/tree/v6.19/uart-daisy-chain/pmdomain
> 
> 2. "serial: 8250: omap: set out-of-band wakeup if wakeup pinctrl exists":
>    Implements out-of-band wakeup from the UARTs for TI K3 SoCs.
>    https://github.com/kwillis01/linux/tree/v6.19/uart-daisy-chain/uart-wakeup
> 
> 3. "arm64: dts: ti: k3-am62: Support Main UART wakeup": (this series)
>    implements the functionality to wakeup the system from the Main UART.
>    https://github.com/kwillis01/linux/tree/b4/uart-daisy-chain-dts
> 
> Testing
> -------
> Tested on a AM62P SK EVM board and a AM62L EVM board with all the above
> mentioned series implemented. Suspend/resume verified with the Main UART
> wakeup source by entering a keypress on the console.
> 
> This github branch has all the necessary patches to test the series
> using v6.19-rc1:
> https://github.com/kwillis01/linux/tree/v6.19/uart-daisy-chain/all
> 
> Revisions
> ---------
> v1->v2:
>  - Define AM62L system idle states
>  - Enable Main UART wakeup for AM62L SoC
>  - Rebase to v6.19-rc3

For the series,
Reviewed-by: Dhruva Gole <d-gole@ti.com>

> 
> v1: https://lore.kernel.org/all/20250904212827.3730314-1-k-willis@ti.com/
> 
> ---
> Kendall Willis (5):
>       arm64: dts: ti: k3-am62l: Define possible system states
>       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
>       arm64: dts: ti: k3-am62l3-evm: Enable Main UART wakeup
> 
>  arch/arm64/boot/dts/ti/k3-am62a7-sk.dts        | 24 ++++++++++++++++++++----
>  arch/arm64/boot/dts/ti/k3-am62l.dtsi           | 12 ++++++++++++
>  arch/arm64/boot/dts/ti/k3-am62l3-evm.dts       | 22 ++++++++++++++++++----
>  arch/arm64/boot/dts/ti/k3-am62p5-sk.dts        | 24 ++++++++++++++++++++----
>  arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 24 ++++++++++++++++++++----
>  5 files changed, 90 insertions(+), 16 deletions(-)
> ---
> base-commit: f323ed34dc9831effb1ee95403bc364869d29d4c
> change-id: 20251230-b4-uart-daisy-chain-dts-d01aa40560b2
> 
> Best regards,
> -- 
> Kendall Willis <k-willis@ti.com>
> 

-- 
Best regards,
Dhruva Gole
Texas Instruments Incorporated