diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2013-10-21 21:53:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-23 17:43:11 +0100 |
commit | 39631b5f9584672d0b7de92619f85a113837600b (patch) | |
tree | 619c39eb8dcc2e67ad70c97a46ea7f25ffc3fbe3 /drivers/iio/magnetometer/Kconfig | |
parent | 2ab61fa04722d74df1154c6a03e6eb8923b22ab0 (diff) | |
download | lwn-39631b5f9584672d0b7de92619f85a113837600b.tar.gz lwn-39631b5f9584672d0b7de92619f85a113837600b.zip |
iio: Add Freescale mag3110 magnetometer driver
three-axis digital magnetometer with I2C interface
datasheet is available from
http://cache.freescale.com/files/sensors/doc/data_sheet/MAG3110.pdf
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/magnetometer/Kconfig')
-rw-r--r-- | drivers/iio/magnetometer/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig index 4fa923f37b97..0cf09637b35b 100644 --- a/drivers/iio/magnetometer/Kconfig +++ b/drivers/iio/magnetometer/Kconfig @@ -16,6 +16,16 @@ config AK8975 To compile this driver as a module, choose M here: the module will be called ak8975. +config MAG3110 + tristate "Freescale MAG3110 3-Axis Magnetometer" + depends on I2C + help + Say yes here to build support for the Freescale MAG3110 3-Axis + magnetometer. + + To compile this driver as a module, choose M here: the module + will be called mag3110. + config HID_SENSOR_MAGNETOMETER_3D depends on HID_SENSOR_HUB select IIO_BUFFER |