zephyr/dts/bindings/sensor/maxim,max17055.yaml

49 lines
1.0 KiB
YAML

#
# Copyright 2020 Google LLC
#
# SPDX-License-Identifier: Apache-2.0
#
description: Maxim MAX17055 Fuel Gauge
compatible: "maxim,max17055"
include: [sensor-device.yaml, i2c-device.yaml]
properties:
design-capacity:
type: int
required: true
description: The design capacity (aka label capacity) of the cell in mAh
design-voltage:
type: int
required: true
description: Battery Design Voltage in mV (3300 to 4400)
desired-voltage:
type: int
required: true
description: Battery Desired Voltage in mV (3300 to 4400)
desired-charging-current:
type: int
required: true
description: Battery Design Charging Current in mA (e.g. 2000)
i-chg-term:
type: int
required: true
description: The charge termination current in mA
rsense-mohms:
type: int
required: true
description: |
Value of Rsense resistor in milliohms (e.g. 5). It cannot be 0.
v-empty:
type: int
required: true
description: The empty voltage of the cell in mV