summaryrefslogtreecommitdiff
path: root/target/linux/at91/patches
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2010-12-23 15:20:26 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2010-12-23 15:20:26 +0000
commitcd540fed5bb5e208b972a40b9ec2bba15b911dd9 (patch)
tree50737ae0601ababa490f571b4e91ab4deb35684b /target/linux/at91/patches
parent69b7963402a3788cf920a9f604569a2c57e7ac13 (diff)
downloadmtk-20170518-cd540fed5bb5e208b972a40b9ec2bba15b911dd9.zip
mtk-20170518-cd540fed5bb5e208b972a40b9ec2bba15b911dd9.tar.gz
mtk-20170518-cd540fed5bb5e208b972a40b9ec2bba15b911dd9.tar.bz2
Import an experimental ADC driver
SVN-Revision: 24814
Diffstat (limited to 'target/linux/at91/patches')
-rw-r--r--target/linux/at91/patches/200-experimenta_adc_driver.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/at91/patches/200-experimenta_adc_driver.patch b/target/linux/at91/patches/200-experimenta_adc_driver.patch
new file mode 100644
index 0000000..dc59a16
--- /dev/null
+++ b/target/linux/at91/patches/200-experimenta_adc_driver.patch
@@ -0,0 +1,27 @@
+Index: linux-2.6.35.9/drivers/misc/Kconfig
+===================================================================
+--- linux-2.6.35.9.orig/drivers/misc/Kconfig 2010-12-20 19:06:11.185139238 +0100
++++ linux-2.6.35.9/drivers/misc/Kconfig 2010-12-20 19:07:31.000000000 +0100
+@@ -95,6 +95,10 @@
+ TC can be used for other purposes, such as PWM generation and
+ interval timing.
+
++config AT91_ADC
++ bool "AT91 ADC converter"
++ depends on ARCH_AT91 && SYSFS
++
+ config IBM_ASM
+ tristate "Device driver for IBM RSA service processor"
+ depends on X86 && PCI && INPUT && EXPERIMENTAL
+Index: linux-2.6.35.9/drivers/misc/Makefile
+===================================================================
+--- linux-2.6.35.9.orig/drivers/misc/Makefile 2010-12-20 19:04:59.494200153 +0100
++++ linux-2.6.35.9/drivers/misc/Makefile 2010-12-20 19:06:04.000000000 +0100
+@@ -9,6 +9,7 @@
+ obj-$(CONFIG_ATMEL_PWM) += atmel_pwm.o
+ obj-$(CONFIG_ATMEL_SSC) += atmel-ssc.o
+ obj-$(CONFIG_ATMEL_TCLIB) += atmel_tclib.o
++obj-$(CONFIG_AT91_ADC) += at91-adc.o
+ obj-$(CONFIG_ICS932S401) += ics932s401.o
+ obj-$(CONFIG_LKDTM) += lkdtm.o
+ obj-$(CONFIG_TIFM_CORE) += tifm_core.o