diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2014-05-08 17:57:00 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-08-07 06:43:49 -0400 |
commit | bd7fe5b7191836a229981fdd83845a528ee9f846 (patch) | |
tree | b86fbe9465378076b3f3881bdd9dd915428adcb3 /drivers/iio/accel/Kconfig | |
parent | a735e3d7f03ab40d746290954baaf535719d9025 (diff) |
iio: accel: BMC150 accel support
This change implements BMC150 accelerometer driver. A BMC150 package
consist of a compass and an accelerometer. This driver only implements
accelerometer part.
Spec downloaded from:
http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-03.pdf
This sensor chip supports many advanced features, but this driver
implements minimum feature set which is a must to be useful.
This driver can be enhanced incrementally.
If the sensor vendor wants to update full featured version, they
can substitute or enhance this driver when they get chance.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Kconfig')
-rw-r--r-- | drivers/iio/accel/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig index 12addf272a61..5704d6bc2267 100644 --- a/drivers/iio/accel/Kconfig +++ b/drivers/iio/accel/Kconfig | |||
@@ -17,6 +17,19 @@ config BMA180 | |||
17 | To compile this driver as a module, choose M here: the | 17 | To compile this driver as a module, choose M here: the |
18 | module will be called bma180. | 18 | module will be called bma180. |
19 | 19 | ||
20 | config BMC150_ACCEL | ||
21 | tristate "Bosch BMC150 Accelerometer Driver" | ||
22 | depends on I2C | ||
23 | select IIO_BUFFER | ||
24 | select IIO_TRIGGERED_BUFFER | ||
25 | help | ||
26 | Say yes here to build support for the Bosch BMC150 accelerometer. | ||
27 | Currently this only supports the device via an i2c interface. | ||
28 | |||
29 | This is a combo module with both accelerometer and magnetometer. | ||
30 | This driver is only implementing accelerometer part, which has | ||
31 | its own address and register map. | ||
32 | |||
20 | config HID_SENSOR_ACCEL_3D | 33 | config HID_SENSOR_ACCEL_3D |
21 | depends on HID_SENSOR_HUB | 34 | depends on HID_SENSOR_HUB |
22 | select IIO_BUFFER | 35 | select IIO_BUFFER |