# SPDX-License-Identifier: GPL-2.0-only
#
# Magnetometer sensors
#
# When adding new entries keep the list in alphabetical order
menu "Magnetometer sensors"
config [31mCONFIG_AK8974[0m
tristate "Asahi Kasei AK8974 3-Axis Magnetometer"
depends on [31mCONFIG_I2C[0m
depends on [31mCONFIG_OF[0m
select [31mCONFIG_REGMAP_I2C[0m
select [31mCONFIG_IIO_BUFFER[0m
select [31mCONFIG_IIO_TRIGGERED_BUFFER[0m
help
Say yes here to build support for Asahi Kasei [31mCONFIG_AK8974[0m, AMI305 or
AMI306 [31mCONFIG_I2C[0m-based 3-axis magnetometer chips.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the module
will be called ak8974.
config [31mCONFIG_AK8975[0m
tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
depends on [31mCONFIG_I2C[0m
depends on [31mCONFIG_GPIOLIB[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_IIO_BUFFER[0m
select [31mCONFIG_IIO_TRIGGERED_BUFFER[0m
help
Say yes here to build support for Asahi Kasei [31mCONFIG_AK8975[0m, AK8963,
[31mCONFIG_AK09911[0m or AK09912 3-Axis Magnetometer.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the module
will be called ak8975.
config [31mCONFIG_AK09911[0m
tristate "Asahi Kasei AK09911 3-axis Compass"
depends on [31mCONFIG_I2C[0m
depends on [31mCONFIG_GPIOLIB[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_AK8975[0m
help
Deprecated: [31mCONFIG_AK09911[0m is now supported by [31mCONFIG_AK8975[0m driver.
config [31mCONFIG_BMC150_MAGN[0m
tristate
select [31mCONFIG_IIO_BUFFER[0m
select [31mCONFIG_IIO_TRIGGERED_BUFFER[0m
config [31mCONFIG_BMC150_MAGN_I2C[0m
tristate "Bosch BMC150 I2C Magnetometer Driver"
depends on [31mCONFIG_I2C[0m
select [31mCONFIG_BMC150_MAGN[0m
select [31mCONFIG_REGMAP_I2C[0m
help
Say yes here to build support for the BMC150 magnetometer with
[31mCONFIG_I2C[0m interface.
This is a combo module with both accelerometer and magnetometer.
This driver is only implementing magnetometer part, which has
its own address and register map.
This driver also supports [31mCONFIG_I2C[0m Bosch BMC156 and BMM150 chips.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the module will be
called bmc150_magn_i2c.
config [31mCONFIG_BMC150_MAGN_SPI[0m
tristate "Bosch BMC150 SPI Magnetometer Driver"
depends on [31mCONFIG_SPI[0m
select [31mCONFIG_BMC150_MAGN[0m
select [31mCONFIG_REGMAP_SPI[0m
help
Say yes here to build support for the BMC150 magnetometer with
[31mCONFIG_SPI[0m interface.
This is a combo module with both accelerometer and magnetometer.
This driver is only implementing magnetometer part, which has
its own address and register map.
This driver also supports [31mCONFIG_SPI[0m Bosch BMC156 and BMM150 chips.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the module will be
called bmc150_magn_spi.
config [31mCONFIG_MAG3110[0m
tristate "Freescale MAG3110 3-Axis Magnetometer"
depends on [31mCONFIG_I2C[0m
select [31mCONFIG_IIO_BUFFER[0m
select [31mCONFIG_IIO_TRIGGERED_BUFFER[0m
help
Say yes here to build support for the Freescale [31mCONFIG_MAG3110[0m 3-Axis
magnetometer.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the module
will be called mag3110.
config [31mCONFIG_HID_SENSOR_MAGNETOMETER_3D[0m
depends on [31mCONFIG_HID_SENSOR_HUB[0m
select [31mCONFIG_IIO_BUFFER[0m
select [31mCONFIG_IIO_TRIGGERED_BUFFER[0m
select [31mCONFIG_HID_SENSOR_IIO_COMMON[0m
select [31mCONFIG_HID_SENSOR_IIO_TRIGGER[0m
tristate "HID Magenetometer 3D"
help
Say yes here to build support for the [31mCONFIG_HID[0m SENSOR
Magnetometer 3D.
config [31mCONFIG_MMC35240[0m
tristate "MEMSIC MMC35240 3-axis magnetic sensor"
select [31mCONFIG_REGMAP_I2C[0m
depends on [31mCONFIG_I2C[0m
help
Say yes here to build support for the MEMSIC [31mCONFIG_MMC35240[0m 3-axis
magnetic sensor.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the module
will be called mmc35240.
config [31mCONFIG_IIO_ST_MAGN_3AXIS[0m
tristate "STMicroelectronics magnetometers 3-Axis Driver"
depends on ([31mCONFIG_I2C[0m || [31mCONFIG_SPI_MASTER[0m) && [31mCONFIG_SYSFS[0m
select [31mCONFIG_IIO_ST_SENSORS_CORE[0m
select [31mCONFIG_IIO_ST_MAGN_I2C_3AXIS[0m if ([31mCONFIG_I2C[0m)
select [31mCONFIG_IIO_ST_MAGN_SPI_3AXIS[0m if ([31mCONFIG_SPI_MASTER[0m)
select [31mCONFIG_IIO_TRIGGERED_BUFFER[0m if ([31mCONFIG_IIO_BUFFER[0m)
help
Say yes here to build support for STMicroelectronics magnetometers:
LSM303DLHC, LSM303DLM, LIS3MDL.
This driver can also be built as a module. If so, these modules
will be created:
- st_magn (core functions for the driver [it is mandatory]);
- st_magn_i2c (necessary for the [31mCONFIG_I2C[0m devices [optional*]);
- st_magn_spi (necessary for the [31mCONFIG_SPI[0m devices [optional*]);
(*) one of these is necessary to do something.
config [31mCONFIG_IIO_ST_MAGN_I2C_3AXIS[0m
tristate
depends on [31mCONFIG_IIO_ST_MAGN_3AXIS[0m
depends on [31mCONFIG_IIO_ST_SENSORS_I2C[0m
config [31mCONFIG_IIO_ST_MAGN_SPI_3AXIS[0m
tristate
depends on [31mCONFIG_IIO_ST_MAGN_3AXIS[0m
depends on [31mCONFIG_IIO_ST_SENSORS_SPI[0m
config [31mCONFIG_SENSORS_HMC5843[0m
tristate
select [31mCONFIG_IIO_BUFFER[0m
select [31mCONFIG_IIO_TRIGGERED_BUFFER[0m
config [31mCONFIG_SENSORS_HMC5843_I2C[0m
tristate "Honeywell HMC5843/5883/5883L 3-Axis Magnetometer (I2C)"
depends on [31mCONFIG_I2C[0m
select [31mCONFIG_SENSORS_HMC5843[0m
select [31mCONFIG_REGMAP_I2C[0m
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 [31mCONFIG_SENSORS_HMC5843_SPI[0m
tristate "Honeywell HMC5983 3-Axis Magnetometer (SPI)"
depends on [31mCONFIG_SPI_MASTER[0m
select [31mCONFIG_SENSORS_HMC5843[0m
select [31mCONFIG_REGMAP_SPI[0m
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)
config [31mCONFIG_SENSORS_RM3100[0m
tristate
select [31mCONFIG_IIO_BUFFER[0m
select [31mCONFIG_IIO_TRIGGERED_BUFFER[0m
config [31mCONFIG_SENSORS_RM3100_I2C[0m
tristate "PNI RM3100 3-Axis Magnetometer (I2C)"
depends on [31mCONFIG_I2C[0m
select [31mCONFIG_SENSORS_RM3100[0m
select [31mCONFIG_REGMAP_I2C[0m
help
Say Y here to add support for the PNI RM3100 3-Axis Magnetometer.
This driver can also be compiled as a module.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the module
will be called rm3100-i2c.
config [31mCONFIG_SENSORS_RM3100_SPI[0m
tristate "PNI RM3100 3-Axis Magnetometer (SPI)"
depends on [31mCONFIG_SPI_MASTER[0m
select [31mCONFIG_SENSORS_RM3100[0m
select [31mCONFIG_REGMAP_SPI[0m
help
Say Y here to add support for the PNI RM3100 3-Axis Magnetometer.
This driver can also be compiled as a module.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the module
will be called rm3100-spi.
endmenu