summaryrefslogtreecommitdiff
path: root/drivers/pwm/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-30 16:37:46 -0700
committerTom Warren <twarren@nvidia.com>2016-02-16 09:17:50 -0700
commit7429b9623b9d636d6fc686db3af29cc79d901bc6 (patch)
treec23044441fa103b396b04044dac40234e3ef5769 /drivers/pwm/Makefile
parent651827c0fc3d91e0a6f2170890a11bc77557ee2e (diff)
downloadu-boot-imx-7429b9623b9d636d6fc686db3af29cc79d901bc6.zip
u-boot-imx-7429b9623b9d636d6fc686db3af29cc79d901bc6.tar.gz
u-boot-imx-7429b9623b9d636d6fc686db3af29cc79d901bc6.tar.bz2
tegra: pwm: Add a driver for the tegra PWM
This PWM supports four channels. The driver always uses the 32KHz clock, and adjusts the duty cycle accordingly. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'drivers/pwm/Makefile')
-rw-r--r--drivers/pwm/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pwm/Makefile b/drivers/pwm/Makefile
index b6d8c16..fd414b1 100644
--- a/drivers/pwm/Makefile
+++ b/drivers/pwm/Makefile
@@ -13,3 +13,6 @@
obj-$(CONFIG_DM_PWM) += pwm-uclass.o
obj-$(CONFIG_PWM_ROCKCHIP) += rk_pwm.o
obj-$(CONFIG_PWM_IMX) += pwm-imx.o pwm-imx-util.o
+ifdef CONFIG_DM_PWM
+obj-$(CONFIG_PWM_TEGRA) += tegra_pwm.o
+endif