Commit 2017cff2 authored by Peter Meerwald's avatar Peter Meerwald Committed by Jonathan Cameron

iio:bma180: Add BMA250 chip support

the BMA250 has only 10-bit resolution; while the data readout registers
have identical layout, the configuration is completely different compared
to the BMA180

datasheet: http://ae-bst.resource.bosch.com/media/products/dokumente/bma250/BST-BMA250-DS002-05.pdfSigned-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 402a324e
...@@ -6,13 +6,13 @@ ...@@ -6,13 +6,13 @@
menu "Accelerometers" menu "Accelerometers"
config BMA180 config BMA180
tristate "Bosch BMA180 3-Axis Accelerometer Driver" tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver"
depends on I2C depends on I2C
select IIO_BUFFER select IIO_BUFFER
select IIO_TRIGGERED_BUFFER select IIO_TRIGGERED_BUFFER
help help
Say Y here if you want to build a driver for the Bosch BMA180 Say Y here if you want to build a driver for the Bosch BMA180 or
triaxial acceleration sensor. BMA250 triaxial acceleration sensor.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called bma180. module will be called bma180.
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment