aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/Kconfig
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2014-12-17 22:15:39 +0100
committerThierry Reding <thierry.reding@gmail.com>2015-01-30 12:16:01 +0100
commit09853ce7bc1003a490c7ee74a5705d7a7cf16b7d (patch)
tree7233af707fcb24c8e6d2af0bf3b9f461721941fd /drivers/pwm/Kconfig
parentpwm: atmel-hlcdc: Prevent division by zero (diff)
downloadlinux-dev-09853ce7bc1003a490c7ee74a5705d7a7cf16b7d.tar.xz
linux-dev-09853ce7bc1003a490c7ee74a5705d7a7cf16b7d.zip
pwm: Add Allwinner SoC support
This adds a generic PWM framework driver for the PWM controller found on Allwinner SoCs. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r--drivers/pwm/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 468af1b4ca30..1ba937fb7496 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -284,6 +284,16 @@ config PWM_STI
To compile this driver as a module, choose M here: the module
will be called pwm-sti.
+config PWM_SUN4I
+ tristate "Allwinner PWM support"
+ depends on ARCH_SUNXI || COMPILE_TEST
+ depends on HAS_IOMEM && COMMON_CLK
+ help
+ Generic PWM framework driver for Allwinner SoCs.
+
+ To compile this driver as a module, choose M here: the module
+ will be called pwm-sun4i.
+
config PWM_TEGRA
tristate "NVIDIA Tegra PWM support"
depends on ARCH_TEGRA