> Don't top post! I do what I can with my Google phone :-) > > 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. > > Why must the user application know this? What is missing to allow the > application to discover an appropriate device to work with automatically?
Good question. I have a nvSRAM that I access using the AT25 driver, and I don't know how access it without its /sys/bus/ name. If there is another way, it is worse to consider it. I think a similar way is used to read/write GPIOs... Before DTS, it was possible to set the SPI bus number in arch/nios2/kernel/config.c (in the case of our NIOS2 Linux port), but now, without such a patch, it's not possible anymore. For me, it is a regression! Fred ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
