aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.34
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2010-06-14 18:01:11 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2010-06-14 18:01:11 +0000
commit46de802c0e1bea6daba2116abc3816e4529d3c66 (patch)
tree87864661c23e2414571f18179e1e2aa91286c5f9 /target/linux/generic-2.6/patches-2.6.34
parent1a4e4a385044d01d06f7ce88213132a6ca93d022 (diff)
downloadupstream-46de802c0e1bea6daba2116abc3816e4529d3c66.tar.gz
upstream-46de802c0e1bea6daba2116abc3816e4529d3c66.tar.bz2
upstream-46de802c0e1bea6daba2116abc3816e4529d3c66.zip
Add the generic PWM api from Bill Gatliff (experimental). Ignore the leds trigger part at the moment
SVN-Revision: 21800
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.34')
-rw-r--r--target/linux/generic-2.6/patches-2.6.34/890-generic_pwm_api.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.34/890-generic_pwm_api.patch b/target/linux/generic-2.6/patches-2.6.34/890-generic_pwm_api.patch
new file mode 100644
index 0000000000..6c58e53204
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.34/890-generic_pwm_api.patch
@@ -0,0 +1,46 @@
+Patches from: Bill Gatliff <bgat@billgatliff.com>
+Based on:
+* Expunge old Atmel PWMC driver, replacing it with one that conforms to the PWM API
+* Incorporate PWM API code into KBuild
+Ignore the LEDS part atm
+---
+
+diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
+index 049ff24..b94666c 100644
+--- a/drivers/misc/Makefile
++++ b/drivers/misc/Makefile
+@@ -5,7 +5,6 @@
+ obj-$(CONFIG_IBM_ASM) += ibmasm/
+ obj-$(CONFIG_HDPU_FEATURES) += hdpuftrs/
+ obj-$(CONFIG_AD525X_DPOT) += ad525x_dpot.o
+-obj-$(CONFIG_ATMEL_PWM) += atmel_pwm.o
+ obj-$(CONFIG_ATMEL_SSC) += atmel-ssc.o
+ obj-$(CONFIG_ATMEL_TCLIB) += atmel_tclib.o
+ obj-$(CONFIG_ICS932S401) += ics932s401.o
+diff --git a/drivers/Kconfig b/drivers/Kconfig
+index 368ae6d..54d7b16 100644
+--- a/drivers/Kconfig
++++ b/drivers/Kconfig
+@@ -54,6 +54,8 @@ source "drivers/pps/Kconfig"
+
+ source "drivers/gpio/Kconfig"
+
++source "drivers/pwm/Kconfig"
++
+ source "drivers/w1/Kconfig"
+
+ source "drivers/power/Kconfig"
+diff --git a/drivers/Makefile b/drivers/Makefile
+index 6ee53c7..e6143f3 100644
+--- a/drivers/Makefile
++++ b/drivers/Makefile
+@@ -6,6 +6,8 @@
+ #
+
+ obj-y += gpio/
++obj-$(CONFIG_GENERIC_PWM) += pwm/
++
+ obj-$(CONFIG_PCI) += pci/
+ obj-$(CONFIG_PARISC) += parisc/
+ obj-$(CONFIG_RAPIDIO) += rapidio/
+diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig