diff options
Diffstat (limited to 'kernel/drivers/staging/iio/magnetometer/Kconfig')
-rw-r--r-- | kernel/drivers/staging/iio/magnetometer/Kconfig | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/kernel/drivers/staging/iio/magnetometer/Kconfig b/kernel/drivers/staging/iio/magnetometer/Kconfig new file mode 100644 index 000000000..dec814a7a --- /dev/null +++ b/kernel/drivers/staging/iio/magnetometer/Kconfig @@ -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 |