Commit Graph

2245 Commits

Author SHA1 Message Date
lean
34ac92f6cc ipq40xx: switch to kernel 5.10 2023-09-09 23:36:45 +08:00
lean
61d090cddb mediatek: fix build with glinet gl mt6000 2023-09-09 22:41:52 +08:00
lean
77abd0b975 filogic: add support for GL.iNet GL-MT6000 support 2023-09-08 16:33:49 +08:00
aakkll
e4838f140b
kernel: bump 6.1 to 6.1.52 (#11517)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2023-09-07 10:41:42 +04:00
aakkll
198e536d15
kernel: bump to 5.4.255, 6.1.50 (#11497) 2023-08-31 15:20:11 +08:00
oct-month
1fd443d852
ip60xx: fix build issue (#11486) 2023-08-26 12:14:41 +08:00
John Audia
cfea6db248 kernel: bump 5.15 to 5.15.126
1. Disable unneeded errata Kconfig symbols
2. Update kernel

All patches automatically rebased.
Fixes: #11427, #11451, #11476

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-08-25 21:19:45 +08:00
1582130940
2f7f6cf0c4 ip60xx/ipq807x: Drop upstream patch
Already fixed in upstream kernel (5.10.191/5.15.127)
2023-08-25 21:01:03 +08:00
晓东
f676db7af3
meson: Onecloud: Fix first USB not available (#11479)
* Fix first USB not available

* Fix first USB not available

* Fix first USB not available
2023-08-23 19:10:10 +08:00
晓东
aa7601b13f
meson: add 5.15 kernel support (#11477) 2023-08-23 15:16:23 +08:00
aakkll
38595344c2
kernel: bump to 5.4.254, 6.1.46 (#11460) 2023-08-18 21:08:34 +08:00
aakkll
8069a49467
kernel: bump to 5.4.253, 6.1.45 (#11455)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2023-08-15 22:23:26 +08:00
晓东
4e7c56f9f3
Support emmc for Thunder OneCloud (#11453) 2023-08-15 14:32:55 +08:00
aakkll
3441bc5588
kernel: bump 5.4 to 5.4.252 (#11436) 2023-08-09 16:25:17 +08:00
aakkll
5f9a1cae43
kernel: bump 6.1 to 6.1.44 (#11435) 2023-08-09 10:03:13 +08:00
aakkll
3882194f9f
kernel: bump 6.1 to 6.1.43 (#11423) 2023-08-03 20:35:26 +08:00
aiamadeus
2abe7192ff generic: add more usb modem support 2023-07-31 22:06:00 +08:00
aakkll
e7e8eb963f
kernel: bump 6.1 to 6.1.42 (#11410) 2023-07-28 08:10:44 +00:00
aakkll
b828e123c6
kernel: bump to 5.4.249, 6.1.40 (#11404)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2023-07-26 22:25:00 +08:00
aiamadeus
266036e667 rockchip: add h68k/h69k hardware v3 support 2023-07-24 21:38:29 +08:00
Testeera
279cda2a4c
kernel: bump 6.1 to 6.1.39 (#11396)
Link: https://lore.kernel.org/r/20230716194923.861634455@linuxfoundation.org
Link: https://lore.kernel.org/r/20230717185609.886113843@linuxfoundation.org
Link: https://lore.kernel.org/r/20230717201547.359923764@linuxfoundation.org

Signed-off-by: Marty Jones <mj8263788@gmail.com>
Co-authored-by: Marty Jones <mj8263788@gmail.com>
2023-07-20 15:50:19 +08:00
coolsnowwolf
dff0d3553d rockchip: add wireless support for LYT T68M 2023-07-18 15:49:54 +08:00
coolsnowwolf
2bacbb31a5 uboot-rockchip: fix Panther x2 uboot name 2023-07-16 17:59:04 +08:00
Daniel Golle
e7d391d0ba kernel: add two missing symbols in 6.1
Two more new symbols were discovered when building mediatek targets
with CONFIG_ALL_KMODS=y.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-07-15 23:52:02 +08:00
Lollipop907
99ef55e814
rockchip: Add support for Codinge Xiaobao NAS-I (#11383) 2023-07-13 09:22:46 +08:00
雷耀
f6bb67f147
rockchip: add new device panther x2 (#11380)
* uboot-rockchip: fix rk3566 support

* rockchip: add support for Panther X2
2023-07-12 13:17:28 +08:00
John Audia
df978f7dd1 kernel: add CONFIG_LOCK_MM_AND_FIND_VMA
6.1.37 introduces a new symbol[1]

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/x86/Kconfig?id=v6.1.37&id2=v6.1.36

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-07-10 22:28:00 +08:00
lean
710fec8fc4 kernel: fix 5.15 outdated patche 2023-07-08 21:10:01 +08:00
lunatickochiya
5a0e9d95e4 generic: 6.1: drop outdated patches 2023-07-08 18:19:16 +08:00
lean
61e557fee9 kernel: bump 5.15 to 5.15.120 2023-07-08 15:58:52 +08:00
coolsnowwolf
663be7c70c mediatek: add CETRON CT3003 support 2023-07-05 19:34:20 +08:00
Stalker
8d2d9dd648
add missing ssb and bcma (#11343)
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2023-07-03 17:12:47 +08:00
anjue39
642003629f
bcm53xx: 5.4: add missing kconfig (#11341) 2023-07-03 00:54:25 +00:00
anjue39
cf9e26af8e
bcm53xx: add missing kconfig (#11340)
fix crypto/sha1-arm.ko' is missing
2023-07-02 15:26:38 +08:00
coolsnowwolf
a14bb92a80 mediatek: add JCG Q30 (Pro) support 2023-06-30 12:02:12 +08:00
AmadeusGhost
e00aa77d0e rockchip: add support for LYT T68M 2023-06-29 22:01:08 +08:00
AmadeusGhost
fa7f6dd960 rtl8211f: add LED configuration from OF 2023-06-29 21:57:57 +08:00
AmadeusGhost
654f7ab462 mediatek: add H3C Magic NX30 Pro support 2023-06-27 23:08:57 +08:00
AmadeusGhost
defd518694 mediatek: add Xiaomi WR30U support 2023-06-27 23:05:18 +08:00
AmadeusGhost
5f59c3dea6 mediatek: add Qihoo 360T7 support 2023-06-27 23:03:09 +08:00
AmadeusGhost
c22e0ea323 generic: fixes 6.1 nf-flow support with fw3
Fixes: #11325
2023-06-26 22:13:26 +08:00
AmadeusGhost
e7bd136138 mediate: filogic: sync upstream dts changes 2023-06-26 22:02:36 +08:00
coolsnowwolf
398eece1d6 generic: sync 6.1 patches from official source
Closed: #11208
2023-06-25 20:38:37 +08:00
Yangyu Chen
981c497ae4 net: phy: realtek: add led-link-select for RTL8221
RTL8221B PHYs will select the different speeds for 3 LEDs to 10M/100M/1G
respectively by default. Some devices like TP-LINK TL-XDR6088/TL-XDR6086
have only one LED connects to the PHY chip LED0. If we didn't change the
default settings, the LED will only blink at 10M speed.

This patch allows configuring LED link select bitmask from DT. And it
has been tested with TP-Link XDR6088 with different DT configurations.

Signed-off-by: Yangyu Chen <cyy@cyyself.name>
2023-06-24 23:00:05 +08:00
Daniel Golle
8d33a61407 mediatek: no longer hard-code WAN PHY of Netgear WAX206
The RealTek 2.5G PHY providing the WAN port of the Netgear WAX206 has
previously been hard-coded in the device tree. Now that the PHY can be
probed correctly also via Clause-45 MDIO, use that instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-06-23 23:28:14 +08:00
Daniel Golle
697ea1d8fc generic: net: phy: realtek: detect early version of RTL8221B
Early versions (?) of the RTL8221B PHY cannot be identified in a regular
Clause-45 bus scan as the PHY doesn't report the implemented MMDs
correctly but returns 0 instead.
Implement custom identify function using the PKGID instead of iterating
over the implemented MMDs to work-around this problem.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-06-23 23:27:14 +08:00
Daniel Golle
e0fd382892 kernel: net: phy: realtek: fix NULL pointer dereference
The previous attempt to replace an open coded paged read in the RealTek
Ethernet PHY driver was too naive and resulted in breaking the r8169
PCIe Ethernet driver which also makes use of the RealTek Ethernet PHY
driver.
Fix this by instead of using the (not yet populated) paged operations
rather use rtl821x_write_page and protect the whole paged read operation
using the MDIO bus mutex.

Fixes: 998b973157 ("kernel: net: phy: realtek: improve RealTek 2.5G PHY driver")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-06-23 23:26:18 +08:00
Daniel Golle
664b181256 kernel: net: phy: realtek: improve RealTek 2.5G PHY driver
* use interface mode switching only when operating in C45 mode
   Linux prevents switching the interface mode when using C22 MDIO,
   hence use rate-adapter mode in case the PHY controlled via C22.

 * use phy_read_paged where appropriate

 * use existing generic inline functions to handle 10GbE advertisements
   instead of redundantly defining register macros in realtek.c which
   are not actually vendor-specific.

 * make sure 10GbE advertisement is valid, preventing false-positive
   warning "Downshift occurred from negotiated speed 2.5Gbps to actual
   speed 1Gbps, check cabling!" with some link-partners using 1G mode.

 * Support Link Down Power Saving Mode (ALDPS)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-06-23 23:25:18 +08:00
Daniel Golle
06158f1c7a generic: disable SGMII in-band AN for RealTek 2.5G PHYs
MAC drivers don't use SGMII in-band autonegotiation unless told to do so
in device tree using 'managed = "in-band-status"'. When using MDIO to
access a PHY, in-band-status is unneeded as we have link-status via
MDIO. Switch off SGMII in-band autonegotiation using magic values.

Reported-by: Chen Minqiang <ptpt52@gmail.com>
Reported-by: Yevhen Kolomeiko <jarvis2709@gmail.com>
Tested-by: Yevhen Kolomeiko <jarvis2709@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-06-23 23:24:18 +08:00
Daniel Golle
b238fdb0b6 generic: use genphy_soft_reset for RealTek 2.5G PHYs
Some vendor bootloaders do weird things with those PHYs which result in
link modes being reported wrongly. Start from a clean sheet by resetting
the PHY.

Reported-by: Yevhen Kolomeiko <jarvis2709@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-06-23 23:23:20 +08:00