mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-01-27 14:44:08 +00:00
Add devicetree bindings snapshot to the devicetree project.
This snapshot is taken as of the
'commit 5fba1b18cfc72e264e5f3ce49020ed322aa6ac9f ("Merge 5.6-rc3
into android-mainline")' of the kernel project.
Change-Id: Ia087ab2b7d4a2616ea446a69683a8b5b821d0448
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>;
|
|
};
|