The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/hwmon/g762.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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    };

Cache object: 30876e5b76560dd837c236d14723e081


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.