| 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 |
|
| 7 |
title: Mitsumi MM8013 fuel gauge |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Konrad Dybcio <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: power-supply.yaml# |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
const: mitsumi,mm8013 |
| 18 |
|
| 19 |
reg: |
| 20 |
maxItems: 1 |
| 21 |
|
| 22 |
required: |
| 23 |
- compatible |
| 24 |
- reg |
| 25 |
|
| 26 |
additionalProperties: false |
| 27 |
|
| 28 |
examples: |
| 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 |
}; |