summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/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/pwm/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/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
new file mode 100644
index 0000000000..3469c3d28b
--- /dev/null
+++ b/drivers/pwm/Makefile
@@ -0,0 +1 @@
+obj-$(CONFIG_PWM) += core.o