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