File tree Expand file tree Collapse file tree 2 files changed +41
-24
lines changed
Documentation/devicetree/bindings/input Expand file tree Collapse file tree 2 files changed +41
-24
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
+ %YAML 1.2
3
+ ---
4
+ $id : http://devicetree.org/schemas/input/pwm-beeper.yaml#
5
+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6
+
7
+ title : PWM beeper
8
+
9
+ maintainers :
10
+ -
Sascha Hauer <[email protected] >
11
+
12
+ properties :
13
+ compatible :
14
+ const : pwm-beeper
15
+
16
+ pwms :
17
+ maxItems : 1
18
+
19
+ amp-supply :
20
+ description : an amplifier for the beeper
21
+
22
+ beeper-hz :
23
+ description : bell frequency in Hz
24
+ minimum : 10
25
+ maximum : 10000
26
+
27
+ required :
28
+ - compatible
29
+ - pwms
30
+
31
+ unevaluatedProperties : false
32
+
33
+ examples :
34
+ - |
35
+ #include <dt-bindings/gpio/gpio.h>
36
+ beeper {
37
+ compatible = "pwm-beeper";
38
+ pwms = <&pwm0>;
39
+ amp-supply = <&beeper_amp>;
40
+ beeper-hz = <1000>;
41
+ };
You can’t perform that action at this time.
0 commit comments