xref: /openbmc/linux/drivers/iio/proximity/Kconfig (revision c67ce71d)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Proximity sensors
4#
5
6menu "Lightning sensors"
7
8config 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
20endmenu
21
22menu "Proximity and distance sensors"
23
24config 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
35config 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
47config 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
60config 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
72config MB1232
73	tristate "MaxSonar I2CXL family ultrasonic sensors"
74	depends on I2C
75	select IIO_BUFFER
76	select IIO_TRIGGERED_BUFFER
77	help
78	  Say Y to build a driver for the ultrasonic sensors I2CXL of
79	  MaxBotix which have an i2c interface. It can be used to measure
80	  the distance of objects. Supported types are mb1202, mb1212,
81	  mb1222, mb1232, mb1242, mb7040, mb7137
82
83	  To compile this driver as a module, choose M here: the
84	  module will be called mb1232.
85
86config PING
87	tristate "Parallax GPIO bitbanged ranger sensors"
88	depends on GPIOLIB
89	help
90	  Say Y here to build a driver for GPIO bitbanged ranger sensors
91	  with just one GPIO for the trigger and echo. This driver can be
92	  used to measure the distance of objects.
93
94	  Actually supported are:
95	  - Parallax PING))) (ultrasonic)
96	  - Parallax LaserPING (time-of-flight)
97
98	  To compile this driver as a module, choose M here: the
99	  module will be called ping.
100
101config RFD77402
102	tristate "RFD77402 ToF sensor"
103	depends on I2C
104	help
105	  Say Y to build a driver for the RFD77402 Time-of-Flight (distance)
106	  sensor module with I2C interface.
107
108	  To compile this driver as a module, choose M here: the
109	  module will be called rfd77402.
110
111config SRF04
112	tristate "GPIO bitbanged ultrasonic ranger sensor (SRF04, MB1000)"
113	depends on GPIOLIB
114	help
115	  Say Y here to build a driver for GPIO bitbanged ultrasonic
116	  ranger sensor. This driver can be used to measure the distance
117	  of objects. It is using two GPIOs.
118	  Actually Supported types are:
119	  - Devantech SRF04
120	  - Maxbotix mb1000
121	  - Maxbotix mb1010
122	  - Maxbotix mb1020
123	  - Maxbotix mb1030
124	  - Maxbotix mb1040
125
126	  To compile this driver as a module, choose M here: the
127	  module will be called srf04.
128
129config SX_COMMON
130	tristate
131	help
132	  Common Semtech proximity sensor code.
133
134config SX9310
135	tristate "SX9310/SX9311 Semtech proximity sensor"
136	select IIO_BUFFER
137	select IIO_TRIGGERED_BUFFER
138	select REGMAP_I2C
139	select SX_COMMON
140	depends on I2C
141	help
142	  Say Y here to build a driver for Semtech's SX9310/SX9311 capacitive
143	  proximity/button sensor.
144
145	  To compile this driver as a module, choose M here: the
146	  module will be called sx9310.
147
148config SX9324
149	tristate "SX9324 Semtech proximity sensor"
150	select IIO_BUFFER
151	select IIO_TRIGGERED_BUFFER
152	select REGMAP_I2C
153	select SX_COMMON
154	depends on I2C
155	help
156	  Say Y here to build a driver for Semtech's SX9324
157	  proximity/button sensor.
158
159	  To compile this driver as a module, choose M here: the
160	  module will be called sx9324.
161
162config SX9360
163	tristate "SX9360 Semtech proximity sensor"
164	select IIO_BUFFER
165	select IIO_TRIGGERED_BUFFER
166	select REGMAP_I2C
167	select SX_COMMON
168	depends on I2C
169	help
170	  Say Y here to build a driver for Semtech's SX9360
171	  proximity/button sensor, a simplified SX9324.
172
173	  To compile this driver as a module, choose M here: the
174	  module will be called sx9360.
175
176config SX9500
177	tristate "SX9500 Semtech proximity sensor"
178	select IIO_BUFFER
179	select IIO_TRIGGERED_BUFFER
180	select REGMAP_I2C
181	depends on I2C
182	help
183	  Say Y here to build a driver for Semtech's SX9500 capacitive
184	  proximity/button sensor.
185
186	  To compile this driver as a module, choose M here: the
187	  module will be called sx9500.
188
189config SRF08
190	tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor"
191	select IIO_BUFFER
192	select IIO_TRIGGERED_BUFFER
193	depends on I2C
194	help
195	  Say Y here to build a driver for Devantech SRF02/SRF08/SRF10
196	  ultrasonic ranger sensors with i2c interface.
197	  This driver can be used to measure the distance of objects.
198
199	  To compile this driver as a module, choose M here: the
200	  module will be called srf08.
201
202config VCNL3020
203	tristate "VCNL3020 proximity sensor"
204	select REGMAP_I2C
205	depends on I2C
206	help
207	  Say Y here if you want to build a driver for the Vishay VCNL3020
208	  proximity sensor.
209
210	  To compile this driver as a module, choose M here: the
211	  module will be called vcnl3020.
212
213config VL53L0X_I2C
214	tristate "STMicroelectronics VL53L0X ToF ranger sensor (I2C)"
215	depends on I2C
216	help
217	  Say Y here to build a driver for STMicroelectronics VL53L0X
218	  ToF ranger sensors with i2c interface.
219	  This driver can be used to measure the distance of objects.
220
221	  To compile this driver as a module, choose M here: the
222	  module will be called vl53l0x-i2c.
223
224endmenu
225