diff mbox

ARM: mx5: Fix MX53 flexcan2 clock

Message ID 1357568820-15426-1-git-send-email-marex@denx.de (mailing list archive)
State New, archived
Headers show

Commit Message

Marek Vasut Jan. 7, 2013, 2:27 p.m. UTC
The second FlexCAN port uses different clock than the first one, configure
correct clock to prevent hanging of the system during bringing up of the port.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
---
 arch/arm/boot/dts/imx53.dtsi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sascha Hauer Jan. 7, 2013, 5:12 p.m. UTC | #1
On Mon, Jan 07, 2013 at 03:27:00PM +0100, Marek Vasut wrote:
> The second FlexCAN port uses different clock than the first one, configure
> correct clock to prevent hanging of the system during bringing up of the port.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>
> Cc: Shawn Guo <shawn.guo@linaro.org>

Looks Good.

Acked-by: Sascha Hauer <s.hauer@pengutronix.de>

Sascha

> ---
>  arch/arm/boot/dts/imx53.dtsi |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi
> index 5b59763..abe0f0b 100644
> --- a/arch/arm/boot/dts/imx53.dtsi
> +++ b/arch/arm/boot/dts/imx53.dtsi
> @@ -614,7 +614,7 @@
>  				compatible = "fsl,imx53-flexcan", "fsl,p1010-flexcan";
>  				reg = <0x53fcc000 0x4000>;
>  				interrupts = <83>;
> -				clocks = <&clks 158>, <&clks 157>;
> +				clocks = <&clks 87>, <&clks 86>;
>  				clock-names = "ipg", "per";
>  				status = "disabled";
>  			};
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
Shawn Guo Jan. 8, 2013, 12:54 a.m. UTC | #2
On Mon, Jan 07, 2013 at 06:12:24PM +0100, Sascha Hauer wrote:
> On Mon, Jan 07, 2013 at 03:27:00PM +0100, Marek Vasut wrote:
> > The second FlexCAN port uses different clock than the first one, configure
> > correct clock to prevent hanging of the system during bringing up of the port.
> > 
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > Cc: Fabio Estevam <fabio.estevam@freescale.com>
> > Cc: Shawn Guo <shawn.guo@linaro.org>
> 
> Looks Good.
> 
> Acked-by: Sascha Hauer <s.hauer@pengutronix.de>

Applied, thanks.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi
index 5b59763..abe0f0b 100644
--- a/arch/arm/boot/dts/imx53.dtsi
+++ b/arch/arm/boot/dts/imx53.dtsi
@@ -614,7 +614,7 @@ 
 				compatible = "fsl,imx53-flexcan", "fsl,p1010-flexcan";
 				reg = <0x53fcc000 0x4000>;
 				interrupts = <83>;
-				clocks = <&clks 158>, <&clks 157>;
+				clocks = <&clks 87>, <&clks 86>;
 				clock-names = "ipg", "per";
 				status = "disabled";
 			};