summaryrefslogtreecommitdiff
path: root/drivers/pwm/Kconfig
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2019-08-14 20:46:11 +0800
committerThierry Reding <thierry.reding@gmail.com>2019-09-21 01:15:48 +0200
commit8aae4b02e8a6dd138afd2b54d9984d17685b0364 (patch)
tree26a9af239aa7a3d014f3111edc89a72d8aacef8d /drivers/pwm/Kconfig
parentbdaadd5948179f07ca8b508a62a8f8b00ece51ed (diff)
downloadlwn-8aae4b02e8a6dd138afd2b54d9984d17685b0364.tar.gz
lwn-8aae4b02e8a6dd138afd2b54d9984d17685b0364.zip
pwm: sprd: Add Spreadtrum PWM support
This patch adds the Spreadtrum PWM support, which provides maximum 4 channels. Signed-off-by: Neo Hou <neo.hou@unisoc.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r--drivers/pwm/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index a7e57516959e..31dfc88ef362 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -423,6 +423,17 @@ config PWM_SPEAR
To compile this driver as a module, choose M here: the module
will be called pwm-spear.
+config PWM_SPRD
+ tristate "Spreadtrum PWM support"
+ depends on ARCH_SPRD || COMPILE_TEST
+ depends on HAS_IOMEM
+ help
+ Generic PWM framework driver for the PWM controller on
+ Spreadtrum SoCs.
+
+ To compile this driver as a module, choose M here: the module
+ will be called pwm-sprd.
+
config PWM_STI
tristate "STiH4xx PWM support"
depends on ARCH_STI