GNU Linux-libre 6.8.9-gnu
[releases.git] / drivers / iio / proximity / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Proximity sensors
4 #
5
6 menu "Lightning sensors"
7
8 config AS3935
9         tristate "AS3935 Franklin lightning sensor"
10         select IIO_BUFFER
11         select IIO_TRIGGERED_BUFFER
12         depends on SPI
13         help
14           Say Y here to build SPI interface support for the Austrian
15           Microsystems AS3935 lightning detection sensor.
16
17           To compile this driver as a module, choose M here: the
18           module will be called as3935
19
20 endmenu
21
22 menu "Proximity and distance sensors"
23
24 config CROS_EC_MKBP_PROXIMITY
25         tristate "ChromeOS EC MKBP Proximity sensor"
26         depends on CROS_EC
27         help
28           Say Y here to enable the proximity sensor implemented via the ChromeOS EC MKBP
29           switches protocol. You must enable one bus option (CROS_EC_I2C or CROS_EC_SPI)
30           to use this.
31
32           To compile this driver as a module, choose M here: the
33           module will be called cros_ec_mkbp_proximity.
34
35 config IRSD200
36         tristate "Murata IRS-D200 PIR sensor"
37         select IIO_BUFFER
38         select IIO_TRIGGERED_BUFFER
39         select REGMAP_I2C
40         depends on I2C
41         help
42           Say Y here to build a driver for the Murata IRS-D200 PIR sensor.
43
44           To compile this driver as a module, choose M here: the module will be
45           called irsd200.
46
47 config ISL29501
48         tristate "Intersil ISL29501 Time Of Flight sensor"
49         depends on I2C
50         select IIO_BUFFER
51         select IIO_TRIGGERED_BUFFER
52         select IIO_KFIFO_BUF
53         help
54           Say Y here if you want to build a driver for the Intersil ISL29501
55           Time of Flight sensor.
56
57           To compile this driver as a module, choose M here: the module will be
58           called isl29501.
59
60 config LIDAR_LITE_V2
61         tristate "PulsedLight LIDAR sensor"
62         select IIO_BUFFER
63         select IIO_TRIGGERED_BUFFER
64         depends on I2C
65         help
66           Say Y to build a driver for PulsedLight LIDAR range finding
67           sensor.
68
69           To compile this driver as a module, choose M here: the
70           module will be called pulsedlight-lite-v2
71
72 config MB1232
73         tristate "MaxSonar I2CXL family ultrasonic sensors"
74         depends on I2C
75         help
76           Say Y to build a driver for the ultrasonic sensors I2CXL of
77           MaxBotix which have an i2c interface. It can be used to measure
78           the distance of objects. Supported types are mb1202, mb1212,
79           mb1222, mb1232, mb1242, mb7040, mb7137
80
81           To compile this driver as a module, choose M here: the
82           module will be called mb1232.
83
84 config PING
85         tristate "Parallax GPIO bitbanged ranger sensors"
86         depends on GPIOLIB
87         help
88           Say Y here to build a driver for GPIO bitbanged ranger sensors
89           with just one GPIO for the trigger and echo. This driver can be
90           used to measure the distance of objects.
91
92           Actually supported are:
93           - Parallax PING))) (ultrasonic)
94           - Parallax LaserPING (time-of-flight)
95
96           To compile this driver as a module, choose M here: the
97           module will be called ping.
98
99 config RFD77402
100         tristate "RFD77402 ToF sensor"
101         depends on I2C
102         help
103           Say Y to build a driver for the RFD77402 Time-of-Flight (distance)
104           sensor module with I2C interface.
105
106           To compile this driver as a module, choose M here: the
107           module will be called rfd77402.
108
109 config SRF04
110         tristate "GPIO bitbanged ultrasonic ranger sensor (SRF04, MB1000)"
111         depends on GPIOLIB
112         help
113           Say Y here to build a driver for GPIO bitbanged ultrasonic
114           ranger sensor. This driver can be used to measure the distance
115           of objects. It is using two GPIOs.
116           Actually Supported types are:
117           - Devantech SRF04
118           - Maxbotix mb1000
119           - Maxbotix mb1010
120           - Maxbotix mb1020
121           - Maxbotix mb1030
122           - Maxbotix mb1040
123
124           To compile this driver as a module, choose M here: the
125           module will be called srf04.
126
127 config SX_COMMON
128         tristate
129         help
130           Common Semtech proximity sensor code.
131
132 config SX9310
133         tristate "SX9310/SX9311 Semtech proximity sensor"
134         select IIO_BUFFER
135         select IIO_TRIGGERED_BUFFER
136         select REGMAP_I2C
137         select SX_COMMON
138         depends on I2C
139         help
140           Say Y here to build a driver for Semtech's SX9310/SX9311 capacitive
141           proximity/button sensor.
142
143           To compile this driver as a module, choose M here: the
144           module will be called sx9310.
145
146 config SX9324
147         tristate "SX9324 Semtech proximity sensor"
148         select IIO_BUFFER
149         select IIO_TRIGGERED_BUFFER
150         select REGMAP_I2C
151         select SX_COMMON
152         depends on I2C
153         help
154           Say Y here to build a driver for Semtech's SX9324
155           proximity/button sensor.
156
157           To compile this driver as a module, choose M here: the
158           module will be called sx9324.
159
160 config SX9360
161         tristate "SX9360 Semtech proximity sensor"
162         select IIO_BUFFER
163         select IIO_TRIGGERED_BUFFER
164         select REGMAP_I2C
165         select SX_COMMON
166         depends on I2C
167         help
168           Say Y here to build a driver for Semtech's SX9360
169           proximity/button sensor, a simplified SX9324.
170
171           To compile this driver as a module, choose M here: the
172           module will be called sx9360.
173
174 config SX9500
175         tristate "SX9500 Semtech proximity sensor"
176         select IIO_BUFFER
177         select IIO_TRIGGERED_BUFFER
178         select REGMAP_I2C
179         depends on I2C
180         help
181           Say Y here to build a driver for Semtech's SX9500 capacitive
182           proximity/button sensor.
183
184           To compile this driver as a module, choose M here: the
185           module will be called sx9500.
186
187 config SRF08
188         tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor"
189         select IIO_BUFFER
190         select IIO_TRIGGERED_BUFFER
191         depends on I2C
192         help
193           Say Y here to build a driver for Devantech SRF02/SRF08/SRF10
194           ultrasonic ranger sensors with i2c interface.
195           This driver can be used to measure the distance of objects.
196
197           To compile this driver as a module, choose M here: the
198           module will be called srf08.
199
200 config VCNL3020
201         tristate "VCNL3020 proximity sensor"
202         select REGMAP_I2C
203         depends on I2C
204         help
205           Say Y here if you want to build a driver for the Vishay VCNL3020
206           proximity sensor.
207
208           To compile this driver as a module, choose M here: the
209           module will be called vcnl3020.
210
211 config VL53L0X_I2C
212         tristate "STMicroelectronics VL53L0X ToF ranger sensor (I2C)"
213         depends on I2C
214         help
215           Say Y here to build a driver for STMicroelectronics VL53L0X
216           ToF ranger sensors with i2c interface.
217           This driver can be used to measure the distance of objects.
218
219           To compile this driver as a module, choose M here: the
220           module will be called vl53l0x-i2c.
221
222 endmenu