Qualcomm's SPMI PMIC Round Robin ADC

Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/qcom,spmi-rradc.yaml#"

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

Maintainers (maintainers): "Casey Connolly <casey.connolly@linaro.org>"

The Qualcomm SPMI Round Robin ADC (RRADC) provides interface to clients to read the voltage, current and temperature for supported peripherals such as the battery thermistor die temperature, charger temperature, USB and DC input voltage / current and battery ID resistor.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,pmi8998-rradc", "qcom,pm660-rradc"

reg — required here #

Maximum number of items (maxItems): 1

qcom,batt-id-delay-ms — not listed as required here #

Sets the hardware settling time for the battery ID resistor.

Allowed values (enum): 0, 1, 4, 12, 20, 40, 60, 80

#io-channel-cells — not listed as required here #

Exact value (const): 1

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>;

    adc@4500 {
        compatible = "qcom,pmi8998-rradc";
        reg = <0x4500>;
        #io-channel-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page