Messages in this thread | | | Date | Mon, 18 Apr 2016 13:14:30 +0100 | From | Mark Brown <> | Subject | Re: [RFC 2/2] spi core: Add new sysfs 'num_chipselect' file |
| |
On Mon, Apr 18, 2016 at 04:48:28PM +0530, Bhuvanchandra DV wrote: > Add new sysfs 'num_chipselect' file to expose the maximum number > of chipselects a SPI master can support. > This allows to create a script in user space which automatically > creates a new spidev instance for every chipselect on a bus.
This does not seem like a good idea, even if a chip select is supported in the IP that doesn't mean it's brought out safely on a board and pinmuxing may mean that the set of chip selects that can be used is sparse. [unhandled content-type:application/pgp-signature] | |