1*6c463222SSebastian Reichel# SPDX-License-Identifier: GPL-2.0 2*6c463222SSebastian Reichel%YAML 1.2 3*6c463222SSebastian Reichel--- 4*6c463222SSebastian Reichel$id: http://devicetree.org/schemas/power/supply/qcom,pm8941-coincell.yaml# 5*6c463222SSebastian Reichel$schema: http://devicetree.org/meta-schemas/core.yaml# 6*6c463222SSebastian Reichel 7*6c463222SSebastian Reicheltitle: Qualcomm Coincell Charger 8*6c463222SSebastian Reichel 9*6c463222SSebastian Reicheldescription: | 10*6c463222SSebastian Reichel The hardware block controls charging for a coincell or capacitor that is 11*6c463222SSebastian Reichel used to provide power backup for certain features of the power management 12*6c463222SSebastian Reichel IC (PMIC) 13*6c463222SSebastian Reichel 14*6c463222SSebastian Reichelmaintainers: 15*6c463222SSebastian Reichel - Sebastian Reichel <sre@kernel.org> 16*6c463222SSebastian Reichel 17*6c463222SSebastian Reichelproperties: 18*6c463222SSebastian Reichel compatible: 19*6c463222SSebastian Reichel const: qcom,pm8941-coincell 20*6c463222SSebastian Reichel 21*6c463222SSebastian Reichel reg: 22*6c463222SSebastian Reichel maxItems: 1 23*6c463222SSebastian Reichel 24*6c463222SSebastian Reichel qcom,rset-ohms: 25*6c463222SSebastian Reichel description: resistance (in ohms) for current-limiting resistor 26*6c463222SSebastian Reichel enum: [ 800, 1200, 1700, 2100 ] 27*6c463222SSebastian Reichel 28*6c463222SSebastian Reichel qcom,vset-millivolts: 29*6c463222SSebastian Reichel $ref: /schemas/types.yaml#/definitions/uint32 30*6c463222SSebastian Reichel description: voltage (in millivolts) to apply for charging 31*6c463222SSebastian Reichel enum: [ 2500, 3000, 3100, 3200 ] 32*6c463222SSebastian Reichel 33*6c463222SSebastian Reichel qcom,charger-disable: 34*6c463222SSebastian Reichel type: boolean 35*6c463222SSebastian Reichel description: defining this property disables charging 36*6c463222SSebastian Reichel 37*6c463222SSebastian Reichelrequired: 38*6c463222SSebastian Reichel - compatible 39*6c463222SSebastian Reichel - reg 40*6c463222SSebastian Reichel - qcom,rset-ohms 41*6c463222SSebastian Reichel - qcom,vset-millivolts 42*6c463222SSebastian Reichel 43*6c463222SSebastian ReicheladditionalProperties: false 44*6c463222SSebastian Reichel 45*6c463222SSebastian Reichelexamples: 46*6c463222SSebastian Reichel - | 47*6c463222SSebastian Reichel pmic { 48*6c463222SSebastian Reichel #address-cells = <1>; 49*6c463222SSebastian Reichel #size-cells = <0>; 50*6c463222SSebastian Reichel 51*6c463222SSebastian Reichel charger@2800 { 52*6c463222SSebastian Reichel compatible = "qcom,pm8941-coincell"; 53*6c463222SSebastian Reichel reg = <0x2800>; 54*6c463222SSebastian Reichel qcom,rset-ohms = <2100>; 55*6c463222SSebastian Reichel qcom,vset-millivolts = <3000>; 56*6c463222SSebastian Reichel }; 57*6c463222SSebastian Reichel }; 58