]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mfd: sec: Add support for S2MPG11 PMIC via ACPM
authorAndré Draszik <andre.draszik@linaro.org>
Thu, 22 Jan 2026 15:43:36 +0000 (15:43 +0000)
committerLee Jones <lee@kernel.org>
Wed, 4 Feb 2026 10:37:29 +0000 (10:37 +0000)
commit3a17ba6557e28d5d99b7e3cad31f22ad28a36cc2
treef1146826131aa48891548221876e60ba8d909e30
parentfa72a842734272e295e6804df75131acde2d6e2d
mfd: sec: Add support for S2MPG11 PMIC via ACPM

Add support for Samsung's S2MPG11 PMIC, which is a Power Management IC
for mobile applications with buck converters, various LDOs, power
meters, NTC thermistor inputs, and additional GPIO interfaces. It
typically complements an S2MPG10 PMIC in a main/sub configuration as
the sub-PMIC.

Like S2MPG10, communication is not via I2C, but via the Samsung ACPM
firmware.

While at it, we can also switch to asynchronous probe, which helps with
probe performance, as the drivers for s2mpg10 and s2mpg11 can probe in
parallel.

Note: The firmware uses the ACPM channel ID and the Speedy channel ID
to select the PMIC address. Since these are firmware properties, they
can not be retrieved from DT, but instead are deducted from the
compatible for now.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260122-s2mpg1x-regulators-v7-9-3b1f9831fffd@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/sec-acpm.c
drivers/mfd/sec-common.c
drivers/mfd/sec-irq.c
include/linux/mfd/samsung/core.h
include/linux/mfd/samsung/irq.h
include/linux/mfd/samsung/s2mpg11.h [new file with mode: 0644]