Skip to content

Commit 9d1e2d5

Browse files
TroyMitchell911lag-linaro
authored andcommitted
mfd: Kconfig: Default MFD_SPACEMIT_P1 to 'm' if ARCH_SPACEMIT
The default value of the P1 sub-device depends on the value of P1, so P1 should have a default value here. Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Acked-by: Alex Elder <elder@riscstar.com> Link: https://patch.msgid.link/20251225-p1-kconfig-fix-v4-2-44b6728117c1@linux.spacemit.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent f78263a commit 9d1e2d5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/mfd/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,6 +1276,7 @@ config MFD_SPACEMIT_P1
12761276
depends on ARCH_SPACEMIT || COMPILE_TEST
12771277
depends on I2C
12781278
select MFD_SIMPLE_MFD_I2C
1279+
default m if ARCH_SPACEMIT
12791280
help
12801281
This option supports the I2C-based SpacemiT P1 PMIC, which
12811282
contains regulators, a power switch, GPIOs, an RTC, and more.

0 commit comments

Comments
 (0)