Commit | Line | Data |
---|---|---|
ce773992 DS |
1 | TI BQ24735 Charge Controller |
2 | ~~~~~~~~~~ | |
3 | ||
4 | Required properties : | |
5 | - compatible : "ti,bq24735" | |
6 | ||
7 | Optional properties : | |
8 | - interrupts : Specify the interrupt to be used to trigger when the AC | |
9 | adapter is either plugged in or removed. | |
10 | - ti,ac-detect-gpios : This GPIO is optionally used to read the AC adapter | |
11 | presence. This is a Host GPIO that is configured as an input and | |
12 | connected to the bq24735. | |
13 | - ti,charge-current : Used to control and set the charging current. This value | |
14 | must be between 128mA and 8.128A with a 64mA step resolution. The POR value | |
15 | is 0x0000h. This number is in mA (e.g. 8192), see spec for more information | |
16 | about the ChargeCurrent (0x14h) register. | |
17 | - ti,charge-voltage : Used to control and set the charging voltage. This value | |
18 | must be between 1.024V and 19.2V with a 16mV step resolution. The POR value | |
19 | is 0x0000h. This number is in mV (e.g. 19200), see spec for more information | |
20 | about the ChargeVoltage (0x15h) register. | |
21 | - ti,input-current : Used to control and set the charger input current. This | |
22 | value must be between 128mA and 8.064A with a 128mA step resolution. The | |
23 | POR value is 0x1000h. This number is in mA (e.g. 8064), see the spec for | |
24 | more information about the InputCurrent (0x3fh) register. | |
a60da83f JT |
25 | - ti,external-control : Indicates that the charger is configured externally |
26 | and that the host should not attempt to enable/disable charging or set the | |
27 | charge voltage/current. | |
ce773992 DS |
28 | |
29 | Example: | |
30 | ||
31 | bq24735@9 { | |
32 | compatible = "ti,bq24735"; | |
33 | reg = <0x9>; | |
34 | ti,ac-detect-gpios = <&gpio 72 0x1>; | |
35 | } |