aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heidelberg <david@ixit.cz>2021-12-13 20:29:45 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2022-01-05 01:09:27 +0100
commita12ac1f0ffa41b7aab3f69c4aac5bb72369bd117 (patch)
treeee172fe1121ac55bcc9a5ec1067e12e8d8c61f8f
parentrtc: pxa: fix null pointer dereference (diff)
downloadlinux-dev-a12ac1f0ffa41b7aab3f69c4aac5bb72369bd117.tar.xz
linux-dev-a12ac1f0ffa41b7aab3f69c4aac5bb72369bd117.zip
dt-bindings: rtc: qcom-pm8xxx-rtc: update register numbers
Extend registers up to 2, also document their names. Also fixes warnings generated by `make qcom/sdm845-oneplus-fajita.dtb`: arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dt.yaml: rtc@6000: reg: [[24576], [24832]] is too long From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dt.yaml: rtc@6000: 'reg-names' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml Signed-off-by: David Heidelberg <david@ixit.cz> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20211213192946.111320-1-david@ixit.cz
-rw-r--r--Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
index 4fba6dba16f3..6fa7d9fc2dc7 100644
--- a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
@@ -19,7 +19,14 @@ properties:
- qcom,pmk8350-rtc
reg:
- maxItems: 1
+ minItems: 1
+ maxItems: 2
+
+ reg-names:
+ minItems: 1
+ items:
+ - const: rtc
+ - const: alarm
interrupts:
maxItems: 1