xref: /openbmc/linux/drivers/iio/proximity/Kconfig (revision 52cdded0)
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 ISL29501
25	tristate "Intersil ISL29501 Time Of Flight sensor"
26	depends on I2C
27	select IIO_BUFFER
28	select IIO_TRIGGERED_BUFFER
29	select IIO_KFIFO_BUF
30	help
31	  Say Y here if you want to build a driver for the Intersil ISL29501
32	  Time of Flight sensor.
33
34	  To compile this driver as a module, choose M here: the module will be
35	  called isl29501.
36
37config LIDAR_LITE_V2
38	tristate "PulsedLight LIDAR sensor"
39	select IIO_BUFFER
40	select IIO_TRIGGERED_BUFFER
41	depends on I2C
42	help
43	  Say Y to build a driver for PulsedLight LIDAR range finding
44	  sensor.
45
46	  To compile this driver as a module, choose M here: the
47	  module will be called pulsedlight-lite-v2
48
49config MB1232
50	tristate "MaxSonar I2CXL family ultrasonic sensors"
51	depends on I2C
52	help
53	  Say Y to build a driver for the ultrasonic sensors I2CXL of
54	  MaxBotix which have an i2c interface. It can be used to measure
55	  the distance of objects. Supported types are mb1202, mb1212,
56	  mb1222, mb1232, mb1242, mb7040, mb7137
57
58	  To compile this driver as a module, choose M here: the
59	  module will be called mb1232.
60
61config PING
62	tristate "Parallax GPIO bitbanged ranger sensors"
63	depends on GPIOLIB
64	help
65	  Say Y here to build a driver for GPIO bitbanged ranger sensors
66	  with just one GPIO for the trigger and echo. This driver can be
67	  used to measure the distance of objects.
68
69	  Actually supported are:
70	  - Parallax PING))) (ultrasonic)
71	  - Parallax LaserPING (time-of-flight)
72
73	  To compile this driver as a module, choose M here: the
74	  module will be called ping.
75
76config RFD77402
77	tristate "RFD77402 ToF sensor"
78	depends on I2C
79	help
80	  Say Y to build a driver for the RFD77402 Time-of-Flight (distance)
81	  sensor module with I2C interface.
82
83	  To compile this driver as a module, choose M here: the
84	  module will be called rfd77402.
85
86config SRF04
87	tristate "GPIO bitbanged ultrasonic ranger sensor (SRF04, MB1000)"
88	depends on GPIOLIB
89	help
90	  Say Y here to build a driver for GPIO bitbanged ultrasonic
91	  ranger sensor. This driver can be used to measure the distance
92	  of objects. It is using two GPIOs.
93	  Actually Supported types are:
94	  - Devantech SRF04
95	  - Maxbotix mb1000
96	  - Maxbotix mb1010
97	  - Maxbotix mb1020
98	  - Maxbotix mb1030
99	  - Maxbotix mb1040
100
101	  To compile this driver as a module, choose M here: the
102	  module will be called srf04.
103
104config SX9310
105	tristate "SX9310/SX9311 Semtech proximity sensor"
106	select IIO_BUFFER
107	select IIO_TRIGGERED_BUFFER
108	select REGMAP_I2C
109	depends on I2C
110	help
111	  Say Y here to build a driver for Semtech's SX9310/SX9311 capacitive
112	  proximity/button sensor.
113
114	  To compile this driver as a module, choose M here: the
115	  module will be called sx9310.
116
117config SX9500
118	tristate "SX9500 Semtech proximity sensor"
119	select IIO_BUFFER
120	select IIO_TRIGGERED_BUFFER
121	select REGMAP_I2C
122	depends on I2C
123	help
124	  Say Y here to build a driver for Semtech's SX9500 capacitive
125	  proximity/button sensor.
126
127	  To compile this driver as a module, choose M here: the
128	  module will be called sx9500.
129
130config SRF08
131	tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor"
132	select IIO_BUFFER
133	select IIO_TRIGGERED_BUFFER
134	depends on I2C
135	help
136	  Say Y here to build a driver for Devantech SRF02/SRF08/SRF10
137	  ultrasonic ranger sensors with i2c interface.
138	  This driver can be used to measure the distance of objects.
139
140	  To compile this driver as a module, choose M here: the
141	  module will be called srf08.
142
143config VCNL3020
144	tristate "VCNL3020 proximity sensor"
145	select REGMAP_I2C
146	depends on I2C
147	help
148	  Say Y here if you want to build a driver for the Vishay VCNL3020
149	  proximity sensor.
150
151	  To compile this driver as a module, choose M here: the
152	  module will be called vcnl3020.
153
154config VL53L0X_I2C
155	tristate "STMicroelectronics VL53L0X ToF ranger sensor (I2C)"
156	depends on I2C
157	help
158	  Say Y here to build a driver for STMicroelectronics VL53L0X
159	  ToF ranger sensors with i2c interface.
160	  This driver can be used to measure the distance of objects.
161
162	  To compile this driver as a module, choose M here: the
163	  module will be called vl53l0x-i2c.
164
165endmenu
166