xref: /openbmc/linux/drivers/iio/proximity/Kconfig (revision caa8ce7f)
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
115*caa8ce7fSGwendal Grignouconfig SX_COMMON
116*caa8ce7fSGwendal Grignou	tristate
117*caa8ce7fSGwendal Grignou	help
118*caa8ce7fSGwendal Grignou	  Common Semtech proximity sensor code.
119*caa8ce7fSGwendal 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
125*caa8ce7fSGwendal 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
1344193c0f1SVlad Dogaruconfig SX9500
1354193c0f1SVlad Dogaru	tristate "SX9500 Semtech proximity sensor"
1364193c0f1SVlad Dogaru	select IIO_BUFFER
1374193c0f1SVlad Dogaru	select IIO_TRIGGERED_BUFFER
1384193c0f1SVlad Dogaru	select REGMAP_I2C
1394193c0f1SVlad Dogaru	depends on I2C
1404193c0f1SVlad Dogaru	help
1414193c0f1SVlad Dogaru	  Say Y here to build a driver for Semtech's SX9500 capacitive
1424193c0f1SVlad Dogaru	  proximity/button sensor.
1434193c0f1SVlad Dogaru
1444193c0f1SVlad Dogaru	  To compile this driver as a module, choose M here: the
1454193c0f1SVlad Dogaru	  module will be called sx9500.
1464193c0f1SVlad Dogaru
14778f83902SAndreas Klingerconfig SRF08
148dc2696baSAndreas Klinger	tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor"
149511051d5SAndreas Klinger	select IIO_BUFFER
150511051d5SAndreas Klinger	select IIO_TRIGGERED_BUFFER
15178f83902SAndreas Klinger	depends on I2C
15278f83902SAndreas Klinger	help
153dc2696baSAndreas Klinger	  Say Y here to build a driver for Devantech SRF02/SRF08/SRF10
154dc2696baSAndreas Klinger	  ultrasonic ranger sensors with i2c interface.
155dc2696baSAndreas Klinger	  This driver can be used to measure the distance of objects.
15678f83902SAndreas Klinger
15778f83902SAndreas Klinger	  To compile this driver as a module, choose M here: the
15878f83902SAndreas Klinger	  module will be called srf08.
15978f83902SAndreas Klinger
160ac101e6bSIvan Mikhaylovconfig VCNL3020
161ac101e6bSIvan Mikhaylov	tristate "VCNL3020 proximity sensor"
162ac101e6bSIvan Mikhaylov	select REGMAP_I2C
163ac101e6bSIvan Mikhaylov	depends on I2C
164ac101e6bSIvan Mikhaylov	help
165ac101e6bSIvan Mikhaylov	  Say Y here if you want to build a driver for the Vishay VCNL3020
166ac101e6bSIvan Mikhaylov	  proximity sensor.
167ac101e6bSIvan Mikhaylov
168ac101e6bSIvan Mikhaylov	  To compile this driver as a module, choose M here: the
169ac101e6bSIvan Mikhaylov	  module will be called vcnl3020.
170ac101e6bSIvan Mikhaylov
1716eb17c6cSSong Qiangconfig VL53L0X_I2C
1726eb17c6cSSong Qiang	tristate "STMicroelectronics VL53L0X ToF ranger sensor (I2C)"
1736eb17c6cSSong Qiang	depends on I2C
1746eb17c6cSSong Qiang	help
1756eb17c6cSSong Qiang	  Say Y here to build a driver for STMicroelectronics VL53L0X
1766eb17c6cSSong Qiang	  ToF ranger sensors with i2c interface.
1776eb17c6cSSong Qiang	  This driver can be used to measure the distance of objects.
1786eb17c6cSSong Qiang
1796eb17c6cSSong Qiang	  To compile this driver as a module, choose M here: the
1806eb17c6cSSong Qiang	  module will be called vl53l0x-i2c.
1816eb17c6cSSong Qiang
1824193c0f1SVlad Dogaruendmenu
183