drivers/spi: Add an SPI character driver that will permit access to the SPI bus for testing purposes. This driver is a simple wrapper around spi_transfer().

This commit is contained in:
Gregory Nutt
2016-08-05 11:07:35 -06:00
parent 7da67bc80a
commit 7048d08123
6 changed files with 489 additions and 10 deletions
+5
View File
@@ -30,5 +30,10 @@ config I2C_NTRACE
config I2C_DRIVER
bool "I2C character driver"
default n
---help---
Build in support for a character driver at /dev/i2c[N] that may be
used to perform I2C bus transfers from applications. The intent of
this driver is to support I2C testing. It is not suitable for use
in any real driver application.
endif # I2C