2023-06-27 00:06:47 +00:00
|
|
|
--- a/drivers/clk/mediatek/Kconfig
|
|
|
|
+++ b/drivers/clk/mediatek/Kconfig
|
2023-06-27 00:15:55 +00:00
|
|
|
@@ -415,6 +415,15 @@ config COMMON_CLK_MT7986_ETHSYS
|
|
|
|
This driver adds support for clocks for Ethernet and SGMII
|
2023-06-27 00:06:47 +00:00
|
|
|
required on MediaTek MT7986 SoC.
|
|
|
|
|
|
|
|
+config COMMON_CLK_MT7988
|
|
|
|
+ bool "Clock driver for MediaTek MT7988"
|
|
|
|
+ depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
|
|
+ select COMMON_CLK_MEDIATEK
|
|
|
|
+ default ARCH_MEDIATEK
|
|
|
|
+ help
|
|
|
|
+ This driver supports MediaTek MT7988 basic clocks and clocks
|
|
|
|
+ required for various periperals found on MediaTek.
|
|
|
|
+
|
|
|
|
config COMMON_CLK_MT8135
|
|
|
|
bool "Clock driver for MediaTek MT8135"
|
|
|
|
depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
|
|
|
|
--- a/drivers/clk/mediatek/Makefile
|
|
|
|
+++ b/drivers/clk/mediatek/Makefile
|
2023-06-27 00:15:55 +00:00
|
|
|
@@ -60,6 +60,10 @@ obj-$(CONFIG_COMMON_CLK_MT7986) += clk-m
|
2023-06-27 00:06:47 +00:00
|
|
|
obj-$(CONFIG_COMMON_CLK_MT7986) += clk-mt7986-topckgen.o
|
|
|
|
obj-$(CONFIG_COMMON_CLK_MT7986) += clk-mt7986-infracfg.o
|
|
|
|
obj-$(CONFIG_COMMON_CLK_MT7986_ETHSYS) += clk-mt7986-eth.o
|
|
|
|
+obj-$(CONFIG_COMMON_CLK_MT7988) += clk-mt7988-apmixed.o
|
|
|
|
+obj-$(CONFIG_COMMON_CLK_MT7988) += clk-mt7988-topckgen.o
|
|
|
|
+obj-$(CONFIG_COMMON_CLK_MT7988) += clk-mt7988-infracfg.o
|
|
|
|
+obj-$(CONFIG_COMMON_CLK_MT7988) += clk-mt7988-eth.o
|
|
|
|
obj-$(CONFIG_COMMON_CLK_MT8135) += clk-mt8135.o
|
|
|
|
obj-$(CONFIG_COMMON_CLK_MT8167) += clk-mt8167.o
|
|
|
|
obj-$(CONFIG_COMMON_CLK_MT8167_AUDSYS) += clk-mt8167-aud.o
|