devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] x1e80100 RTC support
@ 2024-10-13  5:15 Jonathan Marek
  2024-10-13  5:15 ` [PATCH v2 2/5] dt-bindings: rtc: qcom-pm8xxx: document no-alarm flag Jonathan Marek
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Jonathan Marek @ 2024-10-13  5:15 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: Alexandre Belloni, Bjorn Andersson, Conor Dooley,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Konrad Dybcio, Krzysztof Kozlowski, open list,
	open list:REAL TIME CLOCK (RTC) SUBSYSTEM, Rob Herring,
	Satya Priya

x1e80100 needs a workaround because the RTC alarm is not owned by HLOS.
It also needs the same offset workaround as sc8280xp/etc.

v2: remove duplicated ops and use RTC_FEATURE_ALARM instead

Jonathan Marek (5):
  rtc: pm8xxx: implement no-alarm flag for non-HLOS owned alarm
  dt-bindings: rtc: qcom-pm8xxx: document no-alarm flag
  arm64: dts: qcom: x1e80100-pmics: enable RTC
  arm64: dts: qcom: x1e80100-crd: add rtc offset to set rtc time
  arm64: dts: qcom: x1e78100-t14s: add rtc offset to set rtc time

 .../bindings/rtc/qcom-pm8xxx-rtc.yaml         |  5 +++
 .../qcom/x1e78100-lenovo-thinkpad-t14s.dts    | 11 +++++
 arch/arm64/boot/dts/qcom/x1e80100-crd.dts     | 11 +++++
 arch/arm64/boot/dts/qcom/x1e80100-pmics.dtsi  |  8 ++--
 drivers/rtc/rtc-pm8xxx.c                      | 43 +++++++++++++------
 5 files changed, 59 insertions(+), 19 deletions(-)

-- 
2.45.1


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

end of thread, other threads:[~2024-10-14 17:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-13  5:15 [PATCH v2 0/5] x1e80100 RTC support Jonathan Marek
2024-10-13  5:15 ` [PATCH v2 2/5] dt-bindings: rtc: qcom-pm8xxx: document no-alarm flag Jonathan Marek
2024-10-14  7:34   ` Krzysztof Kozlowski
2024-10-14 12:58     ` Jonathan Marek
2024-10-14 13:38       ` Krzysztof Kozlowski
2024-10-14 14:09         ` Jonathan Marek
2024-10-14 17:55           ` Krzysztof Kozlowski
2024-10-13  5:15 ` [PATCH v2 3/5] arm64: dts: qcom: x1e80100-pmics: enable RTC Jonathan Marek
2024-10-13  5:15 ` [PATCH v2 4/5] arm64: dts: qcom: x1e80100-crd: add rtc offset to set rtc time Jonathan Marek
2024-10-13  5:15 ` [PATCH v2 5/5] arm64: dts: qcom: x1e78100-t14s: " Jonathan Marek
2024-10-14 14:05 ` [PATCH v2 0/5] x1e80100 RTC support Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).