power: supply: Add a driver for Injoinic power bank ICs
authorSamuel Holland <samuel@sholland.org>
Mon, 14 Feb 2022 04:22:59 +0000 (22:22 -0600)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 4 Mar 2022 21:33:00 +0000 (22:33 +0100)
commit75853406fa27961044e7dc03c7dc8544477e81f5
tree13a7e2cc756a909de40e946354012c01ae03f8ff
parent78eb753ea1d76356245ef8c008be70fbbac3f19d
power: supply: Add a driver for Injoinic power bank ICs

This driver supports several chip variants which all share the same I2C
register interface. Since the chip will turn off and become inaccessible
under conditions outside of software control (e.g. upon button press or
input voltage removal), some special handling is needed to delay the
initialization of the IC until it is accessible.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
MAINTAINERS
drivers/power/supply/Kconfig
drivers/power/supply/Makefile
drivers/power/supply/ip5xxx_power.c [new file with mode: 0644]