mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
32 lines
1.3 KiB
Diff
32 lines
1.3 KiB
Diff
|
--- a/drivers/clk/mediatek/Kconfig
|
||
|
+++ b/drivers/clk/mediatek/Kconfig
|
||
|
@@ -378,6 +378,15 @@ config COMMON_CLK_MT7986_ETHSYS
|
||
|
This driver add support for clocks for Ethernet and SGMII
|
||
|
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
|
||
|
@@ -54,6 +54,10 @@ obj-$(CONFIG_COMMON_CLK_MT7986) += clk-m
|
||
|
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
|