<p>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.</p>
<p>Le 1 févr. 2012 14:55, "Mark Brown" <<a href="mailto:broonie@sirena.org.uk">broonie@sirena.org.uk</a>> a écrit :<br>
><br>
> On Tue, Jan 31, 2012 at 04:54:06PM +0100, Tobias Klauser wrote:<br>
> > From: Frederic Lambert <<a href="mailto:frdrc66@gmail.com">frdrc66@gmail.com</a>><br>
> ><br>
> > Until now we let the code in spi.c assign us the bus number if the platform<br>
> > device didn't specify its id. This patch adds the possibility to explicitely<br>
> > specify the bus number via device tree.<br>
><br>
> Why would this be required? Bus numbers are a Linux specific thing...<br>
</p>