About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / hwmon / g762.txt




Custom Search

Based on kernel version 3.16. Page generated on 2014-08-06 21:37 EST.

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. 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	   };
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.