Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / power / act8945a-charger.txt
blobbea254c9d136614ea84c8c71400ae0fdb1c1cfdb
1 Device-Tree bindings for charger of Active-semi ACT8945A Multi-Function Device
3 Required properties:
4  - compatible: "active-semi,act8945a", please refer to ../mfd/act8945a.txt.
5  - active-semi,chglev-gpios: charge current level phandle with args
6    as described in ../gpio/gpio.txt.
8 Optional properties:
9  - active-semi,check-battery-temperature: boolean to check the battery
10    temperature or not.
11  - active-semi,input-voltage-threshold-microvolt: unit: mV;
12    Specifies the charger's input over-voltage threshold value;
13    The value can be: 6600, 7000, 7500, 8000; default: 6600
14  - active-semi,precondition-timeout: unit: minutes;
15    Specifies the charger's PRECONDITION safety timer setting value;
16    The value can be: 40, 60, 80, 0; If 0, it means to disable this timer;
17    default: 40.
18  - active-semi,total-timeout: unit: hours;
19    Specifies the charger's total safety timer setting value;
20    The value can be: 3, 4, 5, 0; If 0, it means to disable this timer;
21    default: 3.
23 Example:
24         pmic@5b {
25                 compatible = "active-semi,act8945a";
26                 reg = <0x5b>;
27                 status = "okay";
29                 pinctrl-names = "default";
30                 pinctrl-0 = <&pinctrl_charger_chglev>;
31                 active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>;
32                 active-semi,input-voltage-threshold-microvolt = <6600>;
33                 active-semi,precondition-timeout = <40>;
34                 active-semi,total-timeout = <3>;
35         };