xref: /openbmc/linux/drivers/iio/proximity/Kconfig (revision 6b342707)
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 SX9310
116	tristate "SX9310/SX9311 Semtech proximity sensor"
117	select IIO_BUFFER
118	select IIO_TRIGGERED_BUFFER
119	select REGMAP_I2C
120	depends on I2C
121	help
122	  Say Y here to build a driver for Semtech's SX9310/SX9311 capacitive
123	  proximity/button sensor.
124
125	  To compile this driver as a module, choose M here: the
126	  module will be called sx9310.
127
128config SX9500
129	tristate "SX9500 Semtech proximity sensor"
130	select IIO_BUFFER
131	select IIO_TRIGGERED_BUFFER
132	select REGMAP_I2C
133	depends on I2C
134	help
135	  Say Y here to build a driver for Semtech's SX9500 capacitive
136	  proximity/button sensor.
137
138	  To compile this driver as a module, choose M here: the
139	  module will be called sx9500.
140
141config SRF08
142	tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor"
143	select IIO_BUFFER
144	select IIO_TRIGGERED_BUFFER
145	depends on I2C
146	help
147	  Say Y here to build a driver for Devantech SRF02/SRF08/SRF10
148	  ultrasonic ranger sensors with i2c interface.
149	  This driver can be used to measure the distance of objects.
150
151	  To compile this driver as a module, choose M here: the
152	  module will be called srf08.
153
154config VCNL3020
155	tristate "VCNL3020 proximity sensor"
156	select REGMAP_I2C
157	depends on I2C
158	help
159	  Say Y here if you want to build a driver for the Vishay VCNL3020
160	  proximity sensor.
161
162	  To compile this driver as a module, choose M here: the
163	  module will be called vcnl3020.
164
165config VL53L0X_I2C
166	tristate "STMicroelectronics VL53L0X ToF ranger sensor (I2C)"
167	depends on I2C
168	help
169	  Say Y here to build a driver for STMicroelectronics VL53L0X
170	  ToF ranger sensors with i2c interface.
171	  This driver can be used to measure the distance of objects.
172
173	  To compile this driver as a module, choose M here: the
174	  module will be called vl53l0x-i2c.
175
176endmenu
177