xref: /openbmc/linux/drivers/iio/proximity/Kconfig (revision 9a29f5fc)
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 ISL29501
36	tristate "Intersil ISL29501 Time Of Flight sensor"
37	depends on I2C
38	select IIO_BUFFER
39	select IIO_TRIGGERED_BUFFER
40	select IIO_KFIFO_BUF
41	help
42	  Say Y here if you want to build a driver for the Intersil ISL29501
43	  Time of Flight sensor.
44
45	  To compile this driver as a module, choose M here: the module will be
46	  called isl29501.
47
48config LIDAR_LITE_V2
49	tristate "PulsedLight LIDAR sensor"
50	select IIO_BUFFER
51	select IIO_TRIGGERED_BUFFER
52	depends on I2C
53	help
54	  Say Y to build a driver for PulsedLight LIDAR range finding
55	  sensor.
56
57	  To compile this driver as a module, choose M here: the
58	  module will be called pulsedlight-lite-v2
59
60config MB1232
61	tristate "MaxSonar I2CXL family ultrasonic sensors"
62	depends on I2C
63	help
64	  Say Y to build a driver for the ultrasonic sensors I2CXL of
65	  MaxBotix which have an i2c interface. It can be used to measure
66	  the distance of objects. Supported types are mb1202, mb1212,
67	  mb1222, mb1232, mb1242, mb7040, mb7137
68
69	  To compile this driver as a module, choose M here: the
70	  module will be called mb1232.
71
72config PING
73	tristate "Parallax GPIO bitbanged ranger sensors"
74	depends on GPIOLIB
75	help
76	  Say Y here to build a driver for GPIO bitbanged ranger sensors
77	  with just one GPIO for the trigger and echo. This driver can be
78	  used to measure the distance of objects.
79
80	  Actually supported are:
81	  - Parallax PING))) (ultrasonic)
82	  - Parallax LaserPING (time-of-flight)
83
84	  To compile this driver as a module, choose M here: the
85	  module will be called ping.
86
87config RFD77402
88	tristate "RFD77402 ToF sensor"
89	depends on I2C
90	help
91	  Say Y to build a driver for the RFD77402 Time-of-Flight (distance)
92	  sensor module with I2C interface.
93
94	  To compile this driver as a module, choose M here: the
95	  module will be called rfd77402.
96
97config SRF04
98	tristate "GPIO bitbanged ultrasonic ranger sensor (SRF04, MB1000)"
99	depends on GPIOLIB
100	help
101	  Say Y here to build a driver for GPIO bitbanged ultrasonic
102	  ranger sensor. This driver can be used to measure the distance
103	  of objects. It is using two GPIOs.
104	  Actually Supported types are:
105	  - Devantech SRF04
106	  - Maxbotix mb1000
107	  - Maxbotix mb1010
108	  - Maxbotix mb1020
109	  - Maxbotix mb1030
110	  - Maxbotix mb1040
111
112	  To compile this driver as a module, choose M here: the
113	  module will be called srf04.
114
115config SX_COMMON
116	tristate
117	help
118	  Common Semtech proximity sensor code.
119
120config SX9310
121	tristate "SX9310/SX9311 Semtech proximity sensor"
122	select IIO_BUFFER
123	select IIO_TRIGGERED_BUFFER
124	select REGMAP_I2C
125	select SX_COMMON
126	depends on I2C
127	help
128	  Say Y here to build a driver for Semtech's SX9310/SX9311 capacitive
129	  proximity/button sensor.
130
131	  To compile this driver as a module, choose M here: the
132	  module will be called sx9310.
133
134config SX9324
135	tristate "SX9324 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 SX9324
143	  proximity/button sensor.
144
145	  To compile this driver as a module, choose M here: the
146	  module will be called sx9324.
147
148config SX9360
149	tristate "SX9360 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 SX9360
157	  proximity/button sensor, a simplified SX9324.
158
159	  To compile this driver as a module, choose M here: the
160	  module will be called sx9360.
161
162config SX9500
163	tristate "SX9500 Semtech proximity sensor"
164	select IIO_BUFFER
165	select IIO_TRIGGERED_BUFFER
166	select REGMAP_I2C
167	depends on I2C
168	help
169	  Say Y here to build a driver for Semtech's SX9500 capacitive
170	  proximity/button sensor.
171
172	  To compile this driver as a module, choose M here: the
173	  module will be called sx9500.
174
175config SRF08
176	tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor"
177	select IIO_BUFFER
178	select IIO_TRIGGERED_BUFFER
179	depends on I2C
180	help
181	  Say Y here to build a driver for Devantech SRF02/SRF08/SRF10
182	  ultrasonic ranger sensors with i2c interface.
183	  This driver can be used to measure the distance of objects.
184
185	  To compile this driver as a module, choose M here: the
186	  module will be called srf08.
187
188config VCNL3020
189	tristate "VCNL3020 proximity sensor"
190	select REGMAP_I2C
191	depends on I2C
192	help
193	  Say Y here if you want to build a driver for the Vishay VCNL3020
194	  proximity sensor.
195
196	  To compile this driver as a module, choose M here: the
197	  module will be called vcnl3020.
198
199config VL53L0X_I2C
200	tristate "STMicroelectronics VL53L0X ToF ranger sensor (I2C)"
201	depends on I2C
202	help
203	  Say Y here to build a driver for STMicroelectronics VL53L0X
204	  ToF ranger sensors with i2c interface.
205	  This driver can be used to measure the distance of objects.
206
207	  To compile this driver as a module, choose M here: the
208	  module will be called vl53l0x-i2c.
209
210endmenu
211