iio: amplifiers: New driver for AD8366 Dual-Digital Variable Gain Amplifier
authorMichael Hennerich <michael.hennerich@analog.com>
Fri, 11 May 2012 09:36:54 +0000 (11:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 20:15:39 +0000 (13:15 -0700)
commite71d42e03c60d215bde295d2b986bbc96878c7d6
tree45256c147754138d15da7bf9856e5efeae931d66
parentb65d62122fa57035fae06a78e0b65622a1e1bc34
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>
drivers/iio/Kconfig
drivers/iio/Makefile
drivers/iio/amplifiers/Kconfig [new file with mode: 0644]
drivers/iio/amplifiers/Makefile [new file with mode: 0644]
drivers/iio/amplifiers/ad8366.c [new file with mode: 0644]