xref: /openbmc/linux/drivers/iio/proximity/Kconfig (revision ad60bbd7)
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
353db3562bSWaqar Hameedconfig IRSD200
363db3562bSWaqar Hameed	tristate "Murata IRS-D200 PIR sensor"
373db3562bSWaqar Hameed	select IIO_BUFFER
383db3562bSWaqar Hameed	select IIO_TRIGGERED_BUFFER
393db3562bSWaqar Hameed	select REGMAP_I2C
403db3562bSWaqar Hameed	depends on I2C
413db3562bSWaqar Hameed	help
423db3562bSWaqar Hameed	  Say Y here to build a driver for the Murata IRS-D200 PIR sensor.
433db3562bSWaqar Hameed
443db3562bSWaqar Hameed	  To compile this driver as a module, choose M here: the module will be
453db3562bSWaqar Hameed	  called irsd200.
463db3562bSWaqar Hameed
471c287992SMathieu Othaceheconfig ISL29501
481c287992SMathieu Othacehe	tristate "Intersil ISL29501 Time Of Flight sensor"
491c287992SMathieu Othacehe	depends on I2C
501c287992SMathieu Othacehe	select IIO_BUFFER
511c287992SMathieu Othacehe	select IIO_TRIGGERED_BUFFER
521c287992SMathieu Othacehe	select IIO_KFIFO_BUF
531c287992SMathieu Othacehe	help
541c287992SMathieu Othacehe	  Say Y here if you want to build a driver for the Intersil ISL29501
551c287992SMathieu Othacehe	  Time of Flight sensor.
561c287992SMathieu Othacehe
571c287992SMathieu Othacehe	  To compile this driver as a module, choose M here: the module will be
581c287992SMathieu Othacehe	  called isl29501.
591c287992SMathieu Othacehe
60cb119d53SMatt Ranostayconfig LIDAR_LITE_V2
61cb119d53SMatt Ranostay	tristate "PulsedLight LIDAR sensor"
62cb119d53SMatt Ranostay	select IIO_BUFFER
63cb119d53SMatt Ranostay	select IIO_TRIGGERED_BUFFER
64cb119d53SMatt Ranostay	depends on I2C
65cb119d53SMatt Ranostay	help
66cb119d53SMatt Ranostay	  Say Y to build a driver for PulsedLight LIDAR range finding
67cb119d53SMatt Ranostay	  sensor.
68cb119d53SMatt Ranostay
69cb119d53SMatt Ranostay	  To compile this driver as a module, choose M here: the
70cb119d53SMatt Ranostay	  module will be called pulsedlight-lite-v2
71cb119d53SMatt Ranostay
7216b05261SAndreas Klingerconfig MB1232
7316b05261SAndreas Klinger	tristate "MaxSonar I2CXL family ultrasonic sensors"
7416b05261SAndreas Klinger	depends on I2C
75*ad60bbd7SJavier Carrasco	select IIO_BUFFER
76*ad60bbd7SJavier Carrasco	select IIO_TRIGGERED_BUFFER
7716b05261SAndreas Klinger	help
7816b05261SAndreas Klinger	  Say Y to build a driver for the ultrasonic sensors I2CXL of
7916b05261SAndreas Klinger	  MaxBotix which have an i2c interface. It can be used to measure
8016b05261SAndreas Klinger	  the distance of objects. Supported types are mb1202, mb1212,
8116b05261SAndreas Klinger	  mb1222, mb1232, mb1242, mb7040, mb7137
8216b05261SAndreas Klinger
8316b05261SAndreas Klinger	  To compile this driver as a module, choose M here: the
8416b05261SAndreas Klinger	  module will be called mb1232.
8516b05261SAndreas Klinger
867bb501f4SAndreas Klingerconfig PING
877bb501f4SAndreas Klinger	tristate "Parallax GPIO bitbanged ranger sensors"
887bb501f4SAndreas Klinger	depends on GPIOLIB
897bb501f4SAndreas Klinger	help
907bb501f4SAndreas Klinger	  Say Y here to build a driver for GPIO bitbanged ranger sensors
917bb501f4SAndreas Klinger	  with just one GPIO for the trigger and echo. This driver can be
927bb501f4SAndreas Klinger	  used to measure the distance of objects.
937bb501f4SAndreas Klinger
947bb501f4SAndreas Klinger	  Actually supported are:
957bb501f4SAndreas Klinger	  - Parallax PING))) (ultrasonic)
967bb501f4SAndreas Klinger	  - Parallax LaserPING (time-of-flight)
977bb501f4SAndreas Klinger
987bb501f4SAndreas Klinger	  To compile this driver as a module, choose M here: the
997bb501f4SAndreas Klinger	  module will be called ping.
1007bb501f4SAndreas Klinger
10179e64188SPeter Meerwald-Stadlerconfig RFD77402
10279e64188SPeter Meerwald-Stadler	tristate "RFD77402 ToF sensor"
10379e64188SPeter Meerwald-Stadler	depends on I2C
10479e64188SPeter Meerwald-Stadler	help
1054a5e353cSChristophe JAILLET	  Say Y to build a driver for the RFD77402 Time-of-Flight (distance)
10679e64188SPeter Meerwald-Stadler	  sensor module with I2C interface.
10779e64188SPeter Meerwald-Stadler
10879e64188SPeter Meerwald-Stadler	  To compile this driver as a module, choose M here: the
10979e64188SPeter Meerwald-Stadler	  module will be called rfd77402.
11079e64188SPeter Meerwald-Stadler
111feda2840SAndreas Klingerconfig SRF04
11221cf20a8SAndreas Klinger	tristate "GPIO bitbanged ultrasonic ranger sensor (SRF04, MB1000)"
113feda2840SAndreas Klinger	depends on GPIOLIB
114feda2840SAndreas Klinger	help
11521cf20a8SAndreas Klinger	  Say Y here to build a driver for GPIO bitbanged ultrasonic
116feda2840SAndreas Klinger	  ranger sensor. This driver can be used to measure the distance
117feda2840SAndreas Klinger	  of objects. It is using two GPIOs.
11821cf20a8SAndreas Klinger	  Actually Supported types are:
11921cf20a8SAndreas Klinger	  - Devantech SRF04
12021cf20a8SAndreas Klinger	  - Maxbotix mb1000
12121cf20a8SAndreas Klinger	  - Maxbotix mb1010
12221cf20a8SAndreas Klinger	  - Maxbotix mb1020
12321cf20a8SAndreas Klinger	  - Maxbotix mb1030
12421cf20a8SAndreas Klinger	  - Maxbotix mb1040
125feda2840SAndreas Klinger
126feda2840SAndreas Klinger	  To compile this driver as a module, choose M here: the
127feda2840SAndreas Klinger	  module will be called srf04.
128feda2840SAndreas Klinger
129caa8ce7fSGwendal Grignouconfig SX_COMMON
130caa8ce7fSGwendal Grignou	tristate
131caa8ce7fSGwendal Grignou	help
132caa8ce7fSGwendal Grignou	  Common Semtech proximity sensor code.
133caa8ce7fSGwendal Grignou
13472ad02b1SDaniel Campelloconfig SX9310
13572ad02b1SDaniel Campello	tristate "SX9310/SX9311 Semtech proximity sensor"
13672ad02b1SDaniel Campello	select IIO_BUFFER
13772ad02b1SDaniel Campello	select IIO_TRIGGERED_BUFFER
13872ad02b1SDaniel Campello	select REGMAP_I2C
139caa8ce7fSGwendal Grignou	select SX_COMMON
14072ad02b1SDaniel Campello	depends on I2C
14172ad02b1SDaniel Campello	help
14272ad02b1SDaniel Campello	  Say Y here to build a driver for Semtech's SX9310/SX9311 capacitive
14372ad02b1SDaniel Campello	  proximity/button sensor.
14472ad02b1SDaniel Campello
14572ad02b1SDaniel Campello	  To compile this driver as a module, choose M here: the
14672ad02b1SDaniel Campello	  module will be called sx9310.
14772ad02b1SDaniel Campello
1484c18a890SGwendal Grignouconfig SX9324
1494c18a890SGwendal Grignou	tristate "SX9324 Semtech proximity sensor"
1504c18a890SGwendal Grignou	select IIO_BUFFER
1514c18a890SGwendal Grignou	select IIO_TRIGGERED_BUFFER
1524c18a890SGwendal Grignou	select REGMAP_I2C
1534c18a890SGwendal Grignou	select SX_COMMON
1544c18a890SGwendal Grignou	depends on I2C
1554c18a890SGwendal Grignou	help
1564c18a890SGwendal Grignou	  Say Y here to build a driver for Semtech's SX9324
1574c18a890SGwendal Grignou	  proximity/button sensor.
1584c18a890SGwendal Grignou
1594c18a890SGwendal Grignou	  To compile this driver as a module, choose M here: the
1604c18a890SGwendal Grignou	  module will be called sx9324.
1614c18a890SGwendal Grignou
1621cdb4c47SGwendal Grignouconfig SX9360
1631cdb4c47SGwendal Grignou	tristate "SX9360 Semtech proximity sensor"
1641cdb4c47SGwendal Grignou	select IIO_BUFFER
1651cdb4c47SGwendal Grignou	select IIO_TRIGGERED_BUFFER
1661cdb4c47SGwendal Grignou	select REGMAP_I2C
1671cdb4c47SGwendal Grignou	select SX_COMMON
1681cdb4c47SGwendal Grignou	depends on I2C
1691cdb4c47SGwendal Grignou	help
1701cdb4c47SGwendal Grignou	  Say Y here to build a driver for Semtech's SX9360
1711cdb4c47SGwendal Grignou	  proximity/button sensor, a simplified SX9324.
1721cdb4c47SGwendal Grignou
1731cdb4c47SGwendal Grignou	  To compile this driver as a module, choose M here: the
1741cdb4c47SGwendal Grignou	  module will be called sx9360.
1751cdb4c47SGwendal Grignou
1764193c0f1SVlad Dogaruconfig SX9500
1774193c0f1SVlad Dogaru	tristate "SX9500 Semtech proximity sensor"
1784193c0f1SVlad Dogaru	select IIO_BUFFER
1794193c0f1SVlad Dogaru	select IIO_TRIGGERED_BUFFER
1804193c0f1SVlad Dogaru	select REGMAP_I2C
1814193c0f1SVlad Dogaru	depends on I2C
1824193c0f1SVlad Dogaru	help
1834193c0f1SVlad Dogaru	  Say Y here to build a driver for Semtech's SX9500 capacitive
1844193c0f1SVlad Dogaru	  proximity/button sensor.
1854193c0f1SVlad Dogaru
1864193c0f1SVlad Dogaru	  To compile this driver as a module, choose M here: the
1874193c0f1SVlad Dogaru	  module will be called sx9500.
1884193c0f1SVlad Dogaru
18978f83902SAndreas Klingerconfig SRF08
190dc2696baSAndreas Klinger	tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor"
191511051d5SAndreas Klinger	select IIO_BUFFER
192511051d5SAndreas Klinger	select IIO_TRIGGERED_BUFFER
19378f83902SAndreas Klinger	depends on I2C
19478f83902SAndreas Klinger	help
195dc2696baSAndreas Klinger	  Say Y here to build a driver for Devantech SRF02/SRF08/SRF10
196dc2696baSAndreas Klinger	  ultrasonic ranger sensors with i2c interface.
197dc2696baSAndreas Klinger	  This driver can be used to measure the distance of objects.
19878f83902SAndreas Klinger
19978f83902SAndreas Klinger	  To compile this driver as a module, choose M here: the
20078f83902SAndreas Klinger	  module will be called srf08.
20178f83902SAndreas Klinger
202ac101e6bSIvan Mikhaylovconfig VCNL3020
203ac101e6bSIvan Mikhaylov	tristate "VCNL3020 proximity sensor"
204ac101e6bSIvan Mikhaylov	select REGMAP_I2C
205ac101e6bSIvan Mikhaylov	depends on I2C
206ac101e6bSIvan Mikhaylov	help
207ac101e6bSIvan Mikhaylov	  Say Y here if you want to build a driver for the Vishay VCNL3020
208ac101e6bSIvan Mikhaylov	  proximity sensor.
209ac101e6bSIvan Mikhaylov
210ac101e6bSIvan Mikhaylov	  To compile this driver as a module, choose M here: the
211ac101e6bSIvan Mikhaylov	  module will be called vcnl3020.
212ac101e6bSIvan Mikhaylov
2136eb17c6cSSong Qiangconfig VL53L0X_I2C
2146eb17c6cSSong Qiang	tristate "STMicroelectronics VL53L0X ToF ranger sensor (I2C)"
2156eb17c6cSSong Qiang	depends on I2C
2166eb17c6cSSong Qiang	help
2176eb17c6cSSong Qiang	  Say Y here to build a driver for STMicroelectronics VL53L0X
2186eb17c6cSSong Qiang	  ToF ranger sensors with i2c interface.
2196eb17c6cSSong Qiang	  This driver can be used to measure the distance of objects.
2206eb17c6cSSong Qiang
2216eb17c6cSSong Qiang	  To compile this driver as a module, choose M here: the
2226eb17c6cSSong Qiang	  module will be called vl53l0x-i2c.
2236eb17c6cSSong Qiang
2244193c0f1SVlad Dogaruendmenu
225