MP2629 Battery Charger PMIC from Monolithic Power System.

Schema identifier ($id): "http://devicetree.org/schemas/mfd/mps,mp2629.yaml#"

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

Maintainers (maintainers): "Saravanan Sekar <sravanhome@gmail.com>"

MP2629 is a PMIC providing battery charging and power supply for smartphones, wireless camera and portable devices. Chip is controlled over I2C.

The battery charge management device handles battery charger controller and ADC IIO device for battery, system voltage

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mps,mp2629", "mps,mp2733"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 2

The first cell is the IRQ number, the second cell is the trigger type.

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-controller", "#interrupt-cells"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/input/linux-event-codes.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@4b {
        compatible = "mps,mp2629";
        reg = <0x4b>;

        interrupt-controller;
        interrupt-parent = <&gpio2>;
        #interrupt-cells = <2>;
        interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page