]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: rtc: qcom-pm8xxx: document qcom,no-alarm flag
authorJonathan Marek <jonathan@marek.ca>
Wed, 19 Feb 2025 13:41:13 +0000 (14:41 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 17 Mar 2025 10:52:25 +0000 (11:52 +0100)
Qualcomm x1e80100 firmware sets the ownership of the RTC alarm to ADSP.
Thus writing to RTC alarm registers and receiving alarm interrupts is not
possible.

Add a qcom,no-alarm flag to support RTC on this platform.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Link: https://lore.kernel.org/r/20241015004945.3676-3-jonathan@marek.ca
[ johan: move vendor property; use boolean; reword description ]
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20250219134118.31017-2-johan+linaro@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml

index d274bb7a534b55ef83a05da2c2b8446f38342c88..68ef3208c8869c08a5f26306bc9cab6fa111c242 100644 (file)
@@ -50,6 +50,11 @@ properties:
     items:
       - const: offset
 
+  qcom,no-alarm:
+    type: boolean
+    description:
+      RTC alarm is not owned by the OS
+
   wakeup-source: true
 
 required: