Skip to content

Commit a12ac1f

Browse files
okiasalexandrebelloni
authored andcommitted
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 <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 34127b3 commit a12ac1f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@ properties:
1919
- qcom,pmk8350-rtc
2020

2121
reg:
22-
maxItems: 1
22+
minItems: 1
23+
maxItems: 2
24+
25+
reg-names:
26+
minItems: 1
27+
items:
28+
- const: rtc
29+
- const: alarm
2330

2431
interrupts:
2532
maxItems: 1

0 commit comments

Comments
 (0)