1ff018dbfSEmmanuel VadotQualcomm Coincell Charger: 2ff018dbfSEmmanuel Vadot 3ff018dbfSEmmanuel VadotThe hardware block controls charging for a coincell or capacitor that is 4ff018dbfSEmmanuel Vadotused to provide power backup for certain features of the power management 5ff018dbfSEmmanuel VadotIC (PMIC) 6ff018dbfSEmmanuel Vadot 7ff018dbfSEmmanuel Vadot- compatible: 8ff018dbfSEmmanuel Vadot Usage: required 9ff018dbfSEmmanuel Vadot Value type: <string> 10ff018dbfSEmmanuel Vadot Definition: must be: "qcom,pm8941-coincell" 11ff018dbfSEmmanuel Vadot 12ff018dbfSEmmanuel Vadot- reg: 13ff018dbfSEmmanuel Vadot Usage: required 14ff018dbfSEmmanuel Vadot Value type: <u32> 15ff018dbfSEmmanuel Vadot Definition: base address of the coincell charger registers 16ff018dbfSEmmanuel Vadot 17ff018dbfSEmmanuel Vadot- qcom,rset-ohms: 18ff018dbfSEmmanuel Vadot Usage: required 19ff018dbfSEmmanuel Vadot Value type: <u32> 20ff018dbfSEmmanuel Vadot Definition: resistance (in ohms) for current-limiting resistor 21ff018dbfSEmmanuel Vadot must be one of: 800, 1200, 1700, 2100 22ff018dbfSEmmanuel Vadot 23ff018dbfSEmmanuel Vadot- qcom,vset-millivolts: 24ff018dbfSEmmanuel Vadot Usage: required 25ff018dbfSEmmanuel Vadot Value type: <u32> 26ff018dbfSEmmanuel Vadot Definition: voltage (in millivolts) to apply for charging 27ff018dbfSEmmanuel Vadot must be one of: 2500, 3000, 3100, 3200 28ff018dbfSEmmanuel Vadot 29ff018dbfSEmmanuel Vadot- qcom,charger-disable: 30ff018dbfSEmmanuel Vadot Usage: optional 31ff018dbfSEmmanuel Vadot Value type: <boolean> 32ff018dbfSEmmanuel Vadot Definition: defining this property disables charging 33ff018dbfSEmmanuel Vadot 34ff018dbfSEmmanuel VadotThis charger is a sub-node of one of the 8941 PMIC blocks, and is specified 35ff018dbfSEmmanuel Vadotas a child node in DTS of that node. See ../mfd/qcom,spmi-pmic.txt and 36ff018dbfSEmmanuel Vadot../mfd/qcom-pm8xxx.txt 37ff018dbfSEmmanuel Vadot 38ff018dbfSEmmanuel VadotExample: 39ff018dbfSEmmanuel Vadot 40ff018dbfSEmmanuel Vadot pm8941@0 { 41ff018dbfSEmmanuel Vadot coincell@2800 { 42ff018dbfSEmmanuel Vadot compatible = "qcom,pm8941-coincell"; 43ff018dbfSEmmanuel Vadot reg = <0x2800>; 44ff018dbfSEmmanuel Vadot 45ff018dbfSEmmanuel Vadot qcom,rset-ohms = <2100>; 46ff018dbfSEmmanuel Vadot qcom,vset-millivolts = <3000>; 47ff018dbfSEmmanuel Vadot }; 48ff018dbfSEmmanuel Vadot }; 49