blob: 7bf43f40a3470102fadbd24786a05d7778bf93cc [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From 0c59e472d0ace19f00d06b4ccf5dba6a7831c001 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-2011-clk-mtk-add-mt7981-support.patch]
5
6---
7 drivers/clk/mediatek/Kconfig | 8 ++++++++
8 drivers/clk/mediatek/Makefile | 1 +
9 2 files changed, 9 insertions(+)
10
developer6ec21762021-09-30 17:15:17 +080011diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig
developer5d148cb2023-06-02 13:08:11 +080012index 1c48fe9f5..23393d5ec 100644
developer6ec21762021-09-30 17:15:17 +080013--- a/drivers/clk/mediatek/Kconfig
14+++ b/drivers/clk/mediatek/Kconfig
15@@ -267,6 +267,14 @@ config COMMON_CLK_MT7986
16 This driver supports MediaTek MT7986 basic clocks and clocks
17 required for various periperals found on MediaTek.
18
19+config COMMON_CLK_MT7981
20+ bool "Clock driver for MediaTek MT7981"
21+ depends on ARCH_MEDIATEK || COMPILE_TEST
22+ select COMMON_CLK_MEDIATEK
23+ ---help---
24+ This driver supports MediaTek MT7981 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 8c392f4ef..ffe0850e1 100644
developer6ec21762021-09-30 17:15:17 +080032--- a/drivers/clk/mediatek/Makefile
33+++ b/drivers/clk/mediatek/Makefile
34@@ -40,6 +40,7 @@ obj-$(CONFIG_COMMON_CLK_MT7629) += clk-mt7629.o
35 obj-$(CONFIG_COMMON_CLK_MT7629_ETHSYS) += clk-mt7629-eth.o
36 obj-$(CONFIG_COMMON_CLK_MT7629_HIFSYS) += clk-mt7629-hif.o
37 obj-$(CONFIG_COMMON_CLK_MT7986) += clk-mt7986.o
38+obj-$(CONFIG_COMMON_CLK_MT7981) += clk-mt7981.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--
developer5d148cb2023-06-02 13:08:11 +0800432.34.1
developer6ec21762021-09-30 17:15:17 +080044