developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 1 | From cd39b20ca69be67d38a2366e64c496f157f12672 Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:06:02 +0800 |
| 4 | Subject: [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 | |
developer | 15adbbf | 2021-05-24 22:20:07 +0800 | [diff] [blame] | 11 | diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 12 | index 7efc3617b..1c48fe9f5 100644 |
developer | 15adbbf | 2021-05-24 22:20:07 +0800 | [diff] [blame] | 13 | --- 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. |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 18 | |
developer | 15adbbf | 2021-05-24 22:20:07 +0800 | [diff] [blame] | 19 | +config COMMON_CLK_MT7986 |
| 20 | + bool "Clock driver for MediaTek MT7986" |
developer | 8b9f285 | 2021-06-03 21:53:08 +0800 | [diff] [blame] | 21 | + depends on ARCH_MEDIATEK || COMPILE_TEST |
developer | 15adbbf | 2021-05-24 22:20:07 +0800 | [diff] [blame] | 22 | + 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 |
| 31 | diff --git a/drivers/clk/mediatek/Makefile b/drivers/clk/mediatek/Makefile |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 32 | index 8cdb76a5c..8c392f4ef 100644 |
developer | 15adbbf | 2021-05-24 22:20:07 +0800 | [diff] [blame] | 33 | --- 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 | -- |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 50 | 2.34.1 |
developer | 15adbbf | 2021-05-24 22:20:07 +0800 | [diff] [blame] | 51 | |