Commit | Line | Data |
---|---|---|
ee2b7f60 TB |
1 | Qualcomm Coincell Charger: |
2 | ||
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) | |
6 | ||
7 | - compatible: | |
8 | Usage: required | |
9 | Value type: <string> | |
10 | Definition: must be: "qcom,pm8941-coincell" | |
11 | ||
12 | - reg: | |
13 | Usage: required | |
14 | Value type: <u32> | |
15 | Definition: base address of the coincell charger registers | |
16 | ||
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 | |
22 | ||
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 | |
28 | ||
29 | - qcom,charger-disable: | |
30 | Usage: optional | |
31 | Value type: <boolean> | |
b7f97b3a | 32 | Definition: defining this property disables charging |
ee2b7f60 TB |
33 | |
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 | |
37 | ||
38 | Example: | |
39 | ||
40 | pm8941@0 { | |
41 | coincell@2800 { | |
42 | compatible = "qcom,pm8941-coincell"; | |
43 | reg = <0x2800>; | |
44 | ||
45 | qcom,rset-ohms = <2100>; | |
46 | qcom,vset-millivolts = <3000>; | |
47 | }; | |
48 | }; |