[openwrt/openwrt] realtek: add patch to enable new clock driver in kernel

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 28 02:51:58 PDT 2022


svanheule pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/800d5fb3c6a16661932c932bacd660e38d06b727

commit 800d5fb3c6a16661932c932bacd660e38d06b727
Author: Markus Stockhausen <markus.stockhausen at gmx.de>
AuthorDate: Thu Aug 25 08:22:36 2022 +0200

    realtek: add patch to enable new clock driver in kernel
    
    Allow building the clock driver with kernel config options.
    
    Signed-off-by: Markus Stockhausen <markus.stockhausen at gmx.de>
---
 .../patches-5.10/318-add-rtl83xx-clk-support.patch | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/target/linux/realtek/patches-5.10/318-add-rtl83xx-clk-support.patch b/target/linux/realtek/patches-5.10/318-add-rtl83xx-clk-support.patch
new file mode 100644
index 0000000000..5215a75087
--- /dev/null
+++ b/target/linux/realtek/patches-5.10/318-add-rtl83xx-clk-support.patch
@@ -0,0 +1,26 @@
+diff -rpN x/drivers/clk/Kconfig y/drivers/clk/Kconfig
+*** x/drivers/clk/Kconfig	2022-07-29 14:28:59.704481188 +0200
+--- y/drivers/clk/Kconfig	2022-07-29 14:29:56.886053322 +0200
+*************** source "drivers/clk/mediatek/Kconfig"
+*** 372,377 ****
+--- 372,378 ----
+  source "drivers/clk/meson/Kconfig"
+  source "drivers/clk/mvebu/Kconfig"
+  source "drivers/clk/qcom/Kconfig"
++ source "drivers/clk/realtek/Kconfig"
+  source "drivers/clk/renesas/Kconfig"
+  source "drivers/clk/rockchip/Kconfig"
+  source "drivers/clk/samsung/Kconfig"
+diff -rpN x/drivers/clk/Makefile y/drivers/clk/Makefile
+*** x/drivers/clk/Makefile	2022-07-29 13:34:36.638231518 +0200
+--- y/drivers/clk/Makefile	2022-07-29 13:34:19.105060958 +0200
+*************** obj-$(CONFIG_COMMON_CLK_NXP)		+= nxp/
+*** 100,105 ****
+--- 100,106 ----
+  obj-$(CONFIG_MACH_PISTACHIO)		+= pistachio/
+  obj-$(CONFIG_COMMON_CLK_PXA)		+= pxa/
+  obj-$(CONFIG_COMMON_CLK_QCOM)		+= qcom/
++ obj-$(CONFIG_COMMON_CLK_REALTEK)	+= realtek/
+  obj-y					+= renesas/
+  obj-$(CONFIG_ARCH_ROCKCHIP)		+= rockchip/
+  obj-$(CONFIG_COMMON_CLK_SAMSUNG)	+= samsung/




More information about the lede-commits mailing list