File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Documentation/devicetree/bindings/pwm Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2
+ %YAML 1.2
3
+ ---
4
+ $id : http://devicetree.org/schemas/pwm/argon40,fan-hat.yaml#
5
+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6
+
7
+ title : Argon40 Fan HAT PWM controller
8
+
9
+ maintainers :
10
+
11
+
12
+ description :
13
+ The trivial PWM on Argon40 Fan HAT, which is a RaspberryPi blower fan
14
+ hat which can be controlled over I2C, generates a fixed 30 kHz period
15
+ PWM signal with configurable 0..100% duty cycle to control the fan
16
+ speed.
17
+
18
+ allOf :
19
+ - $ref : pwm.yaml#
20
+
21
+ properties :
22
+ compatible :
23
+ const : argon40,fan-hat
24
+
25
+ reg :
26
+ maxItems : 1
27
+
28
+ " #pwm-cells " :
29
+ const : 3
30
+
31
+ required :
32
+ - compatible
33
+ - reg
34
+
35
+ additionalProperties : false
36
+
37
+ examples :
38
+ - |
39
+ i2c {
40
+ #address-cells = <1>;
41
+ #size-cells = <0>;
42
+
43
+ pwm@1a {
44
+ compatible = "argon40,fan-hat";
45
+ reg = <0x1a>;
46
+ #pwm-cells = <3>;
47
+ };
48
+ };
You can’t perform that action at this time.
0 commit comments