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

From: Ben Dooks
Date: Thu May 31 2012 - 04:48:13 EST


On 31/05/12 02:51, Linus Walleij wrote:
On Thu, May 31, 2012 at 1:45 AM, Alessandro Rubini<rubini@xxxxxxxxx> 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@xxxxxxxxx>
Acked-by: Giancarlo Asnaghi<giancarlo.asnaghi@xxxxxx>
Cc: Srinidhi Kasagar<srinidhi.kasagar@xxxxxxxxxxxxxx>
Cc: STEricsson_nomadik_linux@xxxxxxxxxxx
Cc: Linus Walleij<linus.walleij@xxxxxxxxxxxxxx>

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.

What does AMBA win us over the platform device here?

--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/