Maxim MAX777705 charger

Schema identifier ($id): "http://devicetree.org/schemas/power/supply/maxim,max77705.yaml#"

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

Maintainers (maintainers): "Dzmitry Sankouski <dsankouski@gmail.com>"

This is a device tree bindings for charger found in Maxim MAX77705 chip.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): power-supply.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max77705-charger"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

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

    charger@69 {
        compatible = "maxim,max77705-charger";
        reg = <0x69>;
        monitored-battery = <&battery>;
        interrupt-parent = <&pm8998_gpios>;
        interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page