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> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| max17055.c | ||
| max17055.h | ||