mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 18:21:24 +02:00
iio:gyro:bmg160 Gyro Sensor driver
This change implements support for BMG160 Gyro sensor. Although chip has several advanced features, this change implements minimum set required for using gyro sensor. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
29a9e89548
commit
22b46c45fb
|
|
@ -50,6 +50,17 @@ config ADXRS450
|
||||||
This driver can also be built as a module. If so, the module
|
This driver can also be built as a module. If so, the module
|
||||||
will be called adxrs450.
|
will be called adxrs450.
|
||||||
|
|
||||||
|
config BMG160
|
||||||
|
tristate "BOSCH BMG160 Gyro Sensor"
|
||||||
|
depends on I2C
|
||||||
|
select IIO_TRIGGERED_BUFFER if IIO_BUFFER
|
||||||
|
help
|
||||||
|
Say yes here to build support for Bosch BMG160 Tri-axis Gyro Sensor
|
||||||
|
driver.
|
||||||
|
|
||||||
|
This driver can also be built as a module. If so, the module
|
||||||
|
will be called bmg160.
|
||||||
|
|
||||||
config HID_SENSOR_GYRO_3D
|
config HID_SENSOR_GYRO_3D
|
||||||
depends on HID_SENSOR_HUB
|
depends on HID_SENSOR_HUB
|
||||||
select IIO_BUFFER
|
select IIO_BUFFER
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ obj-$(CONFIG_ADIS16130) += adis16130.o
|
||||||
obj-$(CONFIG_ADIS16136) += adis16136.o
|
obj-$(CONFIG_ADIS16136) += adis16136.o
|
||||||
obj-$(CONFIG_ADIS16260) += adis16260.o
|
obj-$(CONFIG_ADIS16260) += adis16260.o
|
||||||
obj-$(CONFIG_ADXRS450) += adxrs450.o
|
obj-$(CONFIG_ADXRS450) += adxrs450.o
|
||||||
|
obj-$(CONFIG_BMG160) += bmg160.o
|
||||||
|
|
||||||
obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o
|
obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o
|
||||||
|
|
||||||
|
|
|
||||||
1211
drivers/iio/gyro/bmg160.c
Normal file
1211
drivers/iio/gyro/bmg160.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user