zephyr/drivers/sensor/max17055
Hayden Ball 64995e2a54 max17055: Set battery parameters from device tree
Currently the MAX17055 driver assumes that a battery matching the
default characteristics is used.

This change allows battery characteristics to be specified in device
tree and writes them to the MAX17055 on initialization.

Existing default values are maintained for backwards compatibility.

Initialization routine taken from MAX17055 Software Implementation
Guide, document UG6365.

Signed-off-by: Hayden Ball <hayden@playerdata.co.uk>
2021-04-05 15:29:00 -05:00
..
CMakeLists.txt
Kconfig dts/Kconfig: Remove HAS_DTS_I2C 2020-09-18 13:34:44 -05:00
max17055.c max17055: Set battery parameters from device tree 2021-04-05 15:29:00 -05:00
max17055.h max17055: Set battery parameters from device tree 2021-04-05 15:29:00 -05:00