| From | Linus Walleij <> | Date | Sat, 7 May 2022 14:37:20 +0200 | Subject | Re: [PATCH 40/48] ARM: pxa: tosa: use gpio lookup for battery |
| |
On Tue, Apr 19, 2022 at 6:44 PM Arnd Bergmann <arnd@kernel.org> wrote:
> From: Arnd Bergmann <arnd@arndb.de> > > The battery driver uses a lot of GPIO lines, hardcoded from a > machine header file. > > Change it to use a gpiod lookup table instead. > > Reviewed-by: Sebastian Reichel <sre@kernel.org> > Acked-by: Sebastian Reichel <sre@kernel.org> > Cc: linux-pm@vger.kernel.org > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Oh, I've been iterating a patch for the Tosa charging code going down in MFD ans ASoC and all: https://lore.kernel.org/linux-arm-kernel/20220125003741.492954-1-linus.walleij@linaro.org/
I just rebased this on v5.18-rc1 and resent with collected ACKs.
Please take a look at it, and see if you rather take that patch, at some point I realized I had to go pretty deep around the legacy code in different subsystems because the MFD device us spawning a GPIO chip...
Yours, Linus Walleij
|