diff options
author | Aleksander Jan Bajkowski <olek2@wp.pl> | 2021-09-11 23:24:35 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2021-11-27 21:45:04 +0100 |
commit | 1c68494f677c40966fdd5b86e4ac3d618a2f469d (patch) | |
tree | 95e5ee91b1ac85b335a0341889053b70e17f5f44 /target/linux/lantiq/patches-5.4/0301-xrx200-add-gphy-clk-src-device-tree-binding.patch | |
parent | 2f3331ea7fec5bc53a2797a497ec76393bc07599 (diff) | |
download | upstream-1c68494f677c40966fdd5b86e4ac3d618a2f469d.tar.gz upstream-1c68494f677c40966fdd5b86e4ac3d618a2f469d.tar.bz2 upstream-1c68494f677c40966fdd5b86e4ac3d618a2f469d.zip |
lantiq: drop kernel 5.4 support
The current state of the kernel 5.4 support is in the openwrt-21.02
branch. No need to keep a not default used kernel in this branch.
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [VRX268/ bthub5]
Diffstat (limited to 'target/linux/lantiq/patches-5.4/0301-xrx200-add-gphy-clk-src-device-tree-binding.patch')
-rw-r--r-- | target/linux/lantiq/patches-5.4/0301-xrx200-add-gphy-clk-src-device-tree-binding.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/target/linux/lantiq/patches-5.4/0301-xrx200-add-gphy-clk-src-device-tree-binding.patch b/target/linux/lantiq/patches-5.4/0301-xrx200-add-gphy-clk-src-device-tree-binding.patch deleted file mode 100644 index 1beef0e1fe..0000000000 --- a/target/linux/lantiq/patches-5.4/0301-xrx200-add-gphy-clk-src-device-tree-binding.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/arch/mips/lantiq/xway/sysctrl.c -+++ b/arch/mips/lantiq/xway/sysctrl.c -@@ -422,6 +422,20 @@ static void clkdev_add_clkout(void) - } - } - -+static void set_phy_clock_source(struct device_node *np_cgu) -+{ -+ u32 phy_clk_src, ifcc; -+ -+ if (!np_cgu) -+ return; -+ -+ if (of_property_read_u32(np_cgu, "lantiq,phy-clk-src", &phy_clk_src)) -+ return; -+ -+ ifcc = ltq_cgu_r32(ifccr) & ~(0x1c); -+ ltq_cgu_w32(ifcc | (phy_clk_src << 2), ifccr); -+} -+ - /* bring up all register ranges that we need for basic system control */ - void __init ltq_soc_init(void) - { -@@ -585,4 +599,6 @@ void __init ltq_soc_init(void) - clkdev_add_pmu("1e100400.serial", NULL, 1, 0, PMU_ASC0); - } - usb_set_clock(); -+ -+ set_phy_clock_source(np_cgu); - } |