Skip to content

Commit ba0d527

Browse files
Johan Jonkerthierryreding
authored andcommitted
arm64: dts: rockchip: Remove clock-names from PWM nodes
A test with the command below gives this error: /arch/arm64/boot/dts/rockchip/rk3368-evb-act8846.dt.yaml: pwm@ff680030: clock-names: ['pwm'] is too short Devices with only one PWM clock use it to both to derive the functional clock for the device and as the bus clock. The driver does not need "clock-names" to get a handle, so remove them all. make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml Signed-off-by: Johan Jonker <[email protected]> Acked-by: Heiko Stuebner <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 201fe12 commit ba0d527

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

arch/arm64/boot/dts/rockchip/rk3368.dtsi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,6 @@
561561
pinctrl-names = "default";
562562
pinctrl-0 = <&pwm0_pin>;
563563
clocks = <&cru PCLK_PWM1>;
564-
clock-names = "pwm";
565564
status = "disabled";
566565
};
567566

@@ -572,7 +571,6 @@
572571
pinctrl-names = "default";
573572
pinctrl-0 = <&pwm1_pin>;
574573
clocks = <&cru PCLK_PWM1>;
575-
clock-names = "pwm";
576574
status = "disabled";
577575
};
578576

@@ -581,7 +579,6 @@
581579
reg = <0x0 0xff680020 0x0 0x10>;
582580
#pwm-cells = <3>;
583581
clocks = <&cru PCLK_PWM1>;
584-
clock-names = "pwm";
585582
status = "disabled";
586583
};
587584

@@ -592,7 +589,6 @@
592589
pinctrl-names = "default";
593590
pinctrl-0 = <&pwm3_pin>;
594591
clocks = <&cru PCLK_PWM1>;
595-
clock-names = "pwm";
596592
status = "disabled";
597593
};
598594

arch/arm64/boot/dts/rockchip/rk3399.dtsi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,6 @@
11851185
pinctrl-names = "default";
11861186
pinctrl-0 = <&pwm0_pin>;
11871187
clocks = <&pmucru PCLK_RKPWM_PMU>;
1188-
clock-names = "pwm";
11891188
status = "disabled";
11901189
};
11911190

@@ -1196,7 +1195,6 @@
11961195
pinctrl-names = "default";
11971196
pinctrl-0 = <&pwm1_pin>;
11981197
clocks = <&pmucru PCLK_RKPWM_PMU>;
1199-
clock-names = "pwm";
12001198
status = "disabled";
12011199
};
12021200

@@ -1207,7 +1205,6 @@
12071205
pinctrl-names = "default";
12081206
pinctrl-0 = <&pwm2_pin>;
12091207
clocks = <&pmucru PCLK_RKPWM_PMU>;
1210-
clock-names = "pwm";
12111208
status = "disabled";
12121209
};
12131210

@@ -1218,7 +1215,6 @@
12181215
pinctrl-names = "default";
12191216
pinctrl-0 = <&pwm3a_pin>;
12201217
clocks = <&pmucru PCLK_RKPWM_PMU>;
1221-
clock-names = "pwm";
12221218
status = "disabled";
12231219
};
12241220

0 commit comments

Comments
 (0)