Merge branch 'pm-cpufreq'
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / input / pwm-beeper.txt
1 * PWM beeper device tree bindings
2
3 Registers a PWM device as beeper.
4
5 Required properties:
6 - compatible: should be "pwm-beeper"
7 - pwms: phandle to the physical PWM device
8
9 Optional properties:
10 - amp-supply: phandle to a regulator that acts as an amplifier for the beeper
11
12 Example:
13
14 beeper_amp: amplifier {
15         compatible = "fixed-regulator";
16         gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
17 };
18
19 beeper {
20         compatible = "pwm-beeper";
21         pwms = <&pwm0>;
22         amp-supply = <&beeper_amp>;
23 };