summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/Makefile
diff options
context:
space:
mode:
authorJohn Crispin2017-01-23 19:34:37 +0100
committerThierry Reding2017-04-06 17:45:04 +0200
commitcaf065f8fd583b43a3f95d84c8a0a0d07597963b (patch)
tree9168700089d50b4fafa3a2a0438f95aa0f22eccb /drivers/pwm/Makefile
parentdt-bindings: pwm: Add MediaTek PWM bindings (diff)
downloadkernel-qcow2-linux-caf065f8fd583b43a3f95d84c8a0a0d07597963b.tar.gz
kernel-qcow2-linux-caf065f8fd583b43a3f95d84c8a0a0d07597963b.tar.xz
kernel-qcow2-linux-caf065f8fd583b43a3f95d84c8a0a0d07597963b.zip
pwm: Add MediaTek PWM support
This patch adds support for the PWM core found on current ARM base SoCs made by MediaTek. This IP core supports 5 channels and has 2 operational modes. There is the old mode, which is a classical PWM and the new mode which allows the user to define bitmasks that get clocked out on the pins. As the subsystem currently only supports PWM cores with the "old" mode, we can safely ignore the "new" mode for now. Signed-off-by: John Crispin <john@phrozen.org> [thierry.reding@gmail.com: minor cleanups] 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 346a83b00f28..93da1f79a3b8 100644
--- a/drivers/pwm/Makefile
+++ b/drivers/pwm/Makefile
@@ -26,6 +26,7 @@ obj-$(CONFIG_PWM_LPSS) += pwm-lpss.o
obj-$(CONFIG_PWM_LPSS_PCI) += pwm-lpss-pci.o
obj-$(CONFIG_PWM_LPSS_PLATFORM) += pwm-lpss-platform.o
obj-$(CONFIG_PWM_MESON) += pwm-meson.o
+obj-$(CONFIG_PWM_MEDIATEK) += pwm-mediatek.o
obj-$(CONFIG_PWM_MTK_DISP) += pwm-mtk-disp.o
obj-$(CONFIG_PWM_MXS) += pwm-mxs.o
obj-$(CONFIG_PWM_OMAP_DMTIMER) += pwm-omap-dmtimer.o