Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 2ea659a9ef488125eb46da6eb571de5eae5c43f6 authored by Linus Torvalds on 13 May 2017, 20:19:49 UTC
Linux 4.12-rc1
Tip revision: 2ea659a
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