Re: [PATCH V2 RESEND] clk: mxs: Fix invalid 32-bit access to frac registers

Stefan Wahren
2015-02-10T21:25:19Z

Hi Fabio,

> Fabio Estevam <festevam@gmail.com> hat am 10. Februar 2015 um 16:06
> geschrieben:
>
>
> Hi Stefan,
>
> On Tue, Feb 10, 2015 at 11:55 AM, Stefan Wahren <stefan.wahren@i2se.com>
> wrote:
>
> > Could you apply only the clk-imx28.c part of my patch and see what happens?
>
> If I apply only the clk-imx28.c part of your patch I can successfully
> probe the SPI NOR.

thanks this is very helpful. I built the linux-next for my Duckbill and add the
SSP2 section from imx28-evk.dts into imx28-duckbill.dts.

Without my patch i get the following for HW_CLKCTRL_FRAC0:

./memwatch -a 0x800401B0

0x800401b0: 0x5e5b5513

With my patch i get:

./memwatch -a 0x800401B0

0x800401b0: 0x5e1b5513

So it looks like a problem in my patch.

I orded such a flash chip, but it will take some time until i can use it with my
hardware.

Stefan

>
> Thanks
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel