1#
2# Magnetometer sensors
3#
4menu "Magnetometer sensors"
5
6config SENSORS_HMC5843
7	tristate
8	select IIO_BUFFER
9	select IIO_TRIGGERED_BUFFER
10
11config SENSORS_HMC5843_I2C
12	tristate "Honeywell HMC5843/5883/5883L 3-Axis Magnetometer (I2C)"
13	depends on I2C
14	select SENSORS_HMC5843
15	select REGMAP_I2C
16	help
17	  Say Y here to add support for the Honeywell HMC5843, HMC5883 and
18	  HMC5883L 3-Axis Magnetometer (digital compass).
19
20	  This driver can also be compiled as a set of modules.
21	  If so, these modules will be created:
22	  - hmc5843_core (core functions)
23	  - hmc5843_i2c (support for HMC5843, HMC5883, HMC5883L and HMC5983)
24
25config SENSORS_HMC5843_SPI
26	tristate "Honeywell HMC5983 3-Axis Magnetometer (SPI)"
27	depends on SPI_MASTER
28	select SENSORS_HMC5843
29	select REGMAP_SPI
30	help
31	  Say Y here to add support for the Honeywell HMC5983 3-Axis Magnetometer
32	  (digital compass).
33
34	  This driver can also be compiled as a set of modules.
35	  If so, these modules will be created:
36	  - hmc5843_core (core functions)
37	  - hmc5843_spi (support for HMC5983)
38
39
40endmenu
41