1#
2# Copyright 2020 Google LLC
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7description: Maxim MAX17055 Fuel Gauge
8
9compatible: "maxim,max17055"
10
11include: [sensor-device.yaml, i2c-device.yaml]
12
13properties:
14  design-capacity:
15    type: int
16    required: true
17    description: The design capacity (aka label capacity) of the cell in mAh
18
19  design-voltage:
20    type: int
21    required: true
22    description: Battery Design Voltage in mV (3300 to 4400)
23
24  desired-voltage:
25    type: int
26    required: true
27    description: Battery Desired Voltage in mV (3300 to 4400)
28
29  desired-charging-current:
30    type: int
31    required: true
32    description: Battery Design Charging Current in mA (e.g. 2000)
33
34  i-chg-term:
35    type: int
36    required: true
37    description: The charge termination current in mA
38
39  rsense-mohms:
40    type: int
41    required: true
42    description: |
43      Value of Rsense resistor in milliohms (e.g. 5). It cannot be 0.
44
45  v-empty:
46    type: int
47    required: true
48    description: The empty voltage of the cell in mV
49