1# 2# Copyright 2020 Matija Tudan 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6 7description: Maxim MAX17262 Fuel Gauge 8 9compatible: "maxim,max17262" 10 11include: [sensor-device.yaml, i2c-device.yaml] 12 13properties: 14 design-voltage: 15 type: int 16 required: true 17 description: Battery Design Voltage in mV (3300 to 4400) 18 19 desired-voltage: 20 type: int 21 required: true 22 description: Battery Desired Voltage in mV (3300 to 4400) 23 24 desired-charging-current: 25 type: int 26 required: true 27 description: Battery Design Charging Current in mA (e.g. 2000) 28 29 design-cap: 30 type: int 31 required: true 32 description: Battery Capacity in mAh (default 3000) 33 34 empty-voltage: 35 type: int 36 required: true 37 description: Empty voltage target during load in mV (default 3300) 38 39 recovery-voltage: 40 type: int 41 required: true 42 description: The voltage level for clearing empty detection in mV (default 3880) 43 44 charge-voltage: 45 type: int 46 required: true 47 description: Charge voltage in mV 48