diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-05-18 09:42:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-19 19:15:06 -0400 |
commit | db60697a086cdf4bbe6deedcefc2ff81e2a9efd2 (patch) | |
tree | 8b425574b378a83384259d678e3849af11e69f2f /drivers | |
parent | 44d8b3542f703a70fbd8f3f64816ab8bab32bce0 (diff) |
staging:iio: Trivial kconfig reorganization and uniformity improvements.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/Kconfig | 8 | ||||
-rw-r--r-- | drivers/staging/iio/adc/Kconfig | 48 | ||||
-rw-r--r-- | drivers/staging/iio/light/Kconfig | 26 |
3 files changed, 41 insertions, 41 deletions
diff --git a/drivers/staging/iio/Kconfig b/drivers/staging/iio/Kconfig index e6235d172cb7..f96d5b5d5141 100644 --- a/drivers/staging/iio/Kconfig +++ b/drivers/staging/iio/Kconfig | |||
@@ -5,17 +5,17 @@ | |||
5 | menuconfig IIO | 5 | menuconfig IIO |
6 | tristate "Industrial I/O support" | 6 | tristate "Industrial I/O support" |
7 | depends on !S390 | 7 | depends on !S390 |
8 | ---help--- | 8 | help |
9 | The industrial I/O subsystem provides a unified framework for | 9 | The industrial I/O subsystem provides a unified framework for |
10 | drivers for many different types of embedded sensors using a | 10 | drivers for many different types of embedded sensors using a |
11 | number of different physical interfaces (i2c, spi, etc). See | 11 | number of different physical interfaces (i2c, spi, etc). See |
12 | Documentation/industrialio for more information. | 12 | drivers/staging/iio/Documentation for more information. |
13 | if IIO | 13 | if IIO |
14 | 14 | ||
15 | config IIO_RING_BUFFER | 15 | config IIO_RING_BUFFER |
16 | bool "Enable ring buffer support within IIO" | 16 | bool "Enable buffer support within IIO" |
17 | help | 17 | help |
18 | Provide core support for various ring buffer based data | 18 | Provide core support for various buffer based data |
19 | acquisition methods. | 19 | acquisition methods. |
20 | 20 | ||
21 | if IIO_RING_BUFFER | 21 | if IIO_RING_BUFFER |
diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig index 617af938ccc7..8c751c46ddd7 100644 --- a/drivers/staging/iio/adc/Kconfig +++ b/drivers/staging/iio/adc/Kconfig | |||
@@ -3,30 +3,6 @@ | |||
3 | # | 3 | # |
4 | comment "Analog to digital convertors" | 4 | comment "Analog to digital convertors" |
5 | 5 | ||
6 | config MAX1363 | ||
7 | tristate "MAXIM max1363 ADC driver" | ||
8 | depends on I2C | ||
9 | select IIO_TRIGGER if IIO_RING_BUFFER | ||
10 | select MAX1363_RING_BUFFER | ||
11 | help | ||
12 | Say yes here to build support for many MAXIM i2c analog to digital | ||
13 | convertors (ADC). (max1361, max1362, max1363, max1364, max1036, | ||
14 | max1037, max1038, max1039, max1136, max1136, max1137, max1138, | ||
15 | max1139, max1236, max1237, max11238, max1239, max11600, max11601, | ||
16 | max11602, max11603, max11604, max11605, max11606, max11607, | ||
17 | max11608, max11609, max11610, max11611, max11612, max11613, | ||
18 | max11614, max11615, max11616, max11617, max11644, max11645, | ||
19 | max11646, max11647) Provides direct access via sysfs. | ||
20 | |||
21 | config MAX1363_RING_BUFFER | ||
22 | bool "MAXIM max1363: use ring buffer" | ||
23 | depends on MAX1363 | ||
24 | select IIO_RING_BUFFER | ||
25 | select IIO_SW_RING | ||
26 | help | ||
27 | Say yes here to include ring buffer support in the MAX1363 | ||
28 | ADC driver. | ||
29 | |||
30 | config AD7150 | 6 | config AD7150 |
31 | tristate "Analog Devices ad7150/1/6 capacitive sensor driver" | 7 | tristate "Analog Devices ad7150/1/6 capacitive sensor driver" |
32 | depends on I2C | 8 | depends on I2C |
@@ -191,3 +167,27 @@ config ADT7410 | |||
191 | help | 167 | help |
192 | Say yes here to build support for Analog Devices ADT7410 | 168 | Say yes here to build support for Analog Devices ADT7410 |
193 | temperature sensors. | 169 | temperature sensors. |
170 | |||
171 | config MAX1363 | ||
172 | tristate "Maxim max1363 ADC driver" | ||
173 | depends on I2C | ||
174 | select IIO_TRIGGER if IIO_RING_BUFFER | ||
175 | select MAX1363_RING_BUFFER | ||
176 | help | ||
177 | Say yes here to build support for many Maxim i2c analog to digital | ||
178 | convertors (ADC). (max1361, max1362, max1363, max1364, max1036, | ||
179 | max1037, max1038, max1039, max1136, max1136, max1137, max1138, | ||
180 | max1139, max1236, max1237, max11238, max1239, max11600, max11601, | ||
181 | max11602, max11603, max11604, max11605, max11606, max11607, | ||
182 | max11608, max11609, max11610, max11611, max11612, max11613, | ||
183 | max11614, max11615, max11616, max11617, max11644, max11645, | ||
184 | max11646, max11647) Provides direct access via sysfs. | ||
185 | |||
186 | config MAX1363_RING_BUFFER | ||
187 | bool "Maxim max1363: use ring buffer" | ||
188 | depends on MAX1363 | ||
189 | select IIO_RING_BUFFER | ||
190 | select IIO_SW_RING | ||
191 | help | ||
192 | Say yes here to include ring buffer support in the MAX1363 | ||
193 | ADC driver. | ||
diff --git a/drivers/staging/iio/light/Kconfig b/drivers/staging/iio/light/Kconfig index e9f379411c83..46d62d1b0370 100644 --- a/drivers/staging/iio/light/Kconfig +++ b/drivers/staging/iio/light/Kconfig | |||
@@ -1,18 +1,8 @@ | |||
1 | # | 1 | \# |
2 | # Light sensors | 2 | # Light sensors |
3 | # | 3 | # |
4 | comment "Light sensors" | 4 | comment "Light sensors" |
5 | 5 | ||
6 | config SENSORS_TSL2563 | ||
7 | tristate "TAOS TSL256[0-3] ambient light sensor" | ||
8 | depends on I2C | ||
9 | help | ||
10 | If you say yes here you get support for the Taos TSL2560, | ||
11 | TSL2561, TSL2562 and TSL2563 ambient light sensors. | ||
12 | |||
13 | This driver can also be built as a module. If so, the module | ||
14 | will be called tsl2563. | ||
15 | |||
16 | config SENSORS_ISL29018 | 6 | config SENSORS_ISL29018 |
17 | tristate "ISL 29018 light and proximity sensor" | 7 | tristate "ISL 29018 light and proximity sensor" |
18 | depends on I2C | 8 | depends on I2C |
@@ -24,9 +14,19 @@ config SENSORS_ISL29018 | |||
24 | in lux, proximity infrared sensing and normal infrared sensing. | 14 | in lux, proximity infrared sensing and normal infrared sensing. |
25 | Data from sensor is accessible via sysfs. | 15 | Data from sensor is accessible via sysfs. |
26 | 16 | ||
17 | config SENSORS_TSL2563 | ||
18 | tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors" | ||
19 | depends on I2C | ||
20 | help | ||
21 | If you say yes here you get support for the Taos TSL2560, | ||
22 | TSL2561, TSL2562 and TSL2563 ambient light sensors. | ||
23 | |||
24 | This driver can also be built as a module. If so, the module | ||
25 | will be called tsl2563. | ||
26 | |||
27 | config TSL2583 | 27 | config TSL2583 |
28 | tristate "TAOS TSL2580, TSL2581, and TSL2583 light-to-digital converters" | 28 | tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters" |
29 | depends on I2C | 29 | depends on I2C |
30 | help | 30 | help |
31 | Provides support for the TAOS tsl2580, tsl2581, and tsl2583 devices. | 31 | Provides support for the TAOS tsl2580, tsl2581 and tsl2583 devices. |
32 | Access ALS data via iio, sysfs. | 32 | Access ALS data via iio, sysfs. |