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/iio/adc/palmas-gpadc.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 * Palmas general purpose ADC IP block devicetree bindings
    2 
    3 Channels list:
    4         0 battery type
    5         1 battery temp NTC (optional current source)
    6         2 GP
    7         3 temp (with ext. diode, optional current source)
    8         4 GP
    9         5 GP
   10         6 VBAT_SENSE
   11         7 VCC_SENSE
   12         8 Backup Battery voltage
   13         9 external charger (VCHG)
   14         10 VBUS
   15         11 DC-DC current probe (how does this work?)
   16         12 internal die temp
   17         13 internal die temp
   18         14 USB ID pin voltage
   19         15 test network
   20 
   21 Required properties:
   22 - compatible : Must be "ti,palmas-gpadc".
   23 - #io-channel-cells: Should be set to <1>.
   24 
   25 Optional sub-nodes:
   26 ti,channel0-current-microamp: Channel 0 current in uA.
   27         Values are rounded to derive 0uA, 5uA, 15uA, 20uA.
   28 ti,channel3-current-microamp: Channel 3 current in uA.
   29         Values are rounded to derive 0uA, 10uA, 400uA, 800uA.
   30 ti,enable-extended-delay: Enable extended delay.
   31 
   32 Example:
   33 
   34 pmic {
   35         compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
   36         ...
   37         gpadc {
   38                 compatible = "ti,palmas-gpadc";
   39                 interrupts = <18 0
   40                               16 0
   41                               17 0>;
   42                 #io-channel-cells = <1>;
   43                 ti,channel0-current-microamp = <5>;
   44                 ti,channel3-current-microamp = <10>;
   45                 };
   46         };
   47         ...
   48 };

Cache object: 121d2ebba3594766d924b6ee21866fee


[ 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.