]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: sec: Add support for S2MPG10 PMIC
authorAndré Draszik <andre.draszik@linaro.org>
Wed, 9 Apr 2025 20:37:30 +0000 (21:37 +0100)
committerLee Jones <lee@kernel.org>
Fri, 23 May 2025 07:48:27 +0000 (08:48 +0100)
commit5338709089b75f57a9b3b7b17a0424ecab5f2fd8
treee1ed93c05a6bf2b84b5d5410456a500fad443d83
parent680ef57915db0f715e99a683c15f0f9f7c700e64
mfd: sec: Add support for S2MPG10 PMIC

Add support for Samsung's S2MPG10 PMIC, which is a Power Management IC
for mobile applications with buck converters, various LDOs, power
meters, RTC, clock outputs, and additional GPIOs interfaces.

Contrary to existing Samsung S2M series PMICs supported, communication
is not via I2C, but via the Samsung ACPM firmware.

This commit adds the core driver.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250409-s2mpg10-v4-9-d66d5f39b6bf@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/sec-acpm.c [new file with mode: 0644]
drivers/mfd/sec-core.c
drivers/mfd/sec-irq.c
include/linux/mfd/samsung/core.h
include/linux/mfd/samsung/irq.h
include/linux/mfd/samsung/rtc.h
include/linux/mfd/samsung/s2mpg10.h [new file with mode: 0644]