Skip to content

Commit 201fe12

Browse files
Johan Jonkerthierryreding
authored andcommitted
ARM: dts: rockchip: Remove clock-names from PWM nodes
A test with the command below gives this error: /arch/arm/boot/dts/rk3036-evb.dt.yaml: pwm@20050030: 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=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml Signed-off-by: Johan Jonker <jbx6244@gmail.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
1 parent 78e7da2 commit 201fe12

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

arch/arm/boot/dts/rk3036.dtsi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@
355355
reg = <0x20050000 0x10>;
356356
#pwm-cells = <3>;
357357
clocks = <&cru PCLK_PWM>;
358-
clock-names = "pwm";
359358
pinctrl-names = "default";
360359
pinctrl-0 = <&pwm0_pin>;
361360
status = "disabled";
@@ -366,7 +365,6 @@
366365
reg = <0x20050010 0x10>;
367366
#pwm-cells = <3>;
368367
clocks = <&cru PCLK_PWM>;
369-
clock-names = "pwm";
370368
pinctrl-names = "default";
371369
pinctrl-0 = <&pwm1_pin>;
372370
status = "disabled";
@@ -377,7 +375,6 @@
377375
reg = <0x20050020 0x10>;
378376
#pwm-cells = <3>;
379377
clocks = <&cru PCLK_PWM>;
380-
clock-names = "pwm";
381378
pinctrl-names = "default";
382379
pinctrl-0 = <&pwm2_pin>;
383380
status = "disabled";
@@ -388,7 +385,6 @@
388385
reg = <0x20050030 0x10>;
389386
#pwm-cells = <2>;
390387
clocks = <&cru PCLK_PWM>;
391-
clock-names = "pwm";
392388
pinctrl-names = "default";
393389
pinctrl-0 = <&pwm3_pin>;
394390
status = "disabled";

arch/arm/boot/dts/rk3288.dtsi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,6 @@
679679
pinctrl-names = "default";
680680
pinctrl-0 = <&pwm0_pin>;
681681
clocks = <&cru PCLK_RKPWM>;
682-
clock-names = "pwm";
683682
status = "disabled";
684683
};
685684

@@ -690,7 +689,6 @@
690689
pinctrl-names = "default";
691690
pinctrl-0 = <&pwm1_pin>;
692691
clocks = <&cru PCLK_RKPWM>;
693-
clock-names = "pwm";
694692
status = "disabled";
695693
};
696694

@@ -701,7 +699,6 @@
701699
pinctrl-names = "default";
702700
pinctrl-0 = <&pwm2_pin>;
703701
clocks = <&cru PCLK_RKPWM>;
704-
clock-names = "pwm";
705702
status = "disabled";
706703
};
707704

@@ -712,7 +709,6 @@
712709
pinctrl-names = "default";
713710
pinctrl-0 = <&pwm3_pin>;
714711
clocks = <&cru PCLK_RKPWM>;
715-
clock-names = "pwm";
716712
status = "disabled";
717713
};
718714

0 commit comments

Comments
 (0)