.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | # |
---|
2 | 3 | # Magnetometer sensors |
---|
3 | 4 | # |
---|
.. | .. |
---|
94 | 95 | config HID_SENSOR_MAGNETOMETER_3D |
---|
95 | 96 | depends on HID_SENSOR_HUB |
---|
96 | 97 | select IIO_BUFFER |
---|
97 | | - select IIO_TRIGGERED_BUFFER |
---|
98 | 98 | select HID_SENSOR_IIO_COMMON |
---|
99 | 99 | select HID_SENSOR_IIO_TRIGGER |
---|
100 | 100 | tristate "HID Magenetometer 3D" |
---|
.. | .. |
---|
175 | 175 | - hmc5843_core (core functions) |
---|
176 | 176 | - hmc5843_spi (support for HMC5983) |
---|
177 | 177 | |
---|
| 178 | +config SENSORS_RM3100 |
---|
| 179 | + tristate |
---|
| 180 | + select IIO_BUFFER |
---|
| 181 | + select IIO_TRIGGERED_BUFFER |
---|
| 182 | + |
---|
| 183 | +config SENSORS_RM3100_I2C |
---|
| 184 | + tristate "PNI RM3100 3-Axis Magnetometer (I2C)" |
---|
| 185 | + depends on I2C |
---|
| 186 | + select SENSORS_RM3100 |
---|
| 187 | + select REGMAP_I2C |
---|
| 188 | + help |
---|
| 189 | + Say Y here to add support for the PNI RM3100 3-Axis Magnetometer. |
---|
| 190 | + |
---|
| 191 | + This driver can also be compiled as a module. |
---|
| 192 | + To compile this driver as a module, choose M here: the module |
---|
| 193 | + will be called rm3100-i2c. |
---|
| 194 | + |
---|
| 195 | +config SENSORS_RM3100_SPI |
---|
| 196 | + tristate "PNI RM3100 3-Axis Magnetometer (SPI)" |
---|
| 197 | + depends on SPI_MASTER |
---|
| 198 | + select SENSORS_RM3100 |
---|
| 199 | + select REGMAP_SPI |
---|
| 200 | + help |
---|
| 201 | + Say Y here to add support for the PNI RM3100 3-Axis Magnetometer. |
---|
| 202 | + |
---|
| 203 | + This driver can also be compiled as a module. |
---|
| 204 | + To compile this driver as a module, choose M here: the module |
---|
| 205 | + will be called rm3100-spi. |
---|
| 206 | + |
---|
178 | 207 | endmenu |
---|