[PATCH V5 1/3] dt-bindings: power: cw2015: add cw2215, cw2217, and cw2218
Krzysztof Kozlowski
krzk at kernel.org
Mon Nov 30 21:50:14 PST 2026
On Fri, Nov 27, 2026 at 01:23:28PM -0600, Chris Morgan wrote:
> From: Chris Morgan <macromorgan at hotmail.com>
>
> Add bindings for the Cellwise cw2215/cw2217/cw2218 i2C interface
> battery gauge. It is similar in function to the existing cw2015 but
> with a different register layout. Each of the cw2215, cw2217 and cw2218
> only really differ in the minor specs and the hardware ID they display
> when queried. shunt-resistor-micro-ohms is a property in use for
> multiple devices so not appending a vendor prefix to it.
>
> Update the minItems and maxItems for the battery profile so that the
> cw2015 continues to have a min and max of 64, but the new hardware has
> a max of 80.
>
> Signed-off-by: Chris Morgan <macromorgan at hotmail.com>
> ---
> .../bindings/power/supply/cw2015_battery.yaml | 41 ++++++++++++++++---
> 1 file changed, 36 insertions(+), 5 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
Best regards,
Krzysztof
More information about the Linux-rockchip
mailing list