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 <jbx6244@gmail.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
Johan Jonker 2021-04-12 22:01:55 +02:00 коммит произвёл Thierry Reding
Родитель 201fe12e7b
Коммит ba0d527be4
2 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -561,7 +561,6 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pwm0_pin>; pinctrl-0 = <&pwm0_pin>;
clocks = <&cru PCLK_PWM1>; clocks = <&cru PCLK_PWM1>;
clock-names = "pwm";
status = "disabled"; status = "disabled";
}; };
@ -572,7 +571,6 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pwm1_pin>; pinctrl-0 = <&pwm1_pin>;
clocks = <&cru PCLK_PWM1>; clocks = <&cru PCLK_PWM1>;
clock-names = "pwm";
status = "disabled"; status = "disabled";
}; };
@ -581,7 +579,6 @@
reg = <0x0 0xff680020 0x0 0x10>; reg = <0x0 0xff680020 0x0 0x10>;
#pwm-cells = <3>; #pwm-cells = <3>;
clocks = <&cru PCLK_PWM1>; clocks = <&cru PCLK_PWM1>;
clock-names = "pwm";
status = "disabled"; status = "disabled";
}; };
@ -592,7 +589,6 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pwm3_pin>; pinctrl-0 = <&pwm3_pin>;
clocks = <&cru PCLK_PWM1>; clocks = <&cru PCLK_PWM1>;
clock-names = "pwm";
status = "disabled"; status = "disabled";
}; };

Просмотреть файл

@ -1185,7 +1185,6 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pwm0_pin>; pinctrl-0 = <&pwm0_pin>;
clocks = <&pmucru PCLK_RKPWM_PMU>; clocks = <&pmucru PCLK_RKPWM_PMU>;
clock-names = "pwm";
status = "disabled"; status = "disabled";
}; };
@ -1196,7 +1195,6 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pwm1_pin>; pinctrl-0 = <&pwm1_pin>;
clocks = <&pmucru PCLK_RKPWM_PMU>; clocks = <&pmucru PCLK_RKPWM_PMU>;
clock-names = "pwm";
status = "disabled"; status = "disabled";
}; };
@ -1207,7 +1205,6 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pwm2_pin>; pinctrl-0 = <&pwm2_pin>;
clocks = <&pmucru PCLK_RKPWM_PMU>; clocks = <&pmucru PCLK_RKPWM_PMU>;
clock-names = "pwm";
status = "disabled"; status = "disabled";
}; };
@ -1218,7 +1215,6 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pwm3a_pin>; pinctrl-0 = <&pwm3a_pin>;
clocks = <&pmucru PCLK_RKPWM_PMU>; clocks = <&pmucru PCLK_RKPWM_PMU>;
clock-names = "pwm";
status = "disabled"; status = "disabled";
}; };