kernel_samsung_a53x/Documentation/devicetree/bindings/input/gpio-beeper.txt
2024-06-15 16:02:09 -03:00

13 lines
313 B
Text
Executable file

* 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>;
};