[PATCH] ARM: imx35: add iim module to imx35.dtsi

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Sep 8 11:18:18 PDT 2016


Hello Fabio,

On Thu, Sep 08, 2016 at 03:09:17PM -0300, Fabio Estevam wrote:
> On Thu, Sep 8, 2016 at 2:55 PM, Uwe Kleine-König
> <u.kleine-koenig at pengutronix.de> wrote:
> 
> >> Where is "fsl,imx35-iim" defined?
> >
> > right next to the other fsl,imx*-iim :-)
> 
> Ok,  "fsl,imx35-iim" is not being used arch/arm/mach-imx/cpu-imx35.c currently.
> 
> I suppose you want to replace
>  "rev = imx_readl(MX35_IO_ADDRESS(MX35_IIM_BASE_ADDR + MXC_IIMSREV));"
> 
> by retrieving the base address via dt, like we do in
> imx5_read_srev_reg() at arch/arm/mach-imx/cpu-imx5.c.

Yes, that's the plan, imx5_read_srev_reg could even be used for this, so
I intend to rename it and move it to a place where it is compiled for
i.MX[23]5.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list