Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 3be7988674ab33565700a37b210f502563d932e6 authored by Linus Torvalds on 19 September 2016, 00:27:41 UTC
Linux 4.8-rc7
Tip revision: 3be7988
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