16c463222SSebastian Reichel# SPDX-License-Identifier: GPL-2.0 26c463222SSebastian Reichel%YAML 1.2 36c463222SSebastian Reichel--- 46c463222SSebastian Reichel$id: http://devicetree.org/schemas/power/supply/qcom,pm8941-coincell.yaml# 56c463222SSebastian Reichel$schema: http://devicetree.org/meta-schemas/core.yaml# 66c463222SSebastian Reichel 76c463222SSebastian Reicheltitle: Qualcomm Coincell Charger 86c463222SSebastian Reichel 96c463222SSebastian Reicheldescription: | 106c463222SSebastian Reichel The hardware block controls charging for a coincell or capacitor that is 116c463222SSebastian Reichel used to provide power backup for certain features of the power management 126c463222SSebastian Reichel IC (PMIC) 136c463222SSebastian Reichel 146c463222SSebastian Reichelmaintainers: 156c463222SSebastian Reichel - Sebastian Reichel <sre@kernel.org> 166c463222SSebastian Reichel 176c463222SSebastian Reichelproperties: 186c463222SSebastian Reichel compatible: 19*b8ad34ceSKonrad Dybcio oneOf: 20*b8ad34ceSKonrad Dybcio - items: 21*b8ad34ceSKonrad Dybcio - enum: 22*b8ad34ceSKonrad Dybcio - qcom,pm8998-coincell 23*b8ad34ceSKonrad Dybcio - const: qcom,pm8941-coincell 24*b8ad34ceSKonrad Dybcio 25*b8ad34ceSKonrad Dybcio - const: qcom,pm8941-coincell 266c463222SSebastian Reichel 276c463222SSebastian Reichel reg: 286c463222SSebastian Reichel maxItems: 1 296c463222SSebastian Reichel 306c463222SSebastian Reichel qcom,rset-ohms: 316c463222SSebastian Reichel description: resistance (in ohms) for current-limiting resistor 326c463222SSebastian Reichel enum: [ 800, 1200, 1700, 2100 ] 336c463222SSebastian Reichel 346c463222SSebastian Reichel qcom,vset-millivolts: 356c463222SSebastian Reichel $ref: /schemas/types.yaml#/definitions/uint32 366c463222SSebastian Reichel description: voltage (in millivolts) to apply for charging 376c463222SSebastian Reichel enum: [ 2500, 3000, 3100, 3200 ] 386c463222SSebastian Reichel 396c463222SSebastian Reichel qcom,charger-disable: 406c463222SSebastian Reichel type: boolean 416c463222SSebastian Reichel description: defining this property disables charging 426c463222SSebastian Reichel 436c463222SSebastian Reichelrequired: 446c463222SSebastian Reichel - compatible 456c463222SSebastian Reichel - reg 466c463222SSebastian Reichel - qcom,rset-ohms 476c463222SSebastian Reichel - qcom,vset-millivolts 486c463222SSebastian Reichel 496c463222SSebastian ReicheladditionalProperties: false 506c463222SSebastian Reichel 516c463222SSebastian Reichelexamples: 526c463222SSebastian Reichel - | 536c463222SSebastian Reichel pmic { 546c463222SSebastian Reichel #address-cells = <1>; 556c463222SSebastian Reichel #size-cells = <0>; 566c463222SSebastian Reichel 576c463222SSebastian Reichel charger@2800 { 586c463222SSebastian Reichel compatible = "qcom,pm8941-coincell"; 596c463222SSebastian Reichel reg = <0x2800>; 606c463222SSebastian Reichel qcom,rset-ohms = <2100>; 616c463222SSebastian Reichel qcom,vset-millivolts = <3000>; 626c463222SSebastian Reichel }; 636c463222SSebastian Reichel }; 64