Skip to content

Commit

Permalink
staging:iio: Trivial kconfig reorganization and uniformity improvements.
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed May 19, 2011
1 parent 44d8b35 commit db60697
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 41 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/iio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
48 changes: 24 additions & 24 deletions drivers/staging/iio/adc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
26 changes: 13 additions & 13 deletions drivers/staging/iio/light/Kconfig
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
#
\#
# 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
Expand All @@ -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.

0 comments on commit db60697

Please sign in to comment.