summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/input/pwm-beeper.txt
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-11-03 12:05:52 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-03 12:14:56 -0700
commitd56a289be2ce01d1aa426a6cf45dede14a8db41e (patch)
treec9a058d34420eb2cc1cc85ce8fe7e71eb20e4407 /Documentation/devicetree/bindings/input/pwm-beeper.txt
parent8ed2757edd0c6bacf20c1c55bd53a0acba565be8 (diff)
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/bindings/input/pwm-beeper.txt')
-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