mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 04:03:58 +08:00
976358e234
This patch adds a new driver for the beeper controlled via GPIO pin. The driver does not depend on the architecture and is positioned as a replacement for the specific drivers that are used for this function. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
14 lines
313 B
Plaintext
14 lines
313 B
Plaintext
* 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>;
|
|
};
|