[PATCH 3/5] ARM: MX3: add SPI devices for mx31lite

Sascha Hauer s.hauer at pengutronix.de
Thu Nov 19 03:38:25 EST 2009


On Wed, Nov 18, 2009 at 04:42:56PM +0100, Daniel Mack wrote:
> 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,

Looking at the SPI code I see no reason why it shouldn't be possible to call
spi_register_board_info multiple times.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the linux-arm-kernel mailing list