Commit Graph

1640 Commits

Author SHA1 Message Date
lean
0303ac3d38 x86: backport Intel GUC support for N5105/N6005 in kernel 5.15 2022-09-01 18:38:35 +08:00
lean
6bf0fbd526 rockchip:fix nanopi-r4s mac address again 2022-09-01 14:55:14 +08:00
AmadeusGhost
b477a0b702 rockchip: add support for FastRhino R66S/R68S
For R68S, flash in as follows:
  dd if=openwrt-rockchip-armv8-fastrhino_r68s-ext4-sysupgrade.img
     of=/dev/mmcblk0
2022-09-01 12:01:21 +08:00
AmadeusGhost
6aaf68d8f5 rockchip: add basic support for HINLINK OPC-H68K 2022-09-01 11:59:31 +08:00
AmadeusGhost
7f8e3bf68c rockchip: add support for EZPRO Mrkaio M68S 2022-09-01 11:57:14 +08:00
AmadeusGhost
5115f2bc1d rockchip: backport support for Radxa ROCK3 A
Also enabled pcie on this board.
2022-09-01 11:56:02 +08:00
AmadeusGhost
695be791b2 rockchip: 5.15: fixes motorcomm driver build error 2022-09-01 11:49:38 +08:00
AmadeusGhost
8cb632045f rockchip: 5.15: introduce rk3568 support
Due to the missing ATF for normally boot, there are still
a lot of bugs on this platform. At the same time, the GMAC
driver also lacks a part.
2022-09-01 11:43:00 +08:00
AmadeusGhost
22d08ddd3d rockchip: revert to origin defaults
The current target code is too chaotic, the patches are
messy and disorderly, and there are still many duplicate
code. Pack it back to half a year ago.
2022-09-01 11:28:49 +08:00
AmadeusGhost
b5b402cd07 Revert "rockchip: backport rk3568 support to kernel 5.10"
This reverts commit cb3ea4bf55.
2022-09-01 11:25:13 +08:00
lean
44275af49f x86: add new missing symbol 2022-09-01 00:07:21 +08:00
lean
109c4fc947 kernel: bump 5.19 to 5.19.6 2022-08-31 23:51:09 +08:00
QiuSimons
cb3ea4bf55
rockchip: backport rk3568 support to kernel 5.10 (#10025) 2022-08-31 20:24:42 +08:00
Aes64X
b5541f15fd
Intel GUC: add UHD 630/750 support (#10023)
* Update Makefile

* Update intel.mk

* Delete 992-enable-intel-guc.patch

* Update intel.mk
2022-08-31 01:31:55 +08:00
lean
471ed020e7 x86: enable intel idle driver on x64 2022-08-30 17:19:06 +08:00
lean
451fc0189f x86: load HuC firmware by default for Intel gen9+ 2022-08-30 16:25:01 +08:00
lean
40e3a3f754 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-08-30 15:38:56 +08:00
AmadeusGhost
1ccc3bfd54 ramips: mt7621: fixes dsa hnat support 2022-08-30 12:01:08 +08:00
?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?=
a28334d8b8 ramips: mt7621-dts: mux phy0/4 to gmac1
Mux the MT7530 switch's phy0/4 to the SoC's gmac1 on devices where RGMII2
pins are available. This achieves 2 Gbps total bandwidth to the CPU using
the second RGMII.

The ports called "wan" are muxed where possible. On a minority of devices,
this is not possible. Those cases:

mt7621_ampedwireless_ally-r1900k.dts: lan3
mt7621_ubnt_edgerouter-x.dts: eth0
mt7621_gnubee_gb-pc1.dts: ethblue
mt7621_linksys_re6500.dts: lan1
mt7621_netgear_wac104.dts: lan4
mt7621_tplink_eap235-wall-v1.dts: lan0
mt7621_tplink_eap615-wall-v1.dts: lan0
mt7621_ubnt_usw-flex.dts: lan1

The "wan" port is just what the vendor designated on the board/plastic
chasis of the device. On a technical level, there is no difference between
a lan and wan port on MT7621AT, MT7621DAT and MT7621ST SoCs. Prefer
connecting to WAN via the port described above for these devices to benefit
the feature brought with this patch.

mt7621_d-team_newifi-d2.dts cannot benefit this feature, although it looks
like it should, because the rgmii2 pins are wired to unused components.

Tested on a range of devices documented on the GitHub PR.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-08-30 11:48:07 +08:00
Arınç ÜNAL
9483e6d8a9 ramips: mt7621-dts: do not claim rgmii2 group as gpio for certain devices
These devices do not use rgmii2 as gpio, therefore remove rgmii2 pin group
from state-default. Remove overwriting the ethernet node for these devices.

Move claiming the rgmii2 group from mt7621_zyxel_nwa-ax.dtsi to
mt7621_zyxel_nwa50ax.dts as it's only the latter using rgmii2 pins as gpio.

Remove duplicate ethernet overwrite from mt7621_tplink_archer-x6-v3.dtsi.

Claim rgmii2 group as gpio on mt7621_bolt_arion.dts as it uses an rgmii2
pin, 26, as gpio.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-08-30 11:47:15 +08:00
Arınç ÜNAL
a9d71837e9 ramips: fix GB-PC1 and GB-PC2 device support
Change switch port labels to ethblack & ethblue.
Change lan1 & lan2 LEDs to ethblack_act & ethblue_act and fix GPIO pins.
Add the external phy with ethyellow label on the GB-PC2 devicetree.
Do not claim rgmii2 as gpio, it's used for ethernet with rgmii2 function.
Enable ICPlus PHY driver for IP1001 which GB-PC2 has got.
Update interface name and change netdev function.
Enable lzma compression to make up for the increased size of the kernel.
Make spi flash bindings on par with mainline Linux to fix read errors.

Tested on GB-PC2 by Petr.

Tested-by: Petr Louda <petr.louda@outlook.cz>
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-08-30 11:46:22 +08:00
David Bauer
29706161e3 ramips: fix missing NVMEM subsystem
MAC address retrieval was switched to more generic upstream (5.13) NVMEM
based solution in commit 06bb4a5018cd ("ramips: convert mtd-mac-address
to nvmem implementation") , but NVMEM subsystem wasn't enabled in the
kernel, so fix it now.

Fixes: 06bb4a5018cd ("ramips: convert mtd-mac-address to nvmem implementation")
Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit message]
2022-08-30 11:45:06 +08:00
aakkll
1d2998c2ae kernel: bump 5.19 to 5.19.5 2022-08-30 11:42:30 +08:00
QiuSimons
3bb3b633eb
rockchip: fix kernel 5.10 build error (#10017) 2022-08-29 21:43:49 +08:00
Daniel Golle
0ef0d66cb9 kernel: enable inside secure driver for MediaTek platforms
Older MT7623 ARMv7 SoC as well as new Filogic platforms come with
inside-secure,safexcel-eip97 units. Enable them in DTS and select the
driver kernel module by default on those platforms.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:39:05 +08:00
Eneas U de Queiroz
3635ad2c08 mediatek: remove crypto-hw-mtk package
The MediaTek's Crypto Engine module is only available for mt7623, in
which case it is built into the kernel.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-08-29 11:38:47 +08:00
Felix Fietkau
d5b2eb6cdc mediatek: add filogic subtarget
Initially this covers MT7986 only, but it will later be expanded to cover other
Filogic branded platforms by MediaTek

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:36:06 +08:00
Sam Shih
a4478fb400 mediatek: add mt7986 soc support to the target
It will be supported by the new filogic subtarget

Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:35:05 +08:00
aodzip
3302e26e94 ramips/mt7621: Add HATLab GateBoard-One Support
Signed-off-by: Aodzip <aodzip@gmail.com>
Signed-off-by: AnYun <amadeus@openjmu.xyz>
2022-08-28 15:50:27 +08:00
Daniel Golle
ea9e965d33 kernel: add quirk for Huawei-compatible OEM SFP GE-T
Ignore TX_FAULT signal on certain cheap copper/TP gigabit Ethernet SFP
modules.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-28 10:54:23 +08:00
Vladimir Markovets
dded495ebf kernel: backport workaround for Realtek RTL8672 and RTL9601C chips
Adds support for GPON SFP modules based on the Realtek RTL8672 and
RTL9601C chips, including but not limited to:
* V-SOL V2801F
* C-Data FD511GX-RM0
* OPTON GP801R
* BAUDCOM BD-1234-SFM
* CPGOS03-0490 v2.0
* Ubiquiti U-Fiber Instant
* EXOT EGS1

Signed-off-by: Vladimir Markovets <abam_a@yahoo.com>
2022-08-28 10:53:54 +08:00
lean
685a4f1071 mfd: rk808: Add reboot support to rk808.c 2022-08-27 12:22:17 +08:00
lean
e6fbfd9404 rockchip: fix Firefly Station P2 sata support 2022-08-27 03:17:09 +08:00
lean
98318a2627 rockchip: add r66s vop support 2022-08-27 03:16:31 +08:00
lean
24d685c904 rockchip: fix r66s gpio-regulator error 2022-08-27 02:48:10 +08:00
lean
c9572764f3 kernel: fix linux 5.19 shortcut-sfe kernel panic issue 2022-08-27 02:06:24 +08:00
lean
93a9f06c4c rockchip: backport rk3568 support to kernel 5.15 from immortalwrt 2022-08-27 00:51:54 +08:00
benihi
6670876f72
kernel: 5.10: refresh all patches (#10005)
Rmove:
target/linux/ipq807x/patches-5.10/147-clk-ipq8074-defer-from-disabling-gcc_sleep_clk_src.patch
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/clk/qcom/gcc-ipq8074.c?h=v5.10.138&id=6b90ab952401bd6c1a321dcfc0e0df080f2bc905

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-08-26 21:11:29 +08:00
benihi
3e87e5f41d
kernel: 5.15: fix bug in patch format (#10006)
Signed-off-by: José Hwong <josehwong@hotmail.com>

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-08-26 21:09:32 +08:00
lovehackintosh
ec3a9bd8ac
kernel: bump 5.15 to 5.15.63 (#9999)
All patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>

Signed-off-by: John Audia <therealgraysky@proton.me>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-08-26 13:11:25 +08:00
lovehackintosh
c48c51cc37
kernel: bump 5.10 to 5.10.138 (#9998)
All patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>

Signed-off-by: John Audia <therealgraysky@proton.me>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-08-26 13:10:58 +08:00
aakkll
abd4c51b2e
kernel: bump 5.19 to 5.19.4 (#9995)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-08-25 22:23:31 +08:00
lovehackintosh
013282f696
kernel: bump 5.15 to 5.15.62 (#9994)
Runtime tested on turris-omnia and glinet-b1300.

Tested-by: John Audia <therealgraysky@proton.me> [bcm2711/RPi4B, mt7622/RT3200]
Signed-off-by: Petr Štetiar <ynezz@true.cz>

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Co-authored-by: Petr Štetiar <ynezz@true.cz>
2022-08-25 22:22:58 +08:00
lean
c5fdfb9edb rockchip: add sdhi pinctrl for nanopi5 2022-08-25 02:10:35 +08:00
benihi
cd264e8258
ipq807x: fixes build error and refresh 5.10 patches (#9991)
adjusted:
target/linux/ipq807x/patches-5.10/125-ipq8074-gcc-Added-support-for-NSS-clocks.patch
https://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/clk/qcom/gcc-ipq8074.c?h=v5.10.137&id=b28ebe7d2f10e5ca574be3d4188a744674e8e0d5
https://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/clk/qcom/gcc-ipq8074.c?h=v5.10.137&id=e2330494f0f8f168ae5bd17df01cb61363593c46

removed:
target/linux/ipq807x/patches-5.10/128-qcom-clk-ipq8074-fix-port-6-clock-issue-for-1G.patch
target/linux/ipq807x/patches-5.10/129-clk-qcom-ipq8074-Add-NSS-PORT-clocks-frequencies.patch
target/linux/ipq807x/patches-5.10/130-clk-qcom-ipq8074-change-freq-table-for-port5_tx_clk_.patch
https://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/clk/qcom/gcc-ipq8074.c?h=v5.10.137&id=b83af7b4ec1d1c54de7d7115c9e0b4c3d60fdc47

Signed-off-by: José Hwong <josehwong@hotmail.com>

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-08-24 19:45:26 +08:00
lovehackintosh
8943750549
kernel: bump 5.10 to 5.10.137 (#9990)
All other patches automagically rebased.

Signed-off-by: Petr Štetiar <ynezz@true.cz>

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Co-authored-by: Petr Štetiar <ynezz@true.cz>
2022-08-24 13:20:32 +08:00
Christian Marangi
b42a41acbe ipq806x: add missing scaling_available_frequencies for dedicated cpufreq
Add missing scaling_available_frequencies sysfs entry for dedicated
cpufreq driver.
This sysfs entry is not standard and each cpufreq driver needs to
provide it and declare it in the cpufreq driver struct attr.

Fixes: 5dbbefcbccc0 ("ipq806x: introduce dedicated krait cpufreq")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-08-23 10:27:01 +08:00
aakkll
a36ce8009b
kernel: bump 5.19 to 5.19.3 (#9983)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-08-22 18:40:03 +08:00
QiuSimons
1d5b6faacf
cleanup: Remove upstreamed patch (#9982) 2022-08-22 15:15:09 +08:00
AmadeusGhost
89cea59694 rockchip: drop all ugly phy hack code
These junk code breaks other phy drivers, just remove it.
2022-08-21 15:18:14 +08:00