summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-11-03 20:05:52 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-03 20:14:56 +0100
commitd56a289be2ce01d1aa426a6cf45dede14a8db41e (patch)
treec9a058d34420eb2cc1cc85ce8fe7e71eb20e4407 /Documentation/devicetree
parentInput: add DA9055 Onkey driver (diff)
downloadlinux-d56a289be2ce01d1aa426a6cf45dede14a8db41e.tar.xz
linux-d56a289be2ce01d1aa426a6cf45dede14a8db41e.zip
Input: pwm-beeper - add devicetree probing support
A very simple binding, the only property is the phandle to the PWM. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/input/pwm-beeper.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/pwm-beeper.txt b/Documentation/devicetree/bindings/input/pwm-beeper.txt
new file mode 100644
index 000000000000..be332ae4f2d6
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/pwm-beeper.txt
@@ -0,0 +1,7 @@
+* PWM beeper device tree bindings
+
+Registers a PWM device as beeper.
+
+Required properties:
+- compatible: should be "pwm-beeper"
+- pwms: phandle to the physical PWM device