|
@@ -105,4 +105,37 @@ config IIO_ST_MAGN_SPI_3AXIS
|
|
|
depends on IIO_ST_MAGN_3AXIS
|
|
depends on IIO_ST_MAGN_3AXIS
|
|
|
depends on IIO_ST_SENSORS_SPI
|
|
depends on IIO_ST_SENSORS_SPI
|
|
|
|
|
|
|
|
|
|
+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
|
|
endmenu
|