]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: sec: Split into core and transport (i2c) drivers
authorAndré Draszik <andre.draszik@linaro.org>
Wed, 9 Apr 2025 20:37:29 +0000 (21:37 +0100)
committerLee Jones <lee@kernel.org>
Fri, 23 May 2025 07:48:23 +0000 (08:48 +0100)
commit680ef57915db0f715e99a683c15f0f9f7c700e64
tree2eebe821a1fae74c0795639602cf2190c1797157
parent8b88b5e4d58151d8a37250afc978f253cd8cc4fb
mfd: sec: Split into core and transport (i2c) drivers

As a preparation for adding support for Samsung's S2MPG10, which is
connected via SPEEDY / ACPM rather than I2C, split out (move) all
I2C-specific driver code into its own kernel module, sec-i2c, and
make the existing sec-core module be just the transport-agnostic core
driver kernel module.

At the same time, update all defconfigs that reference the old kconfig
symbol name.

While at it, also update file header comments and module description(s)
to drop references to 'mfd', and update comments to be C-style, not
C++.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250409-s2mpg10-v4-8-d66d5f39b6bf@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
arch/arm/configs/exynos_defconfig
arch/arm/configs/multi_v7_defconfig
arch/arm/configs/pxa_defconfig
arch/arm64/configs/defconfig
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/sec-core.c
drivers/mfd/sec-core.h
drivers/mfd/sec-i2c.c [new file with mode: 0644]