summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/Kconfig
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2020-03-23 15:24:20 +0100
committerThierry Reding <thierry.reding@gmail.com>2020-03-30 18:03:09 +0200
commitc2693514a0a1ec3abcb4673775af3edc797e8a07 (patch)
treeef380b00d25a48e8b41a8b52eb4f945a36f786bd /drivers/pwm/Kconfig
parentpwm: jz4740: Improve algorithm of clock calculation (diff)
downloadlinux-c2693514a0a1ec3abcb4673775af3edc797e8a07.tar.xz
linux-c2693514a0a1ec3abcb4673775af3edc797e8a07.zip
pwm: jz4740: Obtain regmap from parent node
The TCU registers are shared between a handful of drivers, accessing them through the same regmap. While this driver is devicetree-compatible, it is never (as of now) probed from devicetree, so this change does not introduce a ABI problem with current devicetree files. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Tested-by: Mathieu Malaterre <malat@debian.org> Tested-by: Artur Rojek <contact@artur-rojek.eu> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r--drivers/pwm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 6729b0ba1252..eebbc917ac97 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -236,6 +236,7 @@ config PWM_JZ4740
tristate "Ingenic JZ47xx PWM support"
depends on MACH_INGENIC
depends on COMMON_CLK
+ select MFD_SYSCON
help
Generic PWM framework driver for Ingenic JZ47xx based
machines.