arm64: dts: ti: k3-am62a7-sk: Add alias for RTC
Subsystems (2)
PATCH v2 1/1 arm64: dts: ti: k3-am62a7-sk: Add alias for RTC
From: Vibhore Vardhan <[email protected]>
Adds alias for SoC RTC so that it gets assigned rtc0. PMIC node is assigned rtc1 so that PMIC RTC gets probed as rtc1. This makes it consistent for testing rtcwake with other AM62 devices where rtc0 is SoC RTC.
---
Link to v1:
https://lore.kernel.org/all/[email protected]/
Changes from v1 to v2:
- rebased on latest linux-next
- fix spelling mistake
- add test log
Tested on AM62A with rtcwake [1]. The wakeup source is 0x50 which indicates the SoC RTC is used to wakeup the system as detailed in the TISCI documentation [2].
[1] https://gist.github.com/kwillis01/402aa56d263ef757316f1d6e44dea83f
[2] https://downloads.ti.com/tisci/esd/latest/2_tisci_msgs/pm/lpm.html#tisci-msg-lpm-wake-reason
--- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +2 -0
@@ -22,6 +22,8 @@ aliases { serial3 = &main_uart1; mmc0 = &sdhci0; mmc1 = &sdhci1; + rtc0 = &wkup_rtc0; + rtc1 = &tps659312; }; chosen {
base-commit: 0ae0fa3bf0b44c8611d114a9f69985bf451010c3
Signature · 1 line
2.34.1
Hi Kendall Willis,
Quoted 6 lines · Kendall Willis
Adds alias for SoC RTC so that it gets assigned rtc0. PMIC node is assigned rtc1 so that PMIC RTC gets probed as rtc1. This makes it consistent for testing rtcwake with other AM62 devices where rtc0 is SoC RTC.
I have applied the following to branch ti-next on [1]. Thank you!
[1/1] arm64: dts: ti: k3-am62a7-sk: Add alias for RTC
commit: 34887f2dab33b30de2730005681c796114fba351
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh