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