[PATCH 0/2] rtc: Add Qualcomm PMIC RTC-GLINK support for Glymur
From: Kamal Wadhwa
Date: Thu Aug 06 2026 - 16:58:39 EST
On some targets like Glymur, the permission for receving the RTC
alarms is routed to charger firmware running on remote subsystem.
This is because Glymur boards have to support MSFT's `TAD feature`
on the windows OS devices.
So rtc-pm8xxx.c driver cannot recieve RTC alarm IRQs via SPMI on
Glymur. So in order to make the IRQ available on the Linux kernel,
the PMIC RTC Alarm IRQ must be routed to APPS via remote subsystem.
To implement this, add support for a New Qualcomm PMIC GLINK RTC
client, which will request for RTC set/get calls for time/alarm IRQ
via the existing pmic_glink interface to the charger firmware.
Also, add a DT property to explicily support enabling the RTC
writes, keep RTC writes disabled by default to align behaviour
with the existing rtc-pm8xxx.c driver.
Signed-off-by: Kamal Wadhwa <kamal.wadhwa@xxxxxxxxxxxxxxxx>
---
Kamal Wadhwa (2):
dt-bindings: soc: qcom: qcom,pmic-glink: Document RTC client properties
rtc: qcom: rtc-glink: Add PMIC GLINK RTC driver and extend pmic_glink
.../bindings/soc/qcom/qcom,pmic-glink.yaml | 5 +
MAINTAINERS | 7 +
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-qcom-glink.c | 690 +++++++++++++++++++++
drivers/soc/qcom/pmic_glink.c | 22 +-
include/linux/soc/qcom/pmic_glink.h | 1 +
7 files changed, 735 insertions(+), 1 deletion(-)
---
base-commit: 1701fda2f58e345c050f4309971bdc07cd6146ba
change-id: 20260806-rtc-glink-cleanup-038163045afd
Best regards,
--
Kamal Wadhwa <kamal.wadhwa@xxxxxxxxxxxxxxxx>