From 8bccd540d8d254627f7187e8845cc1e6cde9560f Mon Sep 17 00:00:00 2001 From: Robby Cai Date: Tue, 8 Nov 2016 08:54:14 +0800 Subject: [PATCH] MLK-13439 ARM: dts: imx6sll: correct clock property for pwm PWM driver expects two clocks, so correct it to meet this requirement. Otherwise pwm can not work properly, neither does the backlight (using pwm1). Signed-off-by: Robby Cai --- arch/arm/boot/dts/imx6sll.dtsi | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6sll.dtsi b/arch/arm/boot/dts/imx6sll.dtsi index dd5a38fb0506..93764272b8b4 100644 --- a/arch/arm/boot/dts/imx6sll.dtsi +++ b/arch/arm/boot/dts/imx6sll.dtsi @@ -354,7 +354,9 @@ compatible = "fsl,imx6sll-pwm", "fsl,imx27-pwm"; reg = <0x02080000 0x4000>; interrupts = ; - clocks = <&clks IMX6SLL_CLK_PWM1>; + clocks = <&clks IMX6SLL_CLK_PWM1>, + <&clks IMX6SLL_CLK_PWM1>; + clock-names = "ipg", "per"; #pwm-cells = <2>; }; @@ -362,7 +364,9 @@ compatible = "fsl,imx6sll-pwm", "fsl,imx27-pwm"; reg = <0x02084000 0x4000>; interrupts = ; - clocks = <&clks IMX6SLL_CLK_PWM2>; + clocks = <&clks IMX6SLL_CLK_PWM2>, + <&clks IMX6SLL_CLK_PWM2>; + clock-names = "ipg", "per"; #pwm-cells = <2>; }; @@ -370,7 +374,9 @@ compatible = "fsl,imx6sll-pwm", "fsl,imx27-pwm"; reg = <0x02088000 0x4000>; interrupts = ; - clocks = <&clks IMX6SLL_CLK_PWM3>; + clocks = <&clks IMX6SLL_CLK_PWM3>, + <&clks IMX6SLL_CLK_PWM3>; + clock-names = "ipg", "per"; #pwm-cells = <2>; }; @@ -378,7 +384,9 @@ compatible = "fsl,imx6sll-pwm", "fsl,imx27-pwm"; reg = <0x0208c000 0x4000>; interrupts = ; - clocks = <&clks IMX6SLL_CLK_PWM4>; + clocks = <&clks IMX6SLL_CLK_PWM4>, + <&clks IMX6SLL_CLK_PWM4>; + clock-names = "ipg", "per"; #pwm-cells = <2>; }; -- 2.17.1