mbox series

[v2,0/1] iio: accel: bma400: add support for bma400 spi

Message ID 20200530191010.4302-1-dan@dlrobertson.com (mailing list archive)
Headers show
Series iio: accel: bma400: add support for bma400 spi | expand

Message

Dan Robertson May 30, 2020, 7:10 p.m. UTC
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