diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-12-11 22:38:19 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-12-30 16:29:09 +0000 |
commit | c1d1c4a62db5c4745b9e15cfee0daf0f774f73fc (patch) | |
tree | ae7f62cc4f77a9d56277c2d678dbfa3fd8cc967c /drivers/iio/accel/bmc150-accel-i2c.c | |
parent | ae9685992cd542b7881ff1d64a4bfd7ba509c3bb (diff) |
iio: accel: bma180: BMA254 support
This adds support for the BMA254 variant of this
accelerometer. The only difference for the simple IIO
driver is that values are 12 bit and the temperature
offset differs by 1 degree.
Whilst wildcards in naming are normally frowned upon:
The cases where I have labeled variables "25x" is where the
models are identical, so as to make things easier for people
that want to add support for BMA253 and BMA255.
Cc: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/bmc150-accel-i2c.c')
0 files changed, 0 insertions, 0 deletions