summaryrefslogtreecommitdiffstats
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-01-31 10:19:50 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-02-17 10:18:27 +0100
commitf917e6f866e6b0304a9f4e64980c27fb85271a40 (patch)
treeaf91238075be4467346b9e6db8032beb23d095ba /drivers/Makefile
parentc20952a62135d791a1a070aeedeee712a3bf017e (diff)
downloadbarebox-f917e6f866e6b0304a9f4e64980c27fb85271a40.tar.gz
barebox-f917e6f866e6b0304a9f4e64980c27fb85271a40.tar.xz
Add pwm core support
This patch adds framework support for PWM (pulse width modulation) devices. A new pwm can be registered from a hardware driver using pwmchip_add(). It can then be requested from a client driver using pwm_request(). A string is used as a unique identifier for the pwms. It should usually be initialized by the hardware drivers using dev_name(dev). The client API is the same as currently in the Linux Kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r--drivers/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index 592c39e6d9..380c2f1805 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -13,3 +13,4 @@ obj-y += clk/
obj-y += mfd/
obj-$(CONFIG_LED) += led/
obj-y += eeprom/
+obj-$(CONFIG_PWM) += pwm/