18c2ecf20Sopenharmony_ciQualcomm Coincell Charger:
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe hardware block controls charging for a coincell or capacitor that is
48c2ecf20Sopenharmony_ciused to provide power backup for certain features of the power management
58c2ecf20Sopenharmony_ciIC (PMIC)
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci- compatible:
88c2ecf20Sopenharmony_ci	Usage: required
98c2ecf20Sopenharmony_ci	Value type: <string>
108c2ecf20Sopenharmony_ci	Definition: must be: "qcom,pm8941-coincell"
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci- reg:
138c2ecf20Sopenharmony_ci	Usage: required
148c2ecf20Sopenharmony_ci	Value type: <u32>
158c2ecf20Sopenharmony_ci	Definition: base address of the coincell charger registers
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci- qcom,rset-ohms:
188c2ecf20Sopenharmony_ci	Usage: required
198c2ecf20Sopenharmony_ci	Value type: <u32>
208c2ecf20Sopenharmony_ci	Definition: resistance (in ohms) for current-limiting resistor
218c2ecf20Sopenharmony_ci		must be one of: 800, 1200, 1700, 2100
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci- qcom,vset-millivolts:
248c2ecf20Sopenharmony_ci	Usage: required
258c2ecf20Sopenharmony_ci	Value type: <u32>
268c2ecf20Sopenharmony_ci	Definition: voltage (in millivolts) to apply for charging
278c2ecf20Sopenharmony_ci		must be one of: 2500, 3000, 3100, 3200
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci- qcom,charger-disable:
308c2ecf20Sopenharmony_ci	Usage: optional
318c2ecf20Sopenharmony_ci	Value type: <boolean>
328c2ecf20Sopenharmony_ci	Definition: defining this property disables charging
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciThis charger is a sub-node of one of the 8941 PMIC blocks, and is specified
358c2ecf20Sopenharmony_cias a child node in DTS of that node.  See ../mfd/qcom,spmi-pmic.txt and
368c2ecf20Sopenharmony_ci../mfd/qcom-pm8xxx.txt
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciExample:
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci	pm8941@0 {
418c2ecf20Sopenharmony_ci		coincell@2800 {
428c2ecf20Sopenharmony_ci			compatible = "qcom,pm8941-coincell";
438c2ecf20Sopenharmony_ci			reg = <0x2800>;
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ci			qcom,rset-ohms = <2100>;
468c2ecf20Sopenharmony_ci			qcom,vset-millivolts = <3000>;
478c2ecf20Sopenharmony_ci		};
488c2ecf20Sopenharmony_ci	};
49