summaryrefslogtreecommitdiffstats
path: root/drivers/iio/amplifiers/Kconfig
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2012-05-11 11:36:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-14 22:15:39 +0200
commite71d42e03c60d215bde295d2b986bbc96878c7d6 (patch)
tree45256c147754138d15da7bf9856e5efeae931d66 /drivers/iio/amplifiers/Kconfig
parentiio: core: introduce IIO_CHAN_INFO_HARDWAREGAIN (diff)
downloadlinux-e71d42e03c60d215bde295d2b986bbc96878c7d6.tar.xz
linux-e71d42e03c60d215bde295d2b986bbc96878c7d6.zip
iio: amplifiers: New driver for AD8366 Dual-Digital Variable Gain Amplifier
Changes since V1: Apply review feedback: Introduce and use IIO_CHAN_INFO_HARDWAREGAIN Introduce and use Use IIO_VAL_INT_PLUS_MICRO_DB Modify out of staging include paths. Convert to new iio core API naming. Changes since V2: more sanity checking in write_raw Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/amplifiers/Kconfig')
-rw-r--r--drivers/iio/amplifiers/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/iio/amplifiers/Kconfig b/drivers/iio/amplifiers/Kconfig
new file mode 100644
index 000000000000..05d707ed7d4f
--- /dev/null
+++ b/drivers/iio/amplifiers/Kconfig
@@ -0,0 +1,17 @@
+#
+# Gain Amplifiers, etc.
+#
+menu "Amplifiers"
+
+config AD8366
+ tristate "Analog Devices AD8366 VGA"
+ depends on SPI
+ select BITREVERSE
+ help
+ Say yes here to build support for Analog Devices AD8366
+ SPI Dual-Digital Variable Gain Amplifier (VGA).
+
+ To compile this driver as a module, choose M here: the
+ module will be called ad8366.
+
+endmenu