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