[PATCH 3/5] ARM: MX3: add SPI devices for mx31lite
Daniel Mack
daniel at caiaq.de
Wed Nov 18 10:42:56 EST 2009
On Wed, Nov 18, 2009 at 04:37:08PM +0100, Sascha Hauer wrote:
> On Wed, Nov 18, 2009 at 02:41:40PM +0100, Daniel Mack wrote:
> > /*
> > + * SPI
> > + *
> > + * The MX13783 is hard-wired on the module, hence the corresponding
> > + * bus is registered here and not in the board code, in contrast to
> > + * the other SPI bus.
> > + */
>
>
> The mc13783 bus is registered in the -db file, and not here. I think you
> mixed something up here.
Hmm, no, that actually correct. The problem is that all devices on the
SPI bus have to be registered in one block via spi_register_board_info,
and as I don't know whether other boards will have more devices
connected, the registration is done in the board support file, not in
the module code.
The bus itself, however, is hardwired, so it makes no sense to add it
conditionally.
> s/MX13783/MC13783/
That's true :) Care to fix it on the fly or do you want me to resend?
There is btw another typo in the first mail of this series: In its
subject, it should have 'ARM' not 'ARN'.
The tradeoff of too small terminal fonts ;)
Daniel
More information about the linux-arm-kernel
mailing list