diff options
author | Rick Altherr <raltherr@google.com> | 2017-03-29 00:52:59 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-04-01 13:53:20 +0300 |
commit | 573803234e72d182ec39692770110e574cd5b222 (patch) | |
tree | 9c4dfe0ff91e55844e8d48f5ff605b33149ae793 /drivers/iio/adc/Kconfig | |
parent | fb87ecf19e350d73206c5fbf28a28588f171f15d (diff) | |
download | linux-573803234e72d182ec39692770110e574cd5b222.tar.xz |
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 |