Skip to content

Commit 52660e5

Browse files
Enric Balletbo i Serrambgg
authored andcommitted
soc: mediatek: Enable mmsys driver by default if Mediatek arch is selected
The mmsys driver supports only MT8173 device for now, but like other system controllers is an important piece for other Mediatek devices. Actually it depends on the mt8173 clock specific driver but that dependency is not real as it can build without the clock driver. Instead of depends on a specific model, make the driver depends on the generic ARCH_MEDIATEK and enable by default so other Mediatek devices can start using it without flood the Kconfig. Signed-off-by: Enric Balletbo i Serra <[email protected]> Tested-by: Hsin-Yi Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
1 parent 154910f commit 52660e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/soc/mediatek/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ config MTK_SCPSYS
4646

4747
config MTK_MMSYS
4848
bool "MediaTek MMSYS Support"
49-
depends on COMMON_CLK_MT8173_MMSYS
50-
default COMMON_CLK_MT8173_MMSYS
49+
default ARCH_MEDIATEK
5150
help
5251
Say yes here to add support for the MediaTek Multimedia
5352
Subsystem (MMSYS).

0 commit comments

Comments
 (0)