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>
Sat, 19 Feb 2022 08:14:54 +0000 (17:14 +0900)
commit9ad384f7c0d0e250f3b99fb9fd9464dc319c6185
treedec1d059a441b0d8d9a23660323c68584242241b
parente93750dd7c662a70ae647d0bf13c7ef00fb6b4ae
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]