M7350/kernel/Documentation/devicetree/bindings/input/gpio-beeper.txt

14 lines
313 B
Plaintext
Raw Normal View History

2024-09-09 08:57:42 +00:00
* 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>;
};