From f3b6a5b9b91495aa5f73f1b7033fae2fcb6d1304 Mon Sep 17 00:00:00 2001 From: claudio Date: Mon, 14 Jun 2010 18:01:11 +0000 Subject: [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 --- target/linux/generic-2.6/files/drivers/pwm/Kconfig | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 target/linux/generic-2.6/files/drivers/pwm/Kconfig (limited to 'target/linux/generic-2.6/files/drivers/pwm/Kconfig') diff --git a/target/linux/generic-2.6/files/drivers/pwm/Kconfig b/target/linux/generic-2.6/files/drivers/pwm/Kconfig new file mode 100644 index 000000000..1c24e1107 --- /dev/null +++ b/target/linux/generic-2.6/files/drivers/pwm/Kconfig @@ -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 -- cgit v1.2.3