1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/power/supply/mitsumi,mm8013.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Mitsumi MM8013 fuel gauge
8
9maintainers:
10  - Konrad Dybcio <konradybcio@kernel.org>
11
12allOf:
13  - $ref: power-supply.yaml#
14
15properties:
16  compatible:
17    const: mitsumi,mm8013
18
19  reg:
20    maxItems: 1
21
22required:
23  - compatible
24  - reg
25
26additionalProperties: false
27
28examples:
29  - |
30    i2c {
31      #address-cells = <1>;
32      #size-cells = <0>;
33
34      fuel-gauge@55 {
35        compatible = "mitsumi,mm8013";
36        reg = <0x55>;
37      };
38    };
39