summaryrefslogtreecommitdiffstats
path: root/drivers/Kconfig
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/Kconfig
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/Kconfig')
-rw-r--r--drivers/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/Kconfig b/drivers/Kconfig
index c4e1517ca6..52eedd9946 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -15,4 +15,6 @@ source "drivers/mfd/Kconfig"
source "drivers/led/Kconfig"
source "drivers/eeprom/Kconfig"
+source "drivers/pwm/Kconfig"
+
endmenu