summaryrefslogtreecommitdiff
path: root/drivers/pwm/Kconfig
diff options
context:
space:
mode:
authorSam Shih <sam.shih@mediatek.com>2020-02-21 16:01:46 +0300
committerTom Rini <trini@konsulko.com>2020-04-17 19:32:36 +0300
commita537fa4da1599c303bc4a0deb2cafbcadf618e2f (patch)
tree79a0db11105789045943e6955abf7579021b71fc /drivers/pwm/Kconfig
parenta17322329b3b1526b23f8e1f6573a5d4f737c573 (diff)
downloadu-boot-a537fa4da1599c303bc4a0deb2cafbcadf618e2f.tar.xz
mediatek: pwm: add pwm driver for MediaTek SoCs
This driver support the standard PWM API for MediaTek MT7623, MT7622 and MT7629 SoCs Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r--drivers/pwm/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 1f36fc78fa..edb3f0f538 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -23,6 +23,13 @@ config PWM_IMX
help
This PWM is found i.MX27 and later i.MX SoCs.
+config PWM_MTK
+ bool "Enable support for MediaTek PWM"
+ depends on DM_PWM
+ help
+ This PWM is found on MT7622, MT7623, and MT7629. It supports a
+ programmable period and duty cycle.
+
config PWM_ROCKCHIP
bool "Enable support for the Rockchip PWM"
depends on DM_PWM