1 # SPDX-License-Identifier: GPL-2.0
2 # Copyright (C) 2020 Texas Instruments Incorporated
5 $id: "http://devicetree.org/schemas/power/supply/bq27xxx.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: TI BQ27XXX fuel gauge family
11 - Pali Rohár <pali@kernel.org>
12 - Andrew F. Davis <afd@ti.com>
13 - Sebastian Reichel <sre@kernel.org>
16 Support various Texas Instruments fuel gauge devices that share similar
17 register maps and power supply properties
20 - $ref: power-supply.yaml#
27 - ti,bq27500 # deprecated, use revision specific property below
28 - ti,bq27510 # deprecated, use revision specific property below
29 - ti,bq27520 # deprecated, use revision specific property below
58 description: integer, I2C address of the fuel gauge.
62 phandle of battery characteristics node.
63 The fuel gauge uses the following battery properties:
64 - energy-full-design-microwatt-hours
65 - charge-full-design-microamp-hours
66 - voltage-min-design-microvolt
67 Both or neither of the *-full-design-*-hours properties must be set.
68 See Documentation/devicetree/bindings/power/supply/battery.txt
75 additionalProperties: false
83 compatible = "simple-battery";
84 voltage-min-design-microvolt = <3200000>;
85 energy-full-design-microwatt-hours = <5290000>;
86 charge-full-design-microamp-hours = <1430000>;
89 bq27510g3: fuel-gauge@55 {
90 compatible = "ti,bq27510g3";
92 monitored-battery = <&bat>;