summaryrefslogtreecommitdiff
path: root/drivers/pwm/Makefile
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2020-10-01 11:04:56 +0300
committerNeil Armstrong <narmstrong@baylibre.com>2020-10-05 19:02:16 +0300
commit2d481b2e3e22f7be854d381a7bafd92a65e18b23 (patch)
tree50cd6ab4c006a6b1a238fdc79f235a6191f1e6d0 /drivers/pwm/Makefile
parent38c1c6f8163334521def945a379e7fca231f4b62 (diff)
downloadu-boot-2d481b2e3e22f7be854d381a7bafd92a65e18b23.tar.xz
pwm: Add driver for Amlogic Meson PWM controller
This adds the driver for the PWM controller found in the Amlogic SoCs. This PWM is only a set of Gates, Dividers and Counters: PWM output is achieved by calculating a clock that permits calculating two periods (low and high). The counter then has to be set to switch after N cycles for the first half period. The hardware has no "polarity" setting. This driver reverses the period cycles (the low length is inverted with the high length) for PWM_POLARITY_INVERSED. Disabling the PWM stops the output immediately (without waiting for the current period to complete first). Signed-off-by: Neil Armstrong <narmstrong@baylibre.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 0f4e84b04d..f21ae7d76e 100644
--- a/drivers/pwm/Makefile
+++ b/drivers/pwm/Makefile
@@ -12,6 +12,7 @@ obj-$(CONFIG_DM_PWM) += pwm-uclass.o
obj-$(CONFIG_PWM_EXYNOS) += exynos_pwm.o
obj-$(CONFIG_PWM_IMX) += pwm-imx.o pwm-imx-util.o
+obj-$(CONFIG_PWM_MESON) += pwm-meson.o
obj-$(CONFIG_PWM_MTK) += pwm-mtk.o
obj-$(CONFIG_PWM_ROCKCHIP) += rk_pwm.o
obj-$(CONFIG_PWM_SANDBOX) += sandbox_pwm.o