| .. | .. |
|---|
| 1 | 1 | Binding for TI bq25890 Li-Ion Charger |
|---|
| 2 | 2 | |
|---|
| 3 | +This driver will support the bq25892, the bq25896 and the bq25890. There are |
|---|
| 4 | +other ICs in the same family but those have not been tested. |
|---|
| 5 | + |
|---|
| 3 | 6 | Required properties: |
|---|
| 4 | 7 | - compatible: Should contain one of the following: |
|---|
| 5 | 8 | * "ti,bq25890" |
|---|
| 9 | + * "ti,bq25892" |
|---|
| 10 | + * "ti,bq25895" |
|---|
| 11 | + * "ti,bq25896" |
|---|
| 6 | 12 | - reg: integer, i2c address of the device. |
|---|
| 13 | +- interrupts: interrupt line; |
|---|
| 7 | 14 | - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV); |
|---|
| 8 | 15 | - ti,charge-current: integer, maximum charging current (in uA); |
|---|
| 9 | 16 | - ti,termination-current: integer, charge will be terminated when current in |
|---|
| .. | .. |
|---|
| 26 | 33 | - ti,thermal-regulation-threshold: integer, temperature above which the charge |
|---|
| 27 | 34 | current is lowered, to avoid overheating (in degrees Celsius). If omitted, |
|---|
| 28 | 35 | the default setting will be used (120 degrees); |
|---|
| 36 | +- ti,ibatcomp-micro-ohms: integer, value of a resistor in series with |
|---|
| 37 | + the battery; |
|---|
| 38 | +- ti,ibatcomp-clamp-microvolt: integer, maximum charging voltage adjustment due |
|---|
| 39 | + to expected voltage drop on in-series resistor; |
|---|
| 29 | 40 | |
|---|
| 30 | 41 | Example: |
|---|
| 31 | 42 | |
|---|
| 32 | 43 | bq25890 { |
|---|
| 33 | | - compatible = "ti,bq25890"; |
|---|
| 34 | | - reg = <0x6a>; |
|---|
| 44 | + compatible = "ti,bq25890"; |
|---|
| 45 | + reg = <0x6a>; |
|---|
| 35 | 46 | |
|---|
| 36 | | - ti,battery-regulation-voltage = <4200000>; |
|---|
| 37 | | - ti,charge-current = <1000000>; |
|---|
| 38 | | - ti,termination-current = <50000>; |
|---|
| 39 | | - ti,precharge-current = <128000>; |
|---|
| 40 | | - ti,minimum-sys-voltage = <3600000>; |
|---|
| 41 | | - ti,boost-voltage = <5000000>; |
|---|
| 42 | | - ti,boost-max-current = <1000000>; |
|---|
| 47 | + interrupt-parent = <&gpio1>; |
|---|
| 48 | + interrupts = <16 IRQ_TYPE_EDGE_FALLING>; |
|---|
| 43 | 49 | |
|---|
| 44 | | - ti,use-ilim-pin; |
|---|
| 45 | | - ti,thermal-regulation-threshold = <120>; |
|---|
| 50 | + ti,battery-regulation-voltage = <4200000>; |
|---|
| 51 | + ti,charge-current = <1000000>; |
|---|
| 52 | + ti,termination-current = <50000>; |
|---|
| 53 | + ti,precharge-current = <128000>; |
|---|
| 54 | + ti,minimum-sys-voltage = <3600000>; |
|---|
| 55 | + ti,boost-voltage = <5000000>; |
|---|
| 56 | + ti,boost-max-current = <1000000>; |
|---|
| 57 | + |
|---|
| 58 | + ti,use-ilim-pin; |
|---|
| 59 | + ti,thermal-regulation-threshold = <120>; |
|---|
| 46 | 60 | }; |
|---|