mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: defconfig: Enable Qualcomm PMIC GLINK RTC driver
@ 2026-08-20 18:52 Kamal Wadhwa
  2026-08-21  6:13 ` Krzysztof Kozlowski
  2026-08-21  6:17 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 3+ messages in thread
From: Kamal Wadhwa @ 2026-08-20 18:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: Kamal Wadhwa

On Glymur, the PMIC RTC alarm IRQ cannot be delivered over SPMI to
rtc-pm8xxx, because that permission is routed to the charger firmware
running on a remote subsystem instead. The rtc-glink driver requests
RTC time/alarm access over the existing PMIC GLINK channel to work
around this.

Enable CONFIG_RTC_DRV_QCOM_GLINK as a module so the reference arm64
defconfig covers this driver on Glymur.

Depends-on: series ("rtc: Add Qualcomm PMIC RTC-GLINK support for
Glymur") from Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>
Link: https://lore.kernel.org/all/20260807-rtc-glink-cleanup-v1-0-7801e4d69c4f@oss.qualcomm.com/

Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>
---
This series adds a single defconfig change to enable the Qualcomm
PMIC GLINK RTC driver (CONFIG_RTC_DRV_QCOM_GLINK) in the arm64
reference defconfig, so that Glymur boards pick it up.

This depends on the rtc-glink driver and its DT-binding
documentation, currently posted upstream for review and not yet
merged into any tree:

  https://lore.kernel.org/all/20260807-rtc-glink-cleanup-v1-0-7801e4d69c4f@oss.qualcomm.com/

This patch should be applied on top of that series (or held until
it lands), since CONFIG_RTC_DRV_QCOM_GLINK does not exist without
it.
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index ad3bd3d9507b..6ba9d593b60c 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1361,6 +1361,7 @@ CONFIG_RTC_DRV_PL031=y
 CONFIG_RTC_DRV_SUN6I=y
 CONFIG_RTC_DRV_ARMADA38X=y
 CONFIG_RTC_DRV_PM8XXX=m
+CONFIG_RTC_DRV_QCOM_GLINK=m
 CONFIG_RTC_DRV_TEGRA=y
 CONFIG_RTC_DRV_SNVS=m
 CONFIG_RTC_DRV_BBNSM=m

---
base-commit: 6b3f654f1f61c07ca10ac53083fb0537fbc9c0e3
change-id: 20260821-rtc-glink-defconfig-03e1e8596ee8

Best regards,
--  
Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>


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

* Re: [PATCH] arm64: defconfig: Enable Qualcomm PMIC GLINK RTC driver
  2026-08-20 18:52 [PATCH] arm64: defconfig: Enable Qualcomm PMIC GLINK RTC driver Kamal Wadhwa
@ 2026-08-21  6:13 ` Krzysztof Kozlowski
  2026-08-21  6:17 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-21  6:13 UTC (permalink / raw)
  To: Kamal Wadhwa, linux-kernel

On 20/08/2026 20:52, Kamal Wadhwa wrote:
> On Glymur, the PMIC RTC alarm IRQ cannot be delivered over SPMI to
> rtc-pm8xxx, because that permission is routed to the charger firmware
> running on a remote subsystem instead. The rtc-glink driver requests
> RTC time/alarm access over the existing PMIC GLINK channel to work
> around this.
> 
> Enable CONFIG_RTC_DRV_QCOM_GLINK as a module so the reference arm64
> defconfig covers this driver on Glymur.
> 
> Depends-on: series ("rtc: Add Qualcomm PMIC RTC-GLINK support for

Why Qualcommm - it's fourth or fifth posting now - invented such tag?

From where did you get it? Microslop tools?


Best regards,
Krzysztof

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

* Re: [PATCH] arm64: defconfig: Enable Qualcomm PMIC GLINK RTC driver
  2026-08-20 18:52 [PATCH] arm64: defconfig: Enable Qualcomm PMIC GLINK RTC driver Kamal Wadhwa
  2026-08-21  6:13 ` Krzysztof Kozlowski
@ 2026-08-21  6:17 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-21  6:17 UTC (permalink / raw)
  To: Kamal Wadhwa, linux-kernel

On 20/08/2026 20:52, Kamal Wadhwa wrote:
> On Glymur, the PMIC RTC alarm IRQ cannot be delivered over SPMI to

And how people should guess what is Glymur and why do we want this in
defconfig... Plus I do not believe that is even true - Glymur does not
have a PMIC.

Best regards,
Krzysztof

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

end of thread, other threads:[~2026-08-21  6:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20 18:52 [PATCH] arm64: defconfig: Enable Qualcomm PMIC GLINK RTC driver Kamal Wadhwa
2026-08-21  6:13 ` Krzysztof Kozlowski
2026-08-21  6:17 ` Krzysztof Kozlowski

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®