diff options
author | Daniel Baluta <daniel.baluta@intel.com> | 2015-04-24 18:58:30 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-10 20:31:45 +0100 |
commit | abeb6b1e7bbffb3dbcd918827673feafecc378d1 (patch) | |
tree | 8cf2d048694f665e784bd5b77b9e5396e09bbc2b /drivers/iio/magnetometer/Kconfig | |
parent | 5990dc9703679a6c9eef17ca042edb755541d6b1 (diff) | |
download | talos-op-linux-abeb6b1e7bbffb3dbcd918827673feafecc378d1.tar.gz talos-op-linux-abeb6b1e7bbffb3dbcd918827673feafecc378d1.zip |
iio: magnetometer: Add support for MEMSIC MMC35240 sensor
Minimal implementation for MMC35240 3-axis magnetometer
sensor. It provides processed readings and possiblity to change
the sampling frequency.
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/magnetometer/Kconfig')
-rw-r--r-- | drivers/iio/magnetometer/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig index 9746a2a88640..dcadfc4f0661 100644 --- a/drivers/iio/magnetometer/Kconfig +++ b/drivers/iio/magnetometer/Kconfig @@ -47,6 +47,17 @@ config HID_SENSOR_MAGNETOMETER_3D Say yes here to build support for the HID SENSOR Magnetometer 3D. +config MMC35240 + tristate "MEMSIC MMC35240 3-axis magnetic sensor" + select REGMAP_I2C + depends on I2C + help + Say yes here to build support for the MEMSIC MMC35240 3-axis + magnetic sensor. + + To compile this driver as a module, choose M here: the module + will be called mmc35240. + config IIO_ST_MAGN_3AXIS tristate "STMicroelectronics magnetometers 3-Axis Driver" depends on (I2C || SPI_MASTER) && SYSFS |