nvmem: Add spmi-mfd-nvmem driver
authorHector Martin <marcan@marcan.st>
Tue, 15 Feb 2022 09:45:25 +0000 (18:45 +0900)
committerHector Martin <marcan@marcan.st>
Tue, 15 Feb 2022 09:59:57 +0000 (18:59 +0900)
commitb67435b50ba7a2c9786951a0448490965b70e90d
treec2a153da1bae48a544eb0e8ed2df8819b077debe
parent8b407e135b7532340d0d0768584307adbc037879
nvmem: Add spmi-mfd-nvmem driver

This driver exposes part of an SPMI MFD 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@marcan.st>
drivers/nvmem/Kconfig
drivers/nvmem/Makefile
drivers/nvmem/spmi-mfd-nvmem.c [new file with mode: 0644]