Skip to content

Commit 256031e

Browse files
TonyHan11dkalowsk
authored andcommitted
soc: microchip: sam: set CONFIG_MFD to 'y' when FLEXCOM is used
When there are FLEXCOM nodes in the device tree, set CONFIG_MFD to 'y' automatically. Signed-off-by: Tony Han <tony.han@microchip.com>
1 parent 6243ff4 commit 256031e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

soc/microchip/sam/Kconfig.defconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ rsource "*/Kconfig.defconfig"
1010
config CLOCK_CONTROL
1111
default y
1212

13+
config MFD
14+
default y
15+
depends on DT_HAS_MICROCHIP_SAM_FLEXCOM_ENABLED
16+
1317
endif # SOC_FAMILY_MICROCHIP_SAM

0 commit comments

Comments
 (0)