Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db60697a authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Greg Kroah-Hartman
Browse files

staging:iio: Trivial kconfig reorganization and uniformity improvements.

parent 44d8b354
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -5,17 +5,17 @@
menuconfig IIO
	tristate "Industrial I/O support"
	depends on !S390
	---help---
	help
	  The industrial I/O subsystem provides a unified framework for
	  drivers for many different types of embedded sensors using a
	  number of different physical interfaces (i2c, spi, etc). See
	  Documentation/industrialio for more information.
	  drivers/staging/iio/Documentation for more information.
if IIO

config IIO_RING_BUFFER
	bool "Enable ring buffer support within IIO"
	bool "Enable buffer support within IIO"
	help
	  Provide core support for various ring buffer based data
	  Provide core support for various buffer based data
	  acquisition methods.

if IIO_RING_BUFFER
+24 −24
Original line number Diff line number Diff line
@@ -3,30 +3,6 @@
#
comment "Analog to digital convertors"

config MAX1363
	tristate "MAXIM max1363 ADC driver"
	depends on I2C
	select IIO_TRIGGER if IIO_RING_BUFFER
	select MAX1363_RING_BUFFER
	help
	  Say yes here to build support for many MAXIM i2c analog to digital
	  convertors (ADC). (max1361, max1362, max1363, max1364, max1036,
	  max1037, max1038, max1039, max1136, max1136, max1137, max1138,
	  max1139, max1236, max1237, max11238, max1239, max11600, max11601,
	  max11602, max11603, max11604, max11605, max11606, max11607,
	  max11608, max11609, max11610, max11611, max11612, max11613,
	  max11614, max11615, max11616, max11617, max11644, max11645,
	  max11646, max11647) Provides direct access via sysfs.

config MAX1363_RING_BUFFER
	bool "MAXIM max1363: use ring buffer"
	depends on MAX1363
	select IIO_RING_BUFFER
	select IIO_SW_RING
	help
	  Say yes here to include ring buffer support in the MAX1363
	  ADC driver.

config AD7150
	tristate "Analog Devices ad7150/1/6 capacitive sensor driver"
	depends on I2C
@@ -191,3 +167,27 @@ config ADT7410
	help
	  Say yes here to build support for Analog Devices ADT7410
	  temperature sensors.

config MAX1363
	tristate "Maxim max1363 ADC driver"
	depends on I2C
	select IIO_TRIGGER if IIO_RING_BUFFER
	select MAX1363_RING_BUFFER
	help
	  Say yes here to build support for many Maxim i2c analog to digital
	  convertors (ADC). (max1361, max1362, max1363, max1364, max1036,
	  max1037, max1038, max1039, max1136, max1136, max1137, max1138,
	  max1139, max1236, max1237, max11238, max1239, max11600, max11601,
	  max11602, max11603, max11604, max11605, max11606, max11607,
	  max11608, max11609, max11610, max11611, max11612, max11613,
	  max11614, max11615, max11616, max11617, max11644, max11645,
	  max11646, max11647) Provides direct access via sysfs.

config MAX1363_RING_BUFFER
	bool "Maxim max1363: use ring buffer"
	depends on MAX1363
	select IIO_RING_BUFFER
	select IIO_SW_RING
	help
	  Say yes here to include ring buffer support in the MAX1363
	  ADC driver.
+13 −13
Original line number Diff line number Diff line
#
\#
# Light sensors
#
comment "Light sensors"

config SENSORS_TSL2563
	tristate "TAOS TSL256[0-3] ambient light sensor"
	depends on I2C
	help
	 If you say yes here you get support for the Taos TSL2560,
	 TSL2561, TSL2562 and TSL2563 ambient light sensors.

	 This driver can also be built as a module.  If so, the module
	 will be called tsl2563.

config SENSORS_ISL29018
        tristate "ISL 29018 light and proximity sensor"
        depends on I2C
@@ -24,9 +14,19 @@ config SENSORS_ISL29018
         in lux, proximity infrared sensing and normal infrared sensing.
         Data from sensor is accessible via sysfs.

config SENSORS_TSL2563
	tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors"
	depends on I2C
	help
	 If you say yes here you get support for the Taos TSL2560,
	 TSL2561, TSL2562 and TSL2563 ambient light sensors.

	 This driver can also be built as a module.  If so, the module
	 will be called tsl2563.

config TSL2583
	tristate "TAOS TSL2580, TSL2581, and TSL2583 light-to-digital converters"
	tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters"
	depends on I2C
	help
	 Provides support for the TAOS tsl2580, tsl2581, and tsl2583 devices.
	 Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices.
	 Access ALS data via iio, sysfs.