devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: rtc: qcom-pm8xxx: allow 'wakeup-source' property
@ 2023-01-04  9:56 Johan Hovold
  2023-01-08 21:31 ` Rob Herring
  2023-01-09 21:12 ` Alexandre Belloni
  0 siblings, 2 replies; 3+ messages in thread
From: Johan Hovold @ 2023-01-04  9:56 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Alessandro Zummo, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Rob Herring, Krzysztof Kozlowski, linux-arm-msm, linux-rtc,
	devicetree, linux-kernel, Johan Hovold

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@kernel.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@6000: '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


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

* Re: [PATCH] dt-bindings: rtc: qcom-pm8xxx: allow 'wakeup-source' property
  2023-01-04  9:56 [PATCH] dt-bindings: rtc: qcom-pm8xxx: allow 'wakeup-source' property Johan Hovold
@ 2023-01-08 21:31 ` Rob Herring
  2023-01-09 21:12 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2023-01-08 21:31 UTC (permalink / raw)
  To: Johan Hovold
  Cc: linux-arm-msm, Bjorn Andersson, devicetree, Alessandro Zummo,
	Andy Gross, Krzysztof Kozlowski, Rob Herring, Konrad Dybcio,
	linux-kernel, linux-rtc, Alexandre Belloni


On Wed, 04 Jan 2023 10:56:12 +0100, Johan Hovold wrote:
> 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@kernel.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@6000: '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(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH] dt-bindings: rtc: qcom-pm8xxx: allow 'wakeup-source' property
  2023-01-04  9:56 [PATCH] dt-bindings: rtc: qcom-pm8xxx: allow 'wakeup-source' property Johan Hovold
  2023-01-08 21:31 ` Rob Herring
@ 2023-01-09 21:12 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2023-01-09 21:12 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Alessandro Zummo, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Rob Herring, Krzysztof Kozlowski, linux-arm-msm, linux-rtc,
	devicetree, linux-kernel


On Wed, 04 Jan 2023 10:56:12 +0100, Johan Hovold wrote:
> The RTC can be used as a wakeup source on at least some platforms so
> allow it to be described as such.
> 
> 

Applied, thanks!

[1/1] dt-bindings: rtc: qcom-pm8xxx: allow 'wakeup-source' property
      commit: 51b3802e79606b2326f4a8cac0f2766a2e15338b

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2023-01-09 21:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-04  9:56 [PATCH] dt-bindings: rtc: qcom-pm8xxx: allow 'wakeup-source' property Johan Hovold
2023-01-08 21:31 ` Rob Herring
2023-01-09 21:12 ` Alexandre Belloni

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).