From 75010205562c8ee432b61b3d52d59c04ad1fac31 Mon Sep 17 00:00:00 2001 From: Peter Vasil Date: Sun, 26 Apr 2020 12:11:22 +0200 Subject: [PATCH 247/478] pwm: sun4i: direct clock output support for Allwinner A64 Allwinner A64 is capable of a direct clock output on PWM (see A64 User Manual chapter 3.10). Add support for this in the sun4i PWM driver and adjust compatibility in sun50i-a64 base device tree. Signed-off-by: Peter Vasil --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 7e825db564fc..523e6dcbcc85 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -1118,8 +1118,7 @@ gic: interrupt-controller@1c81000 { }; pwm: pwm@1c21400 { - compatible = "allwinner,sun50i-a64-pwm", - "allwinner,sun5i-a13-pwm"; + compatible = "allwinner,sun50i-a64-pwm"; reg = <0x01c21400 0x400>; clocks = <&osc24M>; pinctrl-names = "default"; @@ -1305,8 +1304,7 @@ r_ir: ir@1f02000 { }; r_pwm: pwm@1f03800 { - compatible = "allwinner,sun50i-a64-pwm", - "allwinner,sun5i-a13-pwm"; + compatible = "allwinner,sun50i-a64-pwm"; reg = <0x01f03800 0x400>; clocks = <&osc24M>; pinctrl-names = "default"; -- 2.35.3