[PATCH 2/3] nvmem: Add spmi-nvmem driver
Neal Gompa
neal at gompa.dev
Tue Apr 15 18:40:41 PDT 2025
On Tue, Apr 15, 2025 at 5:52 PM Sasha Finkelstein via B4 Relay
<devnull+fnkl.kernel.gmail.com at kernel.org> wrote:
>
> From: Hector Martin <marcan at marcan.st>
>
> This driver exposes a SPMI device as an NVMEM device.
> It is intended to be used with e.g. PMUs/PMICs that are used to
> hold power management configuration, such as used on Apple Silicon
> Macs.
>
> Signed-off-by: Hector Martin <marcan at marcan.st>
> Signed-off-by: Sasha Finkelstein <fnkl.kernel at gmail.com>
> ---
> MAINTAINERS | 1 +
> drivers/nvmem/Kconfig | 14 +++++++++++
> drivers/nvmem/Makefile | 2 ++
> drivers/nvmem/spmi-nvmem.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 79 insertions(+)
>
This driver code looks reasonable to me.
Reviewed-by: Neal Gompa <neal at gompa.dev>
--
真実はいつも一つ!/ Always, there's only one truth!
More information about the linux-arm-kernel
mailing list