ARM: dts: rockchip: Remove more clock-names from PWM nodes A test with the command below gives this error:
Subsystems (2)
PATCH 1/1 ARM: dts: rockchip: Remove more clock-names from PWM nodes A test with the command below gives this error:
/arch/arm/boot/dts/rk3228-evb.dt.yaml:
pwm@110b0020: 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
--- arch/arm/boot/dts/rk322x.dtsi | 4 ---- 1 file changed, 4 deletions(-)
arch/arm/boot/dts/rk322x.dtsi +0 -4
@@ -384,7 +384,6 @@ reg = <0x110b0000 0x10>; #pwm-cells = <3>; clocks = <&cru PCLK_PWM>; - clock-names = "pwm"; pinctrl-names = "default"; pinctrl-0 = <&pwm0_pin>; status = "disabled";
@@ -395,7 +394,6 @@ reg = <0x110b0010 0x10>; #pwm-cells = <3>; clocks = <&cru PCLK_PWM>; - clock-names = "pwm"; pinctrl-names = "default"; pinctrl-0 = <&pwm1_pin>; status = "disabled";
@@ -406,7 +404,6 @@ reg = <0x110b0020 0x10>; #pwm-cells = <3>; clocks = <&cru PCLK_PWM>; - clock-names = "pwm"; pinctrl-names = "default"; pinctrl-0 = <&pwm2_pin>; status = "disabled";
@@ -417,7 +414,6 @@ reg = <0x110b0030 0x10>; #pwm-cells = <2>; clocks = <&cru PCLK_PWM>; - clock-names = "pwm"; pinctrl-names = "default"; pinctrl-0 = <&pwm3_pin>; status = "disabled";
Signature · 1 line
2.11.0
Quoted 8 lines · Johan Jonker
/arch/arm/boot/dts/rk3228-evb.dt.yaml:
pwm@110b0020: clock-names: ['pwm'] is too shortDevices 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.
[...]
Applied, thanks!
[1/1] ARM: dts: rockchip: Remove more clock-names from PWM nodes A test with the command below gives this error:
commit: dc71c5ca34f408030b979d894c0459ef059445a1
Fixed the patch subject that somehow got mangled together with the first line of the patch message.
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>