Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / drivers / staging / iio / magnetometer / Kconfig
diff --git a/kernel/drivers/staging/iio/magnetometer/Kconfig b/kernel/drivers/staging/iio/magnetometer/Kconfig
new file mode 100644 (file)
index 0000000..dec814a
--- /dev/null
@@ -0,0 +1,40 @@
+#
+# Magnetometer sensors
+#
+menu "Magnetometer sensors"
+
+config SENSORS_HMC5843
+       tristate
+       select IIO_BUFFER
+       select IIO_TRIGGERED_BUFFER
+
+config SENSORS_HMC5843_I2C
+       tristate "Honeywell HMC5843/5883/5883L 3-Axis Magnetometer (I2C)"
+       depends on I2C
+       select SENSORS_HMC5843
+       select REGMAP_I2C
+       help
+         Say Y here to add support for the Honeywell HMC5843, HMC5883 and
+         HMC5883L 3-Axis Magnetometer (digital compass).
+
+         This driver can also be compiled as a set of modules.
+         If so, these modules will be created:
+         - hmc5843_core (core functions)
+         - hmc5843_i2c (support for HMC5843, HMC5883, HMC5883L and HMC5983)
+
+config SENSORS_HMC5843_SPI
+       tristate "Honeywell HMC5983 3-Axis Magnetometer (SPI)"
+       depends on SPI_MASTER
+       select SENSORS_HMC5843
+       select REGMAP_SPI
+       help
+         Say Y here to add support for the Honeywell HMC5983 3-Axis Magnetometer
+         (digital compass).
+
+         This driver can also be compiled as a set of modules.
+         If so, these modules will be created:
+         - hmc5843_core (core functions)
+         - hmc5843_spi (support for HMC5983)
+
+
+endmenu