Commit ccc5d0c9 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Rob Herring

dt-bindings: rtc: rtc-sh: Add missing power-domains property

make dtbs_check:

    arch/arm/boot/dts/r7s72100-rskrza1.dt.yaml: rtc@fcff1000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+'

Fix this by documenting the missing power-domains property.
Update the example to match reality.

Fixes: 7ae8b2f5 ("dt-bindings: rtc: rtc-sh: convert bindings to json-schema")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent edaa9c46
...@@ -43,6 +43,9 @@ properties: ...@@ -43,6 +43,9 @@ properties:
items: items:
enum: [ fck, rtc_x1, rtc_x3, extal ] enum: [ fck, rtc_x1, rtc_x3, extal ]
power-domains:
maxItems: 1
required: required:
- compatible - compatible
- reg - reg
...@@ -50,6 +53,7 @@ required: ...@@ -50,6 +53,7 @@ required:
- interrupt-names - interrupt-names
- clocks - clocks
- clock-names - clock-names
- power-domains
additionalProperties: false additionalProperties: false
...@@ -68,5 +72,6 @@ examples: ...@@ -68,5 +72,6 @@ examples:
interrupt-names = "alarm", "period", "carry"; interrupt-names = "alarm", "period", "carry";
clocks = <&mstp6_clks R7S72100_CLK_RTC>, <&rtc_x1_clk>, clocks = <&mstp6_clks R7S72100_CLK_RTC>, <&rtc_x1_clk>,
<&rtc_x3_clk>, <&extal_clk>; <&rtc_x3_clk>, <&extal_clk>;
power-domains = <&cpg_clocks>;
clock-names = "fck", "rtc_x1", "rtc_x3", "extal"; clock-names = "fck", "rtc_x1", "rtc_x3", "extal";
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment