regulator: spacemit: support SpacemiT P1 regulators
authorAlex Elder <elder@riscstar.com>
Mon, 25 Aug 2025 17:20:52 +0000 (12:20 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 16 Sep 2025 13:34:44 +0000 (14:34 +0100)
commit8b84d712ad849172f6bbcad57534b284d942b0b5
tree84e04079306c98af4e73b1a2ad420cc7e70dbab9
parent41b5c85ba94057c955f0f6348c551093917da06d
regulator: spacemit: support SpacemiT P1 regulators

Add support for the regulators found in the SpacemiT P1 PMIC.  This
PMIC provides 6 buck converters and 12 LDO regulators.

The PMIC is implemented as a multi-function device.  These regulators
are probed based on this driver being named in a MFD cell in the simple
MFD I2C driver.

Signed-off-by: Alex Elder <elder@riscstar.com>
Link: https://patch.msgid.link/20250825172057.163883-4-elder@riscstar.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/spacemit-p1.c [new file with mode: 0644]