Merge xburst target.
[openwrt.git] / target / linux / xburst / patches-2.6.32 / 053-adc.patch
1 From 7b55ff7b9fd37ac8857746603ec580d277208f01 Mon Sep 17 00:00:00 2001
2 From: Lars-Peter Clausen <lars@metafoo.de>
3 Date: Mon, 11 Jan 2010 04:29:40 +0100
4 Subject: [PATCH] /opt/Projects/openwrt/target/linux/xburst/patches-2.6.31/053-adc.patch
5
6 ---
7  drivers/misc/Kconfig  |   11 +++++++++++
8  drivers/misc/Makefile |    1 +
9  2 files changed, 12 insertions(+), 0 deletions(-)
10
11 diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
12 index df1f86b..d79902a 100644
13 --- a/drivers/misc/Kconfig
14 +++ b/drivers/misc/Kconfig
15 @@ -246,6 +246,17 @@ config EP93XX_PWM
16           To compile this driver as a module, choose M here: the module will
17           be called ep93xx_pwm.
18  
19 +config JZ4740_ADC
20 +       tristate "Ingenic JZ4720/JZ4740 SoC ADC driver"
21 +       depends on SOC_JZ4740
22 +    help
23 +      If you say yes here you get support for the Ingenic JZ4720/JZ4740 SoC ADC
24 +      core. It is required for the JZ4720/JZ4740 battery and touchscreen driver
25 +      and is used to synchronize access to the adc core between those two.
26 +
27 +      This driver can also be build as a module. If so, the module will be
28 +      called jz4740-adc.
29 +
30  source "drivers/misc/c2port/Kconfig"
31  source "drivers/misc/eeprom/Kconfig"
32  source "drivers/misc/cb710/Kconfig"
33 diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
34 index f982d2e..49b6e76 100644
35 --- a/drivers/misc/Makefile
36 +++ b/drivers/misc/Makefile
37 @@ -21,5 +21,6 @@ obj-$(CONFIG_HP_ILO)          += hpilo.o
38  obj-$(CONFIG_ISL29003)         += isl29003.o
39  obj-$(CONFIG_EP93XX_PWM)       += ep93xx_pwm.o
40  obj-$(CONFIG_C2PORT)           += c2port/
41 +obj-$(CONFIG_JZ4740_ADC)       += jz4740-adc.o
42  obj-y                          += eeprom/
43  obj-y                          += cb710/
44 -- 
45 1.5.6.5
46