blob: d29a023b26453a957bd5eec497f67304c9848424 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From 63786d6f950d63c586b4efac77d3244b959ba5a6 Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:03 +0800
4Subject: [PATCH] [basic-part][999-2012-clk-mtk-add-mt7988-support.patch]
5
6---
7 drivers/clk/mediatek/Kconfig | 8 ++++++++
8 drivers/clk/mediatek/Makefile | 3 ++-
9 2 files changed, 10 insertions(+), 1 deletion(-)
10
developer2cdaeb12022-10-04 20:25:05 +080011diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig
developer5d148cb2023-06-02 13:08:11 +080012index 23393d5ec..cf3a53e9b 100644
developer2cdaeb12022-10-04 20:25:05 +080013--- a/drivers/clk/mediatek/Kconfig
14+++ b/drivers/clk/mediatek/Kconfig
15@@ -275,6 +275,14 @@ config COMMON_CLK_MT7981
16 This driver supports MediaTek MT7981 basic clocks and clocks
17 required for various periperals found on MediaTek.
18
19+config COMMON_CLK_MT7988
20+ bool "Clock driver for MediaTek MT7988"
21+ depends on ARCH_MEDIATEK || COMPILE_TEST
22+ select COMMON_CLK_MEDIATEK
23+ ---help---
24+ This driver supports MediaTek MT7988 basic clocks and clocks
25+ required for various periperals found on MediaTek.
26+
27 config COMMON_CLK_MT8135
28 bool "Clock driver for MediaTek MT8135"
29 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
30diff --git a/drivers/clk/mediatek/Makefile b/drivers/clk/mediatek/Makefile
developer5d148cb2023-06-02 13:08:11 +080031index ffe0850e1..43ca85d10 100644
developer2cdaeb12022-10-04 20:25:05 +080032--- a/drivers/clk/mediatek/Makefile
33+++ b/drivers/clk/mediatek/Makefile
34@@ -41,6 +41,7 @@ obj-$(CONFIG_COMMON_CLK_MT7629_ETHSYS) += clk-mt7629-eth.o
35 obj-$(CONFIG_COMMON_CLK_MT7629_HIFSYS) += clk-mt7629-hif.o
36 obj-$(CONFIG_COMMON_CLK_MT7986) += clk-mt7986.o
37 obj-$(CONFIG_COMMON_CLK_MT7981) += clk-mt7981.o
38+obj-$(CONFIG_COMMON_CLK_MT7988) += clk-mt7988.o
39 obj-$(CONFIG_COMMON_CLK_MT8135) += clk-mt8135.o
40 obj-$(CONFIG_COMMON_CLK_MT8173) += clk-mt8173.o
41 obj-$(CONFIG_COMMON_CLK_MT8183) += clk-mt8183.o
42@@ -57,4 +58,4 @@ obj-$(CONFIG_COMMON_CLK_MT8183_VDECSYS) += clk-mt8183-vdec.o
43 obj-$(CONFIG_COMMON_CLK_MT8183_VENCSYS) += clk-mt8183-venc.o
44 obj-$(CONFIG_COMMON_CLK_MT8516) += clk-mt8516.o
45 obj-$(CONFIG_COMMON_CLK_MT8516_AUDSYS) += clk-mt8516-aud.o
46-obj-y += clk-bringup.o
47\ No newline at end of file
48+obj-y += clk-bringup.o
developer5d148cb2023-06-02 13:08:11 +080049--
502.34.1
51