summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/input/gpio-beeper.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/input/gpio-beeper.txt')
-rw-r--r--dts/Bindings/input/gpio-beeper.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/dts/Bindings/input/gpio-beeper.txt b/dts/Bindings/input/gpio-beeper.txt
new file mode 100644
index 0000000000..a5086e37fc
--- /dev/null
+++ b/dts/Bindings/input/gpio-beeper.txt
@@ -0,0 +1,13 @@
+* GPIO beeper device tree bindings
+
+Register a beeper connected to GPIO pin.
+
+Required properties:
+- compatible: Should be "gpio-beeper".
+- gpios: From common gpio binding; gpio connection to beeper enable pin.
+
+Example:
+ beeper: beeper {
+ compatible = "gpio-beeper";
+ gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
+ };