Skip to content

Commit 3555d80

Browse files
krzklag-linaro
authored andcommitted
dt-bindings: mfd: allwinner,sun6i-a31-prcm: Use hyphens in node names
Underscores should not be used in node names (dtc with W=2 warns about them), so replace them with hyphens. This should have no impact on known users: Linux MFD driver does not care about children node names. DTS was already adjusted in commit 0f47ef3 ("arm: dts: allwinner: drop underscore in node names"), so without this change, we observe dtbs_check warnings: sun6i-a31s-colorfly-e708-q1.dtb: prcm@1f01400: 'ahb0-clk', 'apb0-clk', 'apb0-gates-clk', 'apb0-rst', 'ar100-clk', 'ir-clk' do not match any of the regexes: '^.*_(clk|rst)$', 'pinctrl-[0-9]+' Reported-by: Rob Herring <[email protected]> Closes: https://lore.kernel.org/all/CAL_JsqJfT-jui5P56CO4Fr37kr5iNN8dpxt8ecKeFmdVGnRYbA@mail.gmail.com/ Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]> Acked-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 57b323b commit 3555d80

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Documentation/devicetree/bindings/mfd/allwinner,sun6i-a31-prcm.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ properties:
2020
maxItems: 1
2121

2222
patternProperties:
23-
"^.*_(clk|rst)$":
23+
"^.*-(clk|rst)$":
2424
type: object
2525
unevaluatedProperties: false
2626

@@ -171,7 +171,7 @@ examples:
171171
compatible = "allwinner,sun6i-a31-prcm";
172172
reg = <0x01f01400 0x200>;
173173
174-
ar100: ar100_clk {
174+
ar100: ar100-clk {
175175
compatible = "allwinner,sun6i-a31-ar100-clk";
176176
#clock-cells = <0>;
177177
clocks = <&rtc 0>, <&osc24M>,
@@ -180,7 +180,7 @@ examples:
180180
clock-output-names = "ar100";
181181
};
182182
183-
ahb0: ahb0_clk {
183+
ahb0: ahb0-clk {
184184
compatible = "fixed-factor-clock";
185185
#clock-cells = <0>;
186186
clock-div = <1>;
@@ -189,14 +189,14 @@ examples:
189189
clock-output-names = "ahb0";
190190
};
191191
192-
apb0: apb0_clk {
192+
apb0: apb0-clk {
193193
compatible = "allwinner,sun6i-a31-apb0-clk";
194194
#clock-cells = <0>;
195195
clocks = <&ahb0>;
196196
clock-output-names = "apb0";
197197
};
198198
199-
apb0_gates: apb0_gates_clk {
199+
apb0_gates: apb0-gates-clk {
200200
compatible = "allwinner,sun6i-a31-apb0-gates-clk";
201201
#clock-cells = <1>;
202202
clocks = <&apb0>;
@@ -206,14 +206,14 @@ examples:
206206
"apb0_i2c";
207207
};
208208
209-
ir_clk: ir_clk {
209+
ir_clk: ir-clk {
210210
#clock-cells = <0>;
211211
compatible = "allwinner,sun4i-a10-mod0-clk";
212212
clocks = <&rtc 0>, <&osc24M>;
213213
clock-output-names = "ir";
214214
};
215215
216-
apb0_rst: apb0_rst {
216+
apb0_rst: apb0-rst {
217217
compatible = "allwinner,sun6i-a31-clock-reset";
218218
#reset-cells = <1>;
219219
};

0 commit comments

Comments
 (0)