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
59 description: integer, I2C address of the fuel gauge.
63 phandle of battery characteristics node.
64 The fuel gauge uses the following battery properties:
65 - energy-full-design-microwatt-hours
66 - charge-full-design-microamp-hours
67 - voltage-min-design-microvolt
68 Both or neither of the *-full-design-*-hours properties must be set.
69 See Documentation/devicetree/bindings/power/supply/battery.yaml
76 additionalProperties: false
84 compatible = "simple-battery";
85 voltage-min-design-microvolt = <3200000>;
86 energy-full-design-microwatt-hours = <5290000>;
87 charge-full-design-microamp-hours = <1430000>;
90 bq27510g3: fuel-gauge@55 {
91 compatible = "ti,bq27510g3";
93 monitored-battery = <&bat>;