1 From 7ecd0bde5bfea524a843ad8fa8cb66ccbce68779 Mon Sep 17 00:00:00 2001
2 From: Fabio Estevam <fabio.estevam@freescale.com>
3 Date: Wed, 14 Jan 2015 11:11:03 -0200
4 Subject: ARM: dts: imx25: Fix PWM "per" clocks
6 From: Fabio Estevam <fabio.estevam@freescale.com>
8 commit 7ecd0bde5bfea524a843ad8fa8cb66ccbce68779 upstream.
10 Currently PWM functionality is broken on mx25 due to the wrong assignment of the
13 According to Documentation/devicetree/bindings/clock/imx25-clock.txt:
16 ,so update the pwm "per" to use 'pwm_ipg_per' instead of 'per10' clock.
18 With this change PWM can work fine on mx25.
20 Reported-by: Carlos Soto <csotoalonso@gmail.com>
21 Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
22 Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
23 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26 arch/arm/boot/dts/imx25.dtsi | 8 ++++----
27 1 file changed, 4 insertions(+), 4 deletions(-)
29 --- a/arch/arm/boot/dts/imx25.dtsi
30 +++ b/arch/arm/boot/dts/imx25.dtsi
32 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
34 reg = <0x53fa0000 0x4000>;
35 - clocks = <&clks 106>, <&clks 36>;
36 + clocks = <&clks 106>, <&clks 52>;
37 clock-names = "ipg", "per";
41 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
43 reg = <0x53fa8000 0x4000>;
44 - clocks = <&clks 107>, <&clks 36>;
45 + clocks = <&clks 107>, <&clks 52>;
46 clock-names = "ipg", "per";
51 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
52 reg = <0x53fc8000 0x4000>;
53 - clocks = <&clks 108>, <&clks 36>;
54 + clocks = <&clks 108>, <&clks 52>;
55 clock-names = "ipg", "per";
59 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
61 reg = <0x53fe0000 0x4000>;
62 - clocks = <&clks 105>, <&clks 36>;
63 + clocks = <&clks 105>, <&clks 52>;
64 clock-names = "ipg", "per";