[PATCH RFC 2/3] i2c-nomadik: turn the platform driver to an amba driver

Linus Walleij linus.walleij at linaro.org
Wed May 30 21:51:14 EDT 2012


On Thu, May 31, 2012 at 1:45 AM, Alessandro Rubini <rubini at gnudd.com> wrote:

> The i2c-nomadik gateware is really a PrimeCell APB device. By hosting
> the driver under the amba bus we can access it more easily, for
> example using the generic pci-amba driver. The patch also fixes the
> mach-ux500 users to register an AMBA device, not a platform device.
>
> Signed-off-by: Alessandro Rubini <rubini at gnudd.com>
> Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi at st.com>
> Cc: Srinidhi Kasagar <srinidhi.kasagar at stericsson.com>
> Cc: STEricsson_nomadik_linux at list.st.com
> Cc: Linus Walleij <linus.walleij at stericsson.com>

This will affect Lee Jones' device tree bindings for the same device.

You will need some add-on patch to the db8500 device tree moving this
over to the AMBA (PrimeCell) bus abstraction.

Lee can you test this and help Alessandro add the proper chunks to
the device tree as well?

Apart from that this looks good to me, I'll test it on the MOP500
as soon as I can.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list