TI BQ25980 Flash Charger

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

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

Maintainers (maintainers): "Andrew Davis <afd@ti.com>"

The BQ25980, BQ25975, and BQ25960 are a series of flash chargers intended for use in high-power density portable electronics. These inductorless switching chargers can provide over 97% efficiency by making use of the switched capacitor architecture.

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,bq25980", "ti,bq25975", "ti,bq25960"

reg — required here #

Maximum number of items (maxItems): 1

ti,watchdog-timeout-ms — not listed as required here #

Watchdog timer in milli seconds. 0 disables the watchdog.

Default value (default): 0

Minimum value (minimum): 0

Maximum value (maximum): 300000

Allowed values (enum): 0, 5000, 10000, 50000, 300000

ti,sc-ovp-limit-microvolt — not listed as required here #

Minimum input voltage limit in micro volts with a when the charger is in switch cap mode. 100000 micro volt step.

Default value (default): 17800000

Minimum value (minimum): 14000000

Maximum value (maximum): 22000000

ti,sc-ocp-limit-microamp — not listed as required here #

Maximum input current limit in micro amps with a 100000 micro amp step.

Minimum value (minimum): 100000

Maximum value (maximum): 3300000

ti,bypass-ovp-limit-microvolt — not listed as required here #

Minimum input voltage limit in micro volts with a when the charger is in switch cap mode. 50000 micro volt step.

Minimum value (minimum): 7000000

Maximum value (maximum): 12750000

ti,bypass-ocp-limit-microamp — not listed as required here #

Maximum input current limit in micro amps with a 100000 micro amp step.

Minimum value (minimum): 100000

Maximum value (maximum): 3300000

ti,bypass-enable — not listed as required here #

Value type (type): "boolean"

Enables bypass mode at boot time

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Indicates that the device state has changed.

monitored-battery — required here #

true — No constraints added by this property rule.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

bat: battery {
    compatible = "simple-battery";
    constant-charge-current-max-microamp = <4000000>;
    constant-charge-voltage-max-microvolt = <8400000>;
    precharge-current-microamp = <160000>;
    charge-term-current-microamp = <160000>;
};
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    bq25980: charger@65 {
        compatible = "ti,bq25980";
        reg = <0x65>;
        interrupt-parent = <&gpio1>;
        interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
        ti,watchdog-timeout-ms = <0>;
        ti,sc-ocp-limit-microamp = <2000000>;
        ti,sc-ovp-limit-microvolt = <17800000>;
        monitored-battery = <&bat>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2020 Texas Instruments Incorporated

Edit this page