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" <[email protected]> a écrit : > > On Tue, Jan 31, 2012 at 04:54:06PM +0100, Tobias Klauser wrote: > > From: Frederic Lambert <[email protected]> > > > > 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...
_______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
