summaryrefslogtreecommitdiffstats
path: root/common
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 /common
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 'common')
0 files changed, 0 insertions, 0 deletions