From: Markus Stockhausen Date: Thu, 25 Aug 2022 06:22:36 +0000 (+0200) Subject: realtek: add patch to enable new clock driver in kernel X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=800d5fb3c6a16661932c932bacd660e38d06b727;p=openwrt%2Fstaging%2Fneocturne.git realtek: add patch to enable new clock driver in kernel Allow building the clock driver with kernel config options. Signed-off-by: Markus Stockhausen --- 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/