Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / power / qcom,coincell-charger.txt
blob0e6d8754e7ecbb23909817156eb84abc82d411fe
1 Qualcomm Coincell Charger:
3 The hardware block controls charging for a coincell or capacitor that is
4 used to provide power backup for certain features of the power management
5 IC (PMIC)
7 - compatible:
8         Usage: required
9         Value type: <string>
10         Definition: must be: "qcom,pm8941-coincell"
12 - reg:
13         Usage: required
14         Value type: <u32>
15         Definition: base address of the coincell charger registers
17 - qcom,rset-ohms:
18         Usage: required
19         Value type: <u32>
20         Definition: resistance (in ohms) for current-limiting resistor
21                 must be one of: 800, 1200, 1700, 2100
23 - qcom,vset-millivolts:
24         Usage: required
25         Value type: <u32>
26         Definition: voltage (in millivolts) to apply for charging
27                 must be one of: 2500, 3000, 3100, 3200
29 - qcom,charger-disable:
30         Usage: optional
31         Value type: <boolean>
32         Definition: definining this property disables charging
34 This charger is a sub-node of one of the 8941 PMIC blocks, and is specified
35 as a child node in DTS of that node.  See ../mfd/qcom,spmi-pmic.txt and
36 ../mfd/qcom-pm8xxx.txt
38 Example:
40         pm8941@0 {
41                 coincell@2800 {
42                         compatible = "qcom,pm8941-coincell";
43                         reg = <0x2800>;
45                         qcom,rset-ohms = <2100>;
46                         qcom,vset-millivolts = <3000>;
47                 };
48         };