[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220318001048.20922-1-sebastian.krzyszkowiak@puri.sm>
Date: Fri, 18 Mar 2022 01:10:44 +0100
From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@...i.sm>
To: Hans de Goede <hdegoede@...hat.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Sebastian Reichel <sre@...nel.org>, linux-pm@...r.kernel.org
Cc: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@...i.sm>,
Purism Kernel Team <kernel@...i.sm>,
Rob Herring <robh@...nel.org>, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Subject: [PATCH 0/4] MAX17055 model configuration via DT
Currently, there's no way to supply battery characteristics to max17042
driver on device tree platforms. This series changes that in a way that's
sufficient to configure MAX17055's m5 EZ algorithm, by using a standard
"monitored-battery" phandle.
Sebastian Krzyszkowiak (4):
power: supply: max17042_battery: Add unit conversion macros
power: supply: max17042_battery: use ModelCfg refresh on max17055
dt-bindings: power: supply: max17042: Add monitored-battery phandle
power: supply: max17042_battery: read battery properties from device
tree
.../bindings/power/supply/maxim,max17042.yaml | 4 +
drivers/power/supply/max17042_battery.c | 163 ++++++++++++------
include/linux/power/max17042_battery.h | 4 +
3 files changed, 116 insertions(+), 55 deletions(-)
--
2.35.1
Powered by blists - more mailing lists