summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/Kconfig
diff options
context:
space:
mode:
authorJonathan Cameron2012-02-15 20:48:03 +0100
committerGreg Kroah-Hartman2012-02-24 21:10:03 +0100
commite0f8a24e0edfde036d324ff412bafa26e7fce642 (patch)
tree0f230e5de68fbde67c3db2c70fa2a3f004761a1a /drivers/staging/iio/Kconfig
parentstaging:iio: move iio data return types into types.h for use by inkern (diff)
downloadkernel-qcow2-linux-e0f8a24e0edfde036d324ff412bafa26e7fce642.tar.gz
kernel-qcow2-linux-e0f8a24e0edfde036d324ff412bafa26e7fce642.tar.xz
kernel-qcow2-linux-e0f8a24e0edfde036d324ff412bafa26e7fce642.zip
staging:iio::hwmon interface client driver.
Direct copy of version proposed for the non staging branch. Needed here to allow testing of more advanced inkernel interface code. Minimal support of simple in, curr and temp attributes so far. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/Kconfig')
-rw-r--r--drivers/staging/iio/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/staging/iio/Kconfig b/drivers/staging/iio/Kconfig
index 90162aa8b2df..24c6ed9d9164 100644
--- a/drivers/staging/iio/Kconfig
+++ b/drivers/staging/iio/Kconfig
@@ -11,6 +11,13 @@ menuconfig IIO
number of different physical interfaces (i2c, spi, etc). See
drivers/staging/iio/Documentation for more information.
if IIO
+config IIO_ST_HWMON
+ tristate "Hwmon driver that uses channels specified via iio maps"
+ depends on HWMON
+ help
+ This is a platform driver that in combination with a suitable
+ map allows IIO devices to provide basic hwmon functionality
+ for those channels specified in the map.
config IIO_BUFFER
bool "Enable buffer support within IIO"