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

Alessandro Rubini rubini at gnudd.com
Thu May 31 14:02:04 EDT 2012


> But since the device has PrimeCell ID registers, this is really the
> right thing to do anyway, since autodetecting from hardware is
> allways NiceToDo(TM).  Else ST and us shouldn't have put the magic
> numbers (0xB105F00D) in there anyway.

Exactly. The pci-amba.c driver just says "here's an amba thing at
my BAR0 address", and then it is idenfitied automatically. There is
also automatic modalias support in place.

So I'll resubmit in the right way (-M, include/linux/platform_data)
as soon as I have information for ftd fixup.

Thanks
/alessandro



More information about the linux-arm-kernel mailing list