blob: 07080769ddf1f7267e103e0e26dcd35b63d7ac0d [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From cd39b20ca69be67d38a2366e64c496f157f12672 Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:02 +0800
4Subject: [PATCH] [basic-part][999-2010-clk-mtk-add-mt7986-support.patch]
5
6---
7 drivers/clk/mediatek/Kconfig | 9 +++++++++
8 drivers/clk/mediatek/Makefile | 2 ++
9 2 files changed, 11 insertions(+)
10
developer15adbbf2021-05-24 22:20:07 +080011diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig
developer5d148cb2023-06-02 13:08:11 +080012index 7efc3617b..1c48fe9f5 100644
developer15adbbf2021-05-24 22:20:07 +080013--- a/drivers/clk/mediatek/Kconfig
14+++ b/drivers/clk/mediatek/Kconfig
15@@ -258,6 +258,15 @@ config COMMON_CLK_MT7629_HIFSYS
16 This driver supports MediaTek MT7629 HIFSYS clocks providing
17 to PCI-E and USB.
developer5d148cb2023-06-02 13:08:11 +080018
developer15adbbf2021-05-24 22:20:07 +080019+config COMMON_CLK_MT7986
20+ bool "Clock driver for MediaTek MT7986"
developer8b9f2852021-06-03 21:53:08 +080021+ depends on ARCH_MEDIATEK || COMPILE_TEST
developer15adbbf2021-05-24 22:20:07 +080022+ select COMMON_CLK_MEDIATEK
23+ default ARCH_MEDIATEK && ARM
24+ ---help---
25+ This driver supports MediaTek MT7986 basic clocks and clocks
26+ required for various periperals found on MediaTek.
27+
28 config COMMON_CLK_MT8135
29 bool "Clock driver for MediaTek MT8135"
30 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
31diff --git a/drivers/clk/mediatek/Makefile b/drivers/clk/mediatek/Makefile
developer5d148cb2023-06-02 13:08:11 +080032index 8cdb76a5c..8c392f4ef 100644
developer15adbbf2021-05-24 22:20:07 +080033--- a/drivers/clk/mediatek/Makefile
34+++ b/drivers/clk/mediatek/Makefile
35@@ -39,6 +39,7 @@ obj-$(CONFIG_COMMON_CLK_MT7622_AUDSYS) += clk-mt7622-aud.o
36 obj-$(CONFIG_COMMON_CLK_MT7629) += clk-mt7629.o
37 obj-$(CONFIG_COMMON_CLK_MT7629_ETHSYS) += clk-mt7629-eth.o
38 obj-$(CONFIG_COMMON_CLK_MT7629_HIFSYS) += clk-mt7629-hif.o
39+obj-$(CONFIG_COMMON_CLK_MT7986) += clk-mt7986.o
40 obj-$(CONFIG_COMMON_CLK_MT8135) += clk-mt8135.o
41 obj-$(CONFIG_COMMON_CLK_MT8173) += clk-mt8173.o
42 obj-$(CONFIG_COMMON_CLK_MT8183) += clk-mt8183.o
43@@ -55,3 +56,4 @@ obj-$(CONFIG_COMMON_CLK_MT8183_VDECSYS) += clk-mt8183-vdec.o
44 obj-$(CONFIG_COMMON_CLK_MT8183_VENCSYS) += clk-mt8183-venc.o
45 obj-$(CONFIG_COMMON_CLK_MT8516) += clk-mt8516.o
46 obj-$(CONFIG_COMMON_CLK_MT8516_AUDSYS) += clk-mt8516-aud.o
47+obj-y += clk-bringup.o
48\ No newline at end of file
49--
developer5d148cb2023-06-02 13:08:11 +0800502.34.1
developer15adbbf2021-05-24 22:20:07 +080051