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