Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 32c1431eea4881a6b17bd7c639315010aeefa452 authored by Linus Torvalds on 11 June 2017, 23:48:20 UTC
Linux 4.12-rc5
Tip revision: 32c1431
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