diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-06-15 16:55:39 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-07-23 01:18:23 -0400 |
commit | 006669ec21d99e161015150ffedeeaeaad513c3b (patch) | |
tree | f248b63a06a302f8f0b038208bd34b4dfc824502 /arch/blackfin/Kconfig | |
parent | e1b55965337e2c0cd26055ce446c506448c08e6d (diff) |
Blackfin: pwm: implement linux/pwm.h API
For now, this only supports gptimers. Support for dedicated PWM devices
as found on newer parts to come.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index d619b17c4413..c7476295de80 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -953,6 +953,16 @@ config BFIN_GPTIMERS | |||
953 | To compile this driver as a module, choose M here: the module | 953 | To compile this driver as a module, choose M here: the module |
954 | will be called gptimers. | 954 | will be called gptimers. |
955 | 955 | ||
956 | config HAVE_PWM | ||
957 | tristate "Enable PWM API support" | ||
958 | depends on BFIN_GPTIMERS | ||
959 | help | ||
960 | Enable support for the Pulse Width Modulation framework (as | ||
961 | found in linux/pwm.h). | ||
962 | |||
963 | To compile this driver as a module, choose M here: the module | ||
964 | will be called pwm. | ||
965 | |||
956 | choice | 966 | choice |
957 | prompt "Uncached DMA region" | 967 | prompt "Uncached DMA region" |
958 | default DMA_UNCACHED_1M | 968 | default DMA_UNCACHED_1M |