68 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---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 Charger8 9description: |10 The hardware block controls charging for a coincell or capacitor that is11 used to provide power backup for certain features of the power management12 IC (PMIC)13 14maintainers:15 - Sebastian Reichel <sre@kernel.org>16 17properties:18 compatible:19 oneOf:20 - items:21 - enum:22 - qcom,pm8998-coincell23 - const: qcom,pm8941-coincell24 25 - const: qcom,pm8941-coincell26 27 reg:28 maxItems: 129 30 qcom,rset-ohms:31 description: |32 Resistance (in ohms) for current-limiting resistor. If unspecified,33 inherit the previous configuration (e.g. from bootloader or hardware34 default value).35 enum: [ 800, 1200, 1700, 2100 ]36 37 qcom,vset-millivolts:38 $ref: /schemas/types.yaml#/definitions/uint3239 description: |40 Voltage (in millivolts) to apply for charging. If unspecified, inherit41 the previous configuration (e.g. from bootloader or hardware default42 value).43 enum: [ 2500, 3000, 3100, 3200 ]44 45 qcom,charger-disable:46 type: boolean47 description: defining this property disables charging48 49required:50 - compatible51 - reg52 53additionalProperties: false54 55examples:56 - |57 pmic {58 #address-cells = <1>;59 #size-cells = <0>;60 61 charger@2800 {62 compatible = "qcom,pm8941-coincell";63 reg = <0x2800>;64 qcom,rset-ohms = <2100>;65 qcom,vset-millivolts = <3000>;66 };67 };68