1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2020 Texas Instruments Incorporated
5 $id: "http://devicetree.org/schemas/power/supply/bq25980.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: TI BQ25980 Flash Charger
11 - Dan Murphy <dmurphy@ti.com>
12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
15 The BQ25980, BQ25975, and BQ25960 are a series of flash chargers intended
16 for use in high-power density portable electronics. These inductorless
17 switching chargers can provide over 97% efficiency by making use of the
18 switched capacitor architecture.
21 - $ref: power-supply.yaml#
33 ti,watchdog-timeout-ms:
35 Watchdog timer in milli seconds. 0 disables the watchdog.
39 enum: [ 0, 5000, 10000, 50000, 300000]
41 ti,sc-ovp-limit-microvolt:
43 Minimum input voltage limit in micro volts with a when the charger is in
44 switch cap mode. 100000 micro volt step.
49 ti,sc-ocp-limit-microamp:
51 Maximum input current limit in micro amps with a 100000 micro amp step.
55 ti,bypass-ovp-limit-microvolt:
57 Minimum input voltage limit in micro volts with a when the charger is in
58 switch cap mode. 50000 micro volt step.
62 ti,bypass-ocp-limit-microamp:
64 Maximum input current limit in micro amps with a 100000 micro amp step.
70 description: Enables bypass mode at boot time
74 Indicates that the device state has changed.
77 $ref: /schemas/types.yaml#/definitions/phandle
78 description: phandle to the battery node being monitored
85 unevaluatedProperties: false
90 compatible = "simple-battery";
91 constant-charge-current-max-microamp = <4000000>;
92 constant-charge-voltage-max-microvolt = <8400000>;
93 precharge-current-microamp = <160000>;
94 charge-term-current-microamp = <160000>;
96 #include <dt-bindings/gpio/gpio.h>
97 #include <dt-bindings/interrupt-controller/irq.h>
102 bq25980: charger@65 {
103 compatible = "ti,bq25980";
105 interrupt-parent = <&gpio1>;
106 interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
107 ti,watchdog-timer = <0>;
108 ti,sc-ocp-limit-microamp = <2000000>;
109 ti,sc-ovp-limit-microvolt = <17800000>;
110 monitored-battery = <&bat>;