xref: /openbmc/linux/drivers/iio/proximity/Kconfig (revision 1cdb4c47)
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
1344c18a890SGwendal Grignouconfig SX9324
1354c18a890SGwendal Grignou	tristate "SX9324 Semtech proximity sensor"
1364c18a890SGwendal Grignou	select IIO_BUFFER
1374c18a890SGwendal Grignou	select IIO_TRIGGERED_BUFFER
1384c18a890SGwendal Grignou	select REGMAP_I2C
1394c18a890SGwendal Grignou	select SX_COMMON
1404c18a890SGwendal Grignou	depends on I2C
1414c18a890SGwendal Grignou	help
1424c18a890SGwendal Grignou	  Say Y here to build a driver for Semtech's SX9324
1434c18a890SGwendal Grignou	  proximity/button sensor.
1444c18a890SGwendal Grignou
1454c18a890SGwendal Grignou	  To compile this driver as a module, choose M here: the
1464c18a890SGwendal Grignou	  module will be called sx9324.
1474c18a890SGwendal Grignou
148*1cdb4c47SGwendal Grignouconfig SX9360
149*1cdb4c47SGwendal Grignou	tristate "SX9360 Semtech proximity sensor"
150*1cdb4c47SGwendal Grignou	select IIO_BUFFER
151*1cdb4c47SGwendal Grignou	select IIO_TRIGGERED_BUFFER
152*1cdb4c47SGwendal Grignou	select REGMAP_I2C
153*1cdb4c47SGwendal Grignou	select SX_COMMON
154*1cdb4c47SGwendal Grignou	depends on I2C
155*1cdb4c47SGwendal Grignou	help
156*1cdb4c47SGwendal Grignou	  Say Y here to build a driver for Semtech's SX9360
157*1cdb4c47SGwendal Grignou	  proximity/button sensor, a simplified SX9324.
158*1cdb4c47SGwendal Grignou
159*1cdb4c47SGwendal Grignou	  To compile this driver as a module, choose M here: the
160*1cdb4c47SGwendal Grignou	  module will be called sx9360.
161*1cdb4c47SGwendal Grignou
1624193c0f1SVlad Dogaruconfig SX9500
1634193c0f1SVlad Dogaru	tristate "SX9500 Semtech proximity sensor"
1644193c0f1SVlad Dogaru	select IIO_BUFFER
1654193c0f1SVlad Dogaru	select IIO_TRIGGERED_BUFFER
1664193c0f1SVlad Dogaru	select REGMAP_I2C
1674193c0f1SVlad Dogaru	depends on I2C
1684193c0f1SVlad Dogaru	help
1694193c0f1SVlad Dogaru	  Say Y here to build a driver for Semtech's SX9500 capacitive
1704193c0f1SVlad Dogaru	  proximity/button sensor.
1714193c0f1SVlad Dogaru
1724193c0f1SVlad Dogaru	  To compile this driver as a module, choose M here: the
1734193c0f1SVlad Dogaru	  module will be called sx9500.
1744193c0f1SVlad Dogaru
17578f83902SAndreas Klingerconfig SRF08
176dc2696baSAndreas Klinger	tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor"
177511051d5SAndreas Klinger	select IIO_BUFFER
178511051d5SAndreas Klinger	select IIO_TRIGGERED_BUFFER
17978f83902SAndreas Klinger	depends on I2C
18078f83902SAndreas Klinger	help
181dc2696baSAndreas Klinger	  Say Y here to build a driver for Devantech SRF02/SRF08/SRF10
182dc2696baSAndreas Klinger	  ultrasonic ranger sensors with i2c interface.
183dc2696baSAndreas Klinger	  This driver can be used to measure the distance of objects.
18478f83902SAndreas Klinger
18578f83902SAndreas Klinger	  To compile this driver as a module, choose M here: the
18678f83902SAndreas Klinger	  module will be called srf08.
18778f83902SAndreas Klinger
188ac101e6bSIvan Mikhaylovconfig VCNL3020
189ac101e6bSIvan Mikhaylov	tristate "VCNL3020 proximity sensor"
190ac101e6bSIvan Mikhaylov	select REGMAP_I2C
191ac101e6bSIvan Mikhaylov	depends on I2C
192ac101e6bSIvan Mikhaylov	help
193ac101e6bSIvan Mikhaylov	  Say Y here if you want to build a driver for the Vishay VCNL3020
194ac101e6bSIvan Mikhaylov	  proximity sensor.
195ac101e6bSIvan Mikhaylov
196ac101e6bSIvan Mikhaylov	  To compile this driver as a module, choose M here: the
197ac101e6bSIvan Mikhaylov	  module will be called vcnl3020.
198ac101e6bSIvan Mikhaylov
1996eb17c6cSSong Qiangconfig VL53L0X_I2C
2006eb17c6cSSong Qiang	tristate "STMicroelectronics VL53L0X ToF ranger sensor (I2C)"
2016eb17c6cSSong Qiang	depends on I2C
2026eb17c6cSSong Qiang	help
2036eb17c6cSSong Qiang	  Say Y here to build a driver for STMicroelectronics VL53L0X
2046eb17c6cSSong Qiang	  ToF ranger sensors with i2c interface.
2056eb17c6cSSong Qiang	  This driver can be used to measure the distance of objects.
2066eb17c6cSSong Qiang
2076eb17c6cSSong Qiang	  To compile this driver as a module, choose M here: the
2086eb17c6cSSong Qiang	  module will be called vl53l0x-i2c.
2096eb17c6cSSong Qiang
2104193c0f1SVlad Dogaruendmenu
211