Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/hwmon/g762.txt
48375 views
1
GMT G762/G763 PWM Fan controller
2
3
Required node properties:
4
5
- "compatible": must be either "gmt,g762" or "gmt,g763"
6
- "reg": I2C bus address of the device
7
- "clocks": a fixed clock providing input clock frequency
8
on CLK pin of the chip.
9
10
Optional properties:
11
12
- "fan_startv": fan startup voltage. Accepted values are 0, 1, 2 and 3.
13
The higher the more.
14
15
- "pwm_polarity": pwm polarity. Accepted values are 0 (positive duty)
16
and 1 (negative duty).
17
18
- "fan_gear_mode": fan gear mode. Supported values are 0, 1 and 2.
19
20
If an optional property is not set in .dts file, then current value is kept
21
unmodified (e.g. u-boot installed value).
22
23
Additional information on operational parameters for the device is available
24
in Documentation/hwmon/g762.rst. A detailed datasheet for the device is available
25
at http://natisbad.org/NAS/refs/GMT_EDS-762_763-080710-0.2.pdf.
26
27
Example g762 node:
28
29
clocks {
30
#address-cells = <1>;
31
#size-cells = <0>;
32
33
g762_clk: fixedclk {
34
compatible = "fixed-clock";
35
#clock-cells = <0>;
36
clock-frequency = <8192>;
37
}
38
}
39
40
g762: g762@3e {
41
compatible = "gmt,g762";
42
reg = <0x3e>;
43
clocks = <&g762_clk>
44
fan_gear_mode = <0>; /* chip default */
45
fan_startv = <1>; /* chip default */
46
pwm_polarity = <0>; /* chip default */
47
};
48
49