[PATCH v3 0/3] Spidev usability patchset update

From: Michal Suchanek
Date: Mon Jul 18 2016 - 18:35:59 EST


this simplifies spidev to not pose as SPI driver but instead attach a character
device on each SPI slave indiscriminately. This does not require spidev to be
matched during driver binding and hence does not require it to be specified in

Any SPI slave device for which a driver is not bound to start with or from
which it is unbound is accessible with spidev.

Constructive comments on improving this patchset are welcome.



Michal Suchanek (3):
spi: spidev: create spidev device for all spi slaves.
spi: of: allow instantiating slaves without a driver
spi: core: allow creating devices without spi-max-frequency

Documentation/spi/spidev | 40 ++---
drivers/spi/Kconfig | 2 +-
drivers/spi/spi.c | 28 +++-
drivers/spi/spidev.c | 370 ++++++++++++++++++++---------------------------
include/linux/spi/spi.h | 14 ++
5 files changed, 201 insertions(+), 253 deletions(-)