rk312x:rt5025:support pmic rt5025
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / power / rt5025-charger.txt
1 Richtek RT5025 Charger part
2
3 The RT5025 charger part is responsible to change the charging current/voltage, etc.
4
5 Required properties:
6
7  - compatible : Must be "rt,rt5025-charger".
8  - rt,chg_volt : default charging voltage.
9  - rt,ieoc : 0x0 is 10%, 0x1 is 20%.
10  - rt,vdpm : 0x0 is 4V, 0x1 is 4.25V, 0x2 is 4.5V, 0x3 is disable.
11  - rt,vprec: precharge voltage.
12  - rt,iprec: precharge current.
13  - rt,acchg_icc: rt-power ac charge current.
14  - rt,usbtachg_icc: rt-power usbta charge current.
15  - rt,ustchg_icc: rt-power normal usb charge current.
16  - rt,screenon_icc: screen on charge current.
17  - rt,te_en: enable terminate function.
18  - rt,screenon_adjust: enable screen on lower charge current,
19                 screen off recovery to the default charge current.
20  - rt,temp: jeita temperature, unit 0.1'c
21  - rt,temp_scalar: jeita temperature scalar according to NTC spec.
22
23 Example:
24
25                         rt5025-charger {
26                                 compatible = "rt,rt5025-charger";
27                                 rt,te_en;
28                                 //rt,screenon_adjust;
29                                 rt,iprec = <0x00>;
30                                 rt,ieoc = <0x00>;
31                                 rt,vprec = <0x05>;
32                                 rt,vdpm = <0x02>;
33                                 rt,chg_volt = <4200>;
34                                 rt,acchg_icc = <2000>;
35                                 rt,usbtachg_icc = <2000>;
36                                 rt,usbchg_icc = <500>;
37                                 rt,screenon_icc = <500>;
38                                 rt,temp = <0 150 500 600>;
39                                 rt,temp_scalar = <0x30 0x2b 0x28 0x22 0x15 0x10 0x10 0x0d>;
40                         };
41