]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: rockchip: Remove clock-names from PWM nodes
authorJohan Jonker <jbx6244@gmail.com>
Mon, 12 Apr 2021 20:01:55 +0000 (22:01 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 23 Apr 2021 16:53:08 +0000 (18:53 +0200)
commit8c7b93a7a13ffaa53cec3bb9a3ca4569e23456bd
tree4d1b6e5338bb091527b70bb21da1b36394535acd
parent71ecd23257d66d1f25cddcf5de8e804f6582e1fe
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>
arch/arm64/boot/dts/rockchip/rk3368.dtsi
arch/arm64/boot/dts/rockchip/rk3399.dtsi