Skip to content

Commit

Permalink
dt-bindings: rtc: qcom-pm8xxx-rtc: update register numbers
Browse files Browse the repository at this point in the history
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
  • Loading branch information
David Heidelberg authored and Alexandre Belloni committed Jan 5, 2022
1 parent 34127b3 commit a12ac1f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a12ac1f

Please sign in to comment.