summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer/Kconfig
diff options
context:
space:
mode:
authorDaniel Baluta2015-04-24 17:58:30 +0200
committerJonathan Cameron2015-05-10 21:31:45 +0200
commitabeb6b1e7bbffb3dbcd918827673feafecc378d1 (patch)
tree8cf2d048694f665e784bd5b77b9e5396e09bbc2b /drivers/iio/magnetometer/Kconfig
parentiio: magn: bmc150_magn: add oversampling ratio (diff)
downloadkernel-qcow2-linux-abeb6b1e7bbffb3dbcd918827673feafecc378d1.tar.gz
kernel-qcow2-linux-abeb6b1e7bbffb3dbcd918827673feafecc378d1.tar.xz
kernel-qcow2-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/Kconfig11
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