diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-06-19 14:32:58 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:26:19 -0400 |
commit | 7f983ba93d449972d5f372f12c6ad32d86ef30b4 (patch) | |
tree | ea152a93fd73526209dbf17e31d11d28b581e17f /drivers/hwmon/Kconfig | |
parent | 2249071b3e03747884d0781ab10b0b9ceac5756b (diff) |
HWMON: Add JZ4740 ADC driver
Add support for reading the ADCIN pin of the ADC unit on JZ4740 SoCs.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: lm-sensors@lm-sensors.org
Acked-by: Jean Delvare <khali@linux-fr.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1425/
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index e19cf8eb6ccf..c57e530d07c7 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
@@ -446,6 +446,16 @@ config SENSORS_IT87 | |||
446 | This driver can also be built as a module. If so, the module | 446 | This driver can also be built as a module. If so, the module |
447 | will be called it87. | 447 | will be called it87. |
448 | 448 | ||
449 | config SENSORS_JZ4740 | ||
450 | tristate "Ingenic JZ4740 SoC ADC driver" | ||
451 | depends on MACH_JZ4740 && MFD_JZ4740_ADC | ||
452 | help | ||
453 | If you say yes here you get support for reading adc values from the ADCIN | ||
454 | pin on Ingenic JZ4740 SoC based boards. | ||
455 | |||
456 | This driver can also be build as a module. If so, the module will be | ||
457 | called jz4740-hwmon. | ||
458 | |||
449 | config SENSORS_LM63 | 459 | config SENSORS_LM63 |
450 | tristate "National Semiconductor LM63 and LM64" | 460 | tristate "National Semiconductor LM63 and LM64" |
451 | depends on I2C | 461 | depends on I2C |