iio: accel: bma400: add support for bma400 spi

Add basic support for the Bosch Sensortec BMA400 3-axes ultra-low power
accelerometer when configured to use SPI.

Signed-off-by: Dan Robertson <dan@dlrobertson.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Dan Robertson 2020-05-30 19:10:10 +00:00 • committed by Jonathan Cameron
commit 9bea106423
3 changed files with 128 additions and 1 deletions