xref: /linux/drivers/iio/proximity/Kconfig (revision 4c18a890dff8d95ca234d184773910383a978d45)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
224ddb0e4SMatt Ranostay#
324ddb0e4SMatt Ranostay# Proximity sensors
424ddb0e4SMatt Ranostay#
524ddb0e4SMatt Ranostay
624ddb0e4SMatt Ranostaymenu "Lightning sensors"
724ddb0e4SMatt Ranostay
824ddb0e4SMatt Ranostayconfig AS3935
924ddb0e4SMatt Ranostay	tristate "AS3935 Franklin lightning sensor"
1024ddb0e4SMatt Ranostay	select IIO_BUFFER
1124ddb0e4SMatt Ranostay	select IIO_TRIGGERED_BUFFER
1224ddb0e4SMatt Ranostay	depends on SPI
1324ddb0e4SMatt Ranostay	help
1424ddb0e4SMatt Ranostay	  Say Y here to build SPI interface support for the Austrian
1524ddb0e4SMatt Ranostay	  Microsystems AS3935 lightning detection sensor.
1624ddb0e4SMatt Ranostay
1724ddb0e4SMatt Ranostay	  To compile this driver as a module, choose M here: the
1824ddb0e4SMatt Ranostay	  module will be called as3935
1924ddb0e4SMatt Ranostay
2024ddb0e4SMatt Ranostayendmenu
214193c0f1SVlad Dogaru
2278f83902SAndreas Klingermenu "Proximity and distance sensors"
234193c0f1SVlad Dogaru
247792225bSStephen Boydconfig CROS_EC_MKBP_PROXIMITY
257792225bSStephen Boyd	tristate "ChromeOS EC MKBP Proximity sensor"
267792225bSStephen Boyd	depends on CROS_EC
277792225bSStephen Boyd	help
287792225bSStephen Boyd	  Say Y here to enable the proximity sensor implemented via the ChromeOS EC MKBP
297792225bSStephen Boyd	  switches protocol. You must enable one bus option (CROS_EC_I2C or CROS_EC_SPI)
307792225bSStephen Boyd	  to use this.
317792225bSStephen Boyd
327792225bSStephen Boyd	  To compile this driver as a module, choose M here: the
337792225bSStephen Boyd	  module will be called cros_ec_mkbp_proximity.
347792225bSStephen Boyd
351c287992SMathieu Othaceheconfig ISL29501
361c287992SMathieu Othacehe	tristate "Intersil ISL29501 Time Of Flight sensor"
371c287992SMathieu Othacehe	depends on I2C
381c287992SMathieu Othacehe	select IIO_BUFFER
391c287992SMathieu Othacehe	select IIO_TRIGGERED_BUFFER
401c287992SMathieu Othacehe	select IIO_KFIFO_BUF
411c287992SMathieu Othacehe	help
421c287992SMathieu Othacehe	  Say Y here if you want to build a driver for the Intersil ISL29501
431c287992SMathieu Othacehe	  Time of Flight sensor.
441c287992SMathieu Othacehe
451c287992SMathieu Othacehe	  To compile this driver as a module, choose M here: the module will be
461c287992SMathieu Othacehe	  called isl29501.
471c287992SMathieu Othacehe
48cb119d53SMatt Ranostayconfig LIDAR_LITE_V2
49cb119d53SMatt Ranostay	tristate "PulsedLight LIDAR sensor"
50cb119d53SMatt Ranostay	select IIO_BUFFER
51cb119d53SMatt Ranostay	select IIO_TRIGGERED_BUFFER
52cb119d53SMatt Ranostay	depends on I2C
53cb119d53SMatt Ranostay	help
54cb119d53SMatt Ranostay	  Say Y to build a driver for PulsedLight LIDAR range finding
55cb119d53SMatt Ranostay	  sensor.
56cb119d53SMatt Ranostay
57cb119d53SMatt Ranostay	  To compile this driver as a module, choose M here: the
58cb119d53SMatt Ranostay	  module will be called pulsedlight-lite-v2
59cb119d53SMatt Ranostay
6016b05261SAndreas Klingerconfig MB1232
6116b05261SAndreas Klinger	tristate "MaxSonar I2CXL family ultrasonic sensors"
6216b05261SAndreas Klinger	depends on I2C
6316b05261SAndreas Klinger	help
6416b05261SAndreas Klinger	  Say Y to build a driver for the ultrasonic sensors I2CXL of
6516b05261SAndreas Klinger	  MaxBotix which have an i2c interface. It can be used to measure
6616b05261SAndreas Klinger	  the distance of objects. Supported types are mb1202, mb1212,
6716b05261SAndreas Klinger	  mb1222, mb1232, mb1242, mb7040, mb7137
6816b05261SAndreas Klinger
6916b05261SAndreas Klinger	  To compile this driver as a module, choose M here: the
7016b05261SAndreas Klinger	  module will be called mb1232.
7116b05261SAndreas Klinger
727bb501f4SAndreas Klingerconfig PING
737bb501f4SAndreas Klinger	tristate "Parallax GPIO bitbanged ranger sensors"
747bb501f4SAndreas Klinger	depends on GPIOLIB
757bb501f4SAndreas Klinger	help
767bb501f4SAndreas Klinger	  Say Y here to build a driver for GPIO bitbanged ranger sensors
777bb501f4SAndreas Klinger	  with just one GPIO for the trigger and echo. This driver can be
787bb501f4SAndreas Klinger	  used to measure the distance of objects.
797bb501f4SAndreas Klinger
807bb501f4SAndreas Klinger	  Actually supported are:
817bb501f4SAndreas Klinger	  - Parallax PING))) (ultrasonic)
827bb501f4SAndreas Klinger	  - Parallax LaserPING (time-of-flight)
837bb501f4SAndreas Klinger
847bb501f4SAndreas Klinger	  To compile this driver as a module, choose M here: the
857bb501f4SAndreas Klinger	  module will be called ping.
867bb501f4SAndreas Klinger
8779e64188SPeter Meerwald-Stadlerconfig RFD77402
8879e64188SPeter Meerwald-Stadler	tristate "RFD77402 ToF sensor"
8979e64188SPeter Meerwald-Stadler	depends on I2C
9079e64188SPeter Meerwald-Stadler	help
914a5e353cSChristophe JAILLET	  Say Y to build a driver for the RFD77402 Time-of-Flight (distance)
9279e64188SPeter Meerwald-Stadler	  sensor module with I2C interface.
9379e64188SPeter Meerwald-Stadler
9479e64188SPeter Meerwald-Stadler	  To compile this driver as a module, choose M here: the
9579e64188SPeter Meerwald-Stadler	  module will be called rfd77402.
9679e64188SPeter Meerwald-Stadler
97feda2840SAndreas Klingerconfig SRF04
9821cf20a8SAndreas Klinger	tristate "GPIO bitbanged ultrasonic ranger sensor (SRF04, MB1000)"
99feda2840SAndreas Klinger	depends on GPIOLIB
100feda2840SAndreas Klinger	help
10121cf20a8SAndreas Klinger	  Say Y here to build a driver for GPIO bitbanged ultrasonic
102feda2840SAndreas Klinger	  ranger sensor. This driver can be used to measure the distance
103feda2840SAndreas Klinger	  of objects. It is using two GPIOs.
10421cf20a8SAndreas Klinger	  Actually Supported types are:
10521cf20a8SAndreas Klinger	  - Devantech SRF04
10621cf20a8SAndreas Klinger	  - Maxbotix mb1000
10721cf20a8SAndreas Klinger	  - Maxbotix mb1010
10821cf20a8SAndreas Klinger	  - Maxbotix mb1020
10921cf20a8SAndreas Klinger	  - Maxbotix mb1030
11021cf20a8SAndreas Klinger	  - Maxbotix mb1040
111feda2840SAndreas Klinger
112feda2840SAndreas Klinger	  To compile this driver as a module, choose M here: the
113feda2840SAndreas Klinger	  module will be called srf04.
114feda2840SAndreas Klinger
115caa8ce7fSGwendal Grignouconfig SX_COMMON
116caa8ce7fSGwendal Grignou	tristate
117caa8ce7fSGwendal Grignou	help
118caa8ce7fSGwendal Grignou	  Common Semtech proximity sensor code.
119caa8ce7fSGwendal Grignou
12072ad02b1SDaniel Campelloconfig SX9310
12172ad02b1SDaniel Campello	tristate "SX9310/SX9311 Semtech proximity sensor"
12272ad02b1SDaniel Campello	select IIO_BUFFER
12372ad02b1SDaniel Campello	select IIO_TRIGGERED_BUFFER
12472ad02b1SDaniel Campello	select REGMAP_I2C
125caa8ce7fSGwendal Grignou	select SX_COMMON
12672ad02b1SDaniel Campello	depends on I2C
12772ad02b1SDaniel Campello	help
12872ad02b1SDaniel Campello	  Say Y here to build a driver for Semtech's SX9310/SX9311 capacitive
12972ad02b1SDaniel Campello	  proximity/button sensor.
13072ad02b1SDaniel Campello
13172ad02b1SDaniel Campello	  To compile this driver as a module, choose M here: the
13272ad02b1SDaniel Campello	  module will be called sx9310.
13372ad02b1SDaniel Campello
134*4c18a890SGwendal Grignouconfig SX9324
135*4c18a890SGwendal Grignou	tristate "SX9324 Semtech proximity sensor"
136*4c18a890SGwendal Grignou	select IIO_BUFFER
137*4c18a890SGwendal Grignou	select IIO_TRIGGERED_BUFFER
138*4c18a890SGwendal Grignou	select REGMAP_I2C
139*4c18a890SGwendal Grignou	select SX_COMMON
140*4c18a890SGwendal Grignou	depends on I2C
141*4c18a890SGwendal Grignou	help
142*4c18a890SGwendal Grignou	  Say Y here to build a driver for Semtech's SX9324
143*4c18a890SGwendal Grignou	  proximity/button sensor.
144*4c18a890SGwendal Grignou
145*4c18a890SGwendal Grignou	  To compile this driver as a module, choose M here: the
146*4c18a890SGwendal Grignou	  module will be called sx9324.
147*4c18a890SGwendal Grignou
1484193c0f1SVlad Dogaruconfig SX9500
1494193c0f1SVlad Dogaru	tristate "SX9500 Semtech proximity sensor"
1504193c0f1SVlad Dogaru	select IIO_BUFFER
1514193c0f1SVlad Dogaru	select IIO_TRIGGERED_BUFFER
1524193c0f1SVlad Dogaru	select REGMAP_I2C
1534193c0f1SVlad Dogaru	depends on I2C
1544193c0f1SVlad Dogaru	help
1554193c0f1SVlad Dogaru	  Say Y here to build a driver for Semtech's SX9500 capacitive
1564193c0f1SVlad Dogaru	  proximity/button sensor.
1574193c0f1SVlad Dogaru
1584193c0f1SVlad Dogaru	  To compile this driver as a module, choose M here: the
1594193c0f1SVlad Dogaru	  module will be called sx9500.
1604193c0f1SVlad Dogaru
16178f83902SAndreas Klingerconfig SRF08
162dc2696baSAndreas Klinger	tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor"
163511051d5SAndreas Klinger	select IIO_BUFFER
164511051d5SAndreas Klinger	select IIO_TRIGGERED_BUFFER
16578f83902SAndreas Klinger	depends on I2C
16678f83902SAndreas Klinger	help
167dc2696baSAndreas Klinger	  Say Y here to build a driver for Devantech SRF02/SRF08/SRF10
168dc2696baSAndreas Klinger	  ultrasonic ranger sensors with i2c interface.
169dc2696baSAndreas Klinger	  This driver can be used to measure the distance of objects.
17078f83902SAndreas Klinger
17178f83902SAndreas Klinger	  To compile this driver as a module, choose M here: the
17278f83902SAndreas Klinger	  module will be called srf08.
17378f83902SAndreas Klinger
174ac101e6bSIvan Mikhaylovconfig VCNL3020
175ac101e6bSIvan Mikhaylov	tristate "VCNL3020 proximity sensor"
176ac101e6bSIvan Mikhaylov	select REGMAP_I2C
177ac101e6bSIvan Mikhaylov	depends on I2C
178ac101e6bSIvan Mikhaylov	help
179ac101e6bSIvan Mikhaylov	  Say Y here if you want to build a driver for the Vishay VCNL3020
180ac101e6bSIvan Mikhaylov	  proximity sensor.
181ac101e6bSIvan Mikhaylov
182ac101e6bSIvan Mikhaylov	  To compile this driver as a module, choose M here: the
183ac101e6bSIvan Mikhaylov	  module will be called vcnl3020.
184ac101e6bSIvan Mikhaylov
1856eb17c6cSSong Qiangconfig VL53L0X_I2C
1866eb17c6cSSong Qiang	tristate "STMicroelectronics VL53L0X ToF ranger sensor (I2C)"
1876eb17c6cSSong Qiang	depends on I2C
1886eb17c6cSSong Qiang	help
1896eb17c6cSSong Qiang	  Say Y here to build a driver for STMicroelectronics VL53L0X
1906eb17c6cSSong Qiang	  ToF ranger sensors with i2c interface.
1916eb17c6cSSong Qiang	  This driver can be used to measure the distance of objects.
1926eb17c6cSSong Qiang
1936eb17c6cSSong Qiang	  To compile this driver as a module, choose M here: the
1946eb17c6cSSong Qiang	  module will be called vl53l0x-i2c.
1956eb17c6cSSong Qiang
1964193c0f1SVlad Dogaruendmenu
197