1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[kernel] Add the generic PWM api from Bill Gatliff (experimental). Ignore the leds trigger part at the moment

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21800 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
claudio
2010-06-14 18:01:11 +00:00
parent 9b66d8959f
commit f3b6a5b9b9
9 changed files with 2042 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#
# PWM infrastructure and devices
#
menuconfig GENERIC_PWM
tristate "PWM Support"
depends on SYSFS
help
This enables PWM support through the generic PWM library.
If unsure, say N.
if GENERIC_PWM
config ATMEL_PWM
tristate "Atmel AT32/AT91 PWM support"
depends on AVR32 || ARCH_AT91
help
This option enables device driver support for the PWMC
peripheral channels found on certain Atmel processors.
Pulse Width Modulation is used many for purposes, including
software controlled power-efficient backlights on LCD
displays, motor control, and waveform generation. If
unsure, say N.
config GPIO_PWM
tristate "PWM emulation using GPIO"
help
This option enables a single-channel PWM device using
a kernel interval timer and a GPIO pin. If unsure, say N.
endif