summaryrefslogtreecommitdiff
path: root/drivers/iio/amplifiers/Kconfig
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2012-05-11 13:36:54 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-15 00:15:39 +0400
commite71d42e03c60d215bde295d2b986bbc96878c7d6 (patch)
tree45256c147754138d15da7bf9856e5efeae931d66 /drivers/iio/amplifiers/Kconfig
parentb65d62122fa57035fae06a78e0b65622a1e1bc34 (diff)
downloadlinux-e71d42e03c60d215bde295d2b986bbc96878c7d6.tar.xz
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