Qualcomm Coincell Charger

Schema identifier ($id): "http://devicetree.org/schemas/power/supply/qcom,pm8941-coincell.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The hardware block controls charging for a coincell or capacitor that is used to provide power backup for certain features of the power management IC (PMIC)

Maintainers (maintainers): "Sebastian Reichel <sre@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "qcom,pm8998-coincell"

Item 2

Exact value (const): "qcom,pm8941-coincell"

Rule 2

Exact value (const): "qcom,pm8941-coincell"

reg — required here #

Maximum number of items (maxItems): 1

qcom,rset-ohms — not listed as required here #

Resistance (in ohms) for current-limiting resistor. If unspecified, inherit the previous configuration (e.g. from bootloader or hardware default value).

Allowed values (enum): 800, 1200, 1700, 2100

qcom,vset-millivolts — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Voltage (in millivolts) to apply for charging. If unspecified, inherit the previous configuration (e.g. from bootloader or hardware default value).

Allowed values (enum): 2500, 3000, 3100, 3200

qcom,charger-disable — not listed as required here #

Value type (type): "boolean"

defining this property disables charging

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pmic {
  #address-cells = <1>;
  #size-cells = <0>;

  charger@2800 {
    compatible = "qcom,pm8941-coincell";
    reg = <0x2800>;
    qcom,rset-ohms = <2100>;
    qcom,vset-millivolts = <3000>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page