The Bosch Sensortec BMA400 3-axes ultra-low power supports a 4 wire SPI ditital interface. This patch adds support for the device when configured for SPI instead of I2C. Cheers, - Dan Changes in v2 - Addressed code review comments - Fixed bad Kconfig selects - Fixed comments Dan Robertson (1): iio: accel: bma400: add support for bma400 spi drivers/iio/accel/Kconfig | 8 ++- drivers/iio/accel/Makefile | 1 + drivers/iio/accel/bma400_spi.c | 120 +++++++++++++++++++++++++++++++++ 3 files changed, 128 insertions(+), 1 deletion(-) create mode 100644 drivers/iio/accel/bma400_spi.c