[PATCH] spi/spi-altera: Allow to explicitely override bus number via dts

Frederic LAMBERT frdrc66 at gmail.com
Thu Feb 2 01:01:53 EST 2012


Because this bus number is used to create the device name on
/sys/bus/spi/..., name that the user app must know to work with.

Le 1 févr. 2012 14:55, "Mark Brown" <broonie at sirena.org.uk> a écrit :
>
> On Tue, Jan 31, 2012 at 04:54:06PM +0100, Tobias Klauser wrote:
> > From: Frederic Lambert <frdrc66 at gmail.com>
> >
> > Until now we let the code in spi.c assign us the bus number if the
platform
> > device didn't specify its id. This patch adds the possibility to
explicitely
> > specify the bus number via device tree.
>
> Why would this be required?  Bus numbers are a Linux specific thing...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20120201/0b24e45f/attachment-0001.html>


More information about the devicetree-discuss mailing list