summaryrefslogtreecommitdiff
path: root/drivers/pwm/Makefile
diff options
context:
space:
mode:
authorNikita Travkin <nikita@trvn.ru>2022-07-11 23:33:40 +0300
committerThierry Reding <thierry.reding@gmail.com>2022-07-29 14:41:18 +0300
commit901f8f5404f14fe0cf62bc3cd52ccff32738b404 (patch)
treed965bbbd1026b67c13bfe370de92aa25cfdb902b /drivers/pwm/Makefile
parentc2252c181ab5d6d764e505143a55775187670543 (diff)
downloadlinux-901f8f5404f14fe0cf62bc3cd52ccff32738b404.tar.xz
pwm: Add clock based PWM output driver
Some systems have clocks exposed to external devices. If the clock controller supports duty-cycle configuration, such clocks can be used as pwm outputs. In fact PWM and CLK subsystems are interfaced with in a similar way and an "opposite" driver already exists (clk-pwm). Add a driver that would enable pwm devices to be used via clk subsystem. Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Nikita Travkin <nikita@trvn.ru> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/Makefile')
-rw-r--r--drivers/pwm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pwm/Makefile b/drivers/pwm/Makefile
index 5c08bdb817b4..7bf1a29f02b8 100644
--- a/drivers/pwm/Makefile
+++ b/drivers/pwm/Makefile
@@ -10,6 +10,7 @@ obj-$(CONFIG_PWM_BCM_KONA) += pwm-bcm-kona.o
obj-$(CONFIG_PWM_BCM2835) += pwm-bcm2835.o
obj-$(CONFIG_PWM_BERLIN) += pwm-berlin.o
obj-$(CONFIG_PWM_BRCMSTB) += pwm-brcmstb.o
+obj-$(CONFIG_PWM_CLK) += pwm-clk.o
obj-$(CONFIG_PWM_CLPS711X) += pwm-clps711x.o
obj-$(CONFIG_PWM_CRC) += pwm-crc.o
obj-$(CONFIG_PWM_CROS_EC) += pwm-cros-ec.o