[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190925013941.20431-1-dan@dlrobertson.com>
Date: Wed, 25 Sep 2019 01:39:40 +0000
From: Dan Robertson <dan@...obertson.com>
To: Jonathan Cameron <jic23@...nel.org>, linux-iio@...r.kernel.org
Cc: Dan Robertson <dan@...obertson.com>, linux-kernel@...r.kernel.org
Subject: [PATCH 0/1] iio: add driver for Bosch BMA400 accelerometer
Add a IIO driver for the Bosch BMA400 3-axes ultra low-power accelerometer.
The initial implementation of the driver adds read support for the
acceleration and temperature data registers. The driver also has support for
reading and writing to the output data rate, oversampling ratio, and scale
configuration registers.
Comments and feedback are very much welcomed :)
Cheers,
- Dan
Dan Robertson (1):
iio: (bma400) add driver for the BMA400
drivers/iio/accel/Kconfig | 19 +
drivers/iio/accel/Makefile | 2 +
drivers/iio/accel/bma400.h | 74 +++
drivers/iio/accel/bma400_core.c | 862 ++++++++++++++++++++++++++++++++
drivers/iio/accel/bma400_i2c.c | 54 ++
5 files changed, 1011 insertions(+)
create mode 100644 drivers/iio/accel/bma400.h
create mode 100644 drivers/iio/accel/bma400_core.c
create mode 100644 drivers/iio/accel/bma400_i2c.c
Powered by blists - more mailing lists