xref: /freebsd/sys/contrib/device-tree/Bindings/power/supply/qcom,coincell-charger.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1Qualcomm Coincell Charger:
2
3The hardware block controls charging for a coincell or capacitor that is
4used to provide power backup for certain features of the power management
5IC (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>
32	Definition: defining this property disables charging
33
34This charger is a sub-node of one of the 8941 PMIC blocks, and is specified
35as a child node in DTS of that node.  See ../mfd/qcom,spmi-pmic.txt and
36../mfd/qcom-pm8xxx.txt
37
38Example:
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	};
49