[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230104095612.6756-1-johan+linaro@kernel.org>
Date: Wed, 4 Jan 2023 10:56:12 +0100
From: Johan Hovold <johan+linaro@...nel.org>
To: Alexandre Belloni <alexandre.belloni@...tlin.com>
Cc: Alessandro Zummo <a.zummo@...ertech.it>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-arm-msm@...r.kernel.org, linux-rtc@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Johan Hovold <johan+linaro@...nel.org>
Subject: [PATCH] dt-bindings: rtc: qcom-pm8xxx: allow 'wakeup-source' property
The RTC can be used as a wakeup source on at least some platforms so
allow it to be described as such.
Signed-off-by: Johan Hovold <johan+linaro@...nel.org>
---
Since commit 30d70ec8f7fd ("arm64: dts: qcom: sa8295p-adp: Add RTC
node") this triggers a warning on DT validation so it would be nice to
get this into 6.2:
arch/arm64/boot/dts/qcom/sa8295p-adp.dtb: rtc@...0: 'wakeup-source' does not match any of the regexes: 'pinctrl-[0-9]+'
Johan
Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
index 0a7aa29563c1..21c8ea08ff0a 100644
--- a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
@@ -40,6 +40,8 @@ properties:
description:
Indicates that the setting of RTC time is allowed by the host CPU.
+ wakeup-source: true
+
required:
- compatible
- reg
--
2.37.4
Powered by blists - more mailing lists