linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/4] soc: mediatek: Enable mmsys driver by default if Mediatek arch is selected
@ 2020-04-01 20:17 Enric Balletbo i Serra
  2020-04-01 20:17 ` [PATCH v2 2/4] clk / soc: mediatek: Bind clock and gpu driver for mt2712 Enric Balletbo i Serra
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Enric Balletbo i Serra @ 2020-04-01 20:17 UTC (permalink / raw)
  To: mark.rutland, ck.hu, sboyd, ulrich.hecht+renesas
  Cc: linux-kernel, matthias.bgg, drinkcat, hsinyi,
	Collabora Kernel ML, linux-arm-kernel, linux-mediatek, linux-clk,
	Matthias Brugger, matthias.bgg

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 <enric.balletbo@collabora.com>
---

Changes in v2: None

 drivers/soc/mediatek/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
index e84513318725..59a56cd790ec 100644
--- a/drivers/soc/mediatek/Kconfig
+++ b/drivers/soc/mediatek/Kconfig
@@ -46,8 +46,7 @@ config MTK_SCPSYS
 
 config MTK_MMSYS
 	bool "MediaTek MMSYS Support"
-	depends on COMMON_CLK_MT8173_MMSYS
-	default COMMON_CLK_MT8173_MMSYS
+	default ARCH_MEDIATEK
 	help
 	  Say yes here to add support for the MediaTek Multimedia
 	  Subsystem (MMSYS).
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-05-20 10:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 20:17 [PATCH v2 1/4] soc: mediatek: Enable mmsys driver by default if Mediatek arch is selected Enric Balletbo i Serra
2020-04-01 20:17 ` [PATCH v2 2/4] clk / soc: mediatek: Bind clock and gpu driver for mt2712 Enric Balletbo i Serra
2020-04-06  9:26   ` Matthias Brugger
2020-05-20 10:13   ` Stephen Boyd
2020-05-20 10:51     ` Matthias Brugger
2020-04-01 20:17 ` [PATCH v2 3/4] clk / soc: mediatek: Bind clock and gpu driver for mt2701 Enric Balletbo i Serra
2020-04-06  9:27   ` Matthias Brugger
2020-05-20 10:13   ` Stephen Boyd
2020-05-20 10:51     ` Matthias Brugger
2020-04-01 20:17 ` [PATCH v2 4/4] arm64: dts: mt8173: Fix mmsys node name Enric Balletbo i Serra
2020-05-20 10:52   ` Matthias Brugger
2020-05-13  4:49 ` [PATCH v2 1/4] soc: mediatek: Enable mmsys driver by default if Mediatek arch is selected Hsin-Yi Wang
2020-05-20 10:51 ` Matthias Brugger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).