diff options
author | Rick Altherr | 2017-03-28 23:52:59 +0200 |
---|---|---|
committer | Jonathan Cameron | 2017-04-01 12:53:20 +0200 |
commit | 573803234e72d182ec39692770110e574cd5b222 (patch) | |
tree | 9c4dfe0ff91e55844e8d48f5ff605b33149ae793 /drivers/iio/adc/Kconfig | |
parent | Documentation: dt-bindings: Document bindings for Aspeed ADC (diff) | |
download | kernel-qcow2-linux-573803234e72d182ec39692770110e574cd5b222.tar.gz kernel-qcow2-linux-573803234e72d182ec39692770110e574cd5b222.tar.xz kernel-qcow2-linux-573803234e72d182ec39692770110e574cd5b222.zip |
iio: Aspeed ADC
Aspeed BMC SoCs include a 16 channel, 10-bit ADC. Low and high threshold
interrupts are supported by the hardware but are not currently implemented.
Signed-off-by: Rick Altherr <raltherr@google.com>
Tested-by: Xo Wang <xow@google.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r-- | drivers/iio/adc/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index b369a4397d90..38c76ea683ea 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -130,6 +130,17 @@ config AD799X To compile this driver as a module, choose M here: the module will be called ad799x. +config ASPEED_ADC + tristate "Aspeed ADC" + depends on ARCH_ASPEED || COMPILE_TEST + depends on COMMON_CLK + help + If you say yes here you get support for the ADC included in Aspeed + BMC SoCs. + + To compile this driver as a module, choose M here: the module will be + called aspeed_adc. + config AT91_ADC tristate "Atmel AT91 ADC" depends on ARCH_AT91 |