Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 609488bc979f99f805f34e9a32c1e3b71179d10b authored by Linus Torvalds on 28 July 2019, 19:47:02 UTC
Linux 5.3-rc2
Tip revision: 609488b
gpio-beeper.txt
* 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>;
	};
back to top