summaryrefslogtreecommitdiff
path: root/drivers/pwm/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-21 19:44:54 -0700
committerSimon Glass <sjg@chromium.org>2016-01-21 20:42:36 -0700
commitfc760cb8c4cc16061079fb45e2e0bad11e5acedc (patch)
treed796c4f0ae64c7d5d32b26f4fdcd9a145be5f52f /drivers/pwm/Makefile
parentd4bf91ada110aeb26f844cbe95cdb9b1ddb87f19 (diff)
dm: pwm: Add a PWM uclass
Add a uclass that supports Pulse Width Modulation (PWM) devices. It provides methods to enable/disable and configure the device. Signed-off-by: Simon Glass <sjg@chromium.org>
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 c0c48833173..d1b15e5b11e 100644
--- a/drivers/pwm/Makefile
+++ b/drivers/pwm/Makefile
@@ -10,4 +10,5 @@
#ccflags-y += -DDEBUG
+obj-$(CONFIG_DM_PWM) += pwm-uclass.o
obj-$(CONFIG_PWM_IMX) += pwm-imx.o pwm-imx-util.o