[xburst] Set -march=mips32
[openwrt/svn-archive/archive.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 --- a/drivers/misc/Kconfig
12 +++ b/drivers/misc/Kconfig
13 @@ -246,6 +246,17 @@ config EP93XX_PWM
14 To compile this driver as a module, choose M here: the module will
15 be called ep93xx_pwm.
16
17 +config JZ4740_ADC
18 + tristate "Ingenic JZ4720/JZ4740 SoC ADC driver"
19 + depends on SOC_JZ4740
20 + help
21 + If you say yes here you get support for the Ingenic JZ4720/JZ4740 SoC ADC
22 + core. It is required for the JZ4720/JZ4740 battery and touchscreen driver
23 + and is used to synchronize access to the adc core between those two.
24 +
25 + This driver can also be build as a module. If so, the module will be
26 + called jz4740-adc.
27 +
28 source "drivers/misc/c2port/Kconfig"
29 source "drivers/misc/eeprom/Kconfig"
30 source "drivers/misc/cb710/Kconfig"
31 --- a/drivers/misc/Makefile
32 +++ b/drivers/misc/Makefile
33 @@ -21,5 +21,6 @@ obj-$(CONFIG_HP_ILO) += hpilo.o
34 obj-$(CONFIG_ISL29003) += isl29003.o
35 obj-$(CONFIG_EP93XX_PWM) += ep93xx_pwm.o
36 obj-$(CONFIG_C2PORT) += c2port/
37 +obj-$(CONFIG_JZ4740_ADC) += jz4740-adc.o
38 obj-y += eeprom/
39 obj-y += cb710/