Re: [RFC 2/2] spi core: Add new sysfs 'num_chipselect' file

2016-04-18 Thread Mark Brown
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

Re: [RFC 2/2] spi core: Add new sysfs 'num_chipselect' file

2016-04-18 Thread Mark Brown
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

[RFC 2/2] spi core: Add new sysfs 'num_chipselect' file

2016-04-18 Thread Bhuvanchandra DV
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. Signed-off-by: Bhuvanchandra DV

[RFC 2/2] spi core: Add new sysfs 'num_chipselect' file

2016-04-18 Thread Bhuvanchandra DV
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. Signed-off-by: Bhuvanchandra DV Signed-off-by: Stefan Agner ---