diff options
author | Hartley Sweeten <hartleys@visionengravers.com> | 2009-07-29 17:41:06 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-07-30 12:45:43 -0400 |
commit | ef12379f205bed7e92434e12ddd44e62d13bebe1 (patch) | |
tree | c372f5741826e7fbdaec8eac86191b52e3e621af /drivers/misc/Kconfig | |
parent | 3aa7a9a3cf8774f6701b1903a6353f9545f561ce (diff) |
ARM: 5628/1: ep93xx: Introduce Pulse Width Modulator (PWM) driver
The EP93xx features two PWMs (one on the EP9307) with the following
features:
* Configurable dual output
* Separate input clocks for each PWM output
* 16-bit resolution
* Programmable pulse width (duty cycle), interval (frequency), and
polarity
This adds the necessary core support as well as the driver. A sysfs
interface is provided to control the PWM outputs.
Signed-off-by: Matthieu Crapet <mcrapet@gmail.com>
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r-- | drivers/misc/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 68ab39d7cb35..df1f86b5c83e 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -233,6 +233,19 @@ config ISL29003 | |||
233 | This driver can also be built as a module. If so, the module | 233 | This driver can also be built as a module. If so, the module |
234 | will be called isl29003. | 234 | will be called isl29003. |
235 | 235 | ||
236 | config EP93XX_PWM | ||
237 | tristate "EP93xx PWM support" | ||
238 | depends on ARCH_EP93XX | ||
239 | help | ||
240 | This option enables device driver support for the PWM channels | ||
241 | on the Cirrus EP93xx processors. The EP9307 chip only has one | ||
242 | PWM channel all the others have two, the second channel is an | ||
243 | alternate function of the EGPIO14 pin. A sysfs interface is | ||
244 | provided to control the PWM channels. | ||
245 | |||
246 | To compile this driver as a module, choose M here: the module will | ||
247 | be called ep93xx_pwm. | ||
248 | |||
236 | source "drivers/misc/c2port/Kconfig" | 249 | source "drivers/misc/c2port/Kconfig" |
237 | source "drivers/misc/eeprom/Kconfig" | 250 | source "drivers/misc/eeprom/Kconfig" |
238 | source "drivers/misc/cb710/Kconfig" | 251 | source "drivers/misc/cb710/Kconfig" |