Commit Graph

1049 Commits

Author SHA1 Message Date
coolsnowwolf
74aa05a408 kernel: bump 6.1 to 6.1.130 2025-03-13 12:57:08 +08:00
coolsnowwolf
75f99ed4fd kernel: bump 6.6 to 6.6.82 2025-03-13 12:39:59 +08:00
Ahmed Naseef
c65c2ad5b0 kernel: usbnet: Restore usb%d naming
Prior to commit 8a7d12d674,
cdc-ethernet USB LTE modems (e.g. Quectel EC200A) were consistently named
usb0. After 8a7d12d67, devices began renaming to eth1 due to an assumption
that local MAC addresses originate exclusively from the kernel. Some
devices provide driver-assigned local MACs, causing point-to-point
interfaces with driver-set MACs to adopt eth%d names instead of usb%d.

Restore the naming exception for point-to-point devices: interfaces
without driver MACs or with driver-provided local MACs will retain the
usb%d convention. This addresses issues reported in [1] and fixed in [2].

[1] https://lore.kernel.org/all/Z00udyMgW6XnAw6h@atmark-techno.com/
[2] https://lore.kernel.org/all/20241203130457.904325-1-asmadeus@codewreck.org/

Tested-by: Ahmed Naseef <naseefkm@gmail.com>
Signed-off-by: Ahmed Naseef <naseefkm@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-03-06 23:08:30 +08:00
coolsnowwolf
8311a3f316 generic: add more switch port link speed nested attributes 2025-02-17 16:59:22 +08:00
Felix Fietkau
81419528c1 kernel: backport MHI patch required by an upcoming mac80211 update
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-02-16 16:22:39 +08:00
Mieczyslaw Nalewaj
8730dc18a4 kernel: rtl8367: detect rtl8367d chip family
Detect the RTL8367D chip family and set the appropriate extif

Co-authored-by: Serge Vasilugin <vasilugin@yandex.ru>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-02-14 20:26:16 +08:00
Luiz Angelo Daros de Luca
0263cb3835 kernel: netdevices: add realtek DSA modules
Uses upstream DSA switch modules (rtl8365mb, rtl8366), similar to
RTL8367C and rtl8366rb swconfig drivers.

The package dependencies exclude targets built without kernel CONFIG_OF.

It also fixes the rtl8366rb LED support.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-14 20:10:08 +08:00
Christian Marangi
d5b41ff34f generic: move Qcom SNAND driver to backports
Add patch to fix Qcom SNAND driver and move the SNAND patches to
backports directory as they are shared between qualcommax and qualcommbe
target.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-09 17:00:16 +08:00
Daniel Golle
8858bea842 generic: net: phy: realtek: various improvements
Follow the advise of Russell King allows to greatly improve the driver
for RealTek's 1G and 2.5G Ethernet PHYs. The results are full/half
duplex as well as Gbit master/slave property being read from PHY
Specific Status Register (PHYSR), and fixes regarding link-partner
advertisement.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-02-05 18:30:03 +08:00
Daniel Golle
3b3ed936ec generic: net: phy: mxl-gpy: add support for PHY LEDs
Add driver support for PHY LEDs for MaxLinear/Intel GPY Ethernet PHYs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-02-03 23:02:26 +08:00
Daniel Golle
5c7361ebdc generic: net: phy: intel-way: add support for PHY LEDs
Add driver support for PHY LEDs for MaxLinear/Intel/Lantiq XWAY
Ethernet PHYs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-02-03 23:00:09 +08:00
Daniel Golle
82a54c3179 generic: net: phy: use all SerDes MAC interface modes
Instead of forcing 2.5G PHYs into rate-adapter mode which results higher
energy consumption, lack of support for half-duplex modes and typically
worse performance when linked at speeds less than 2.5G, use SGMII mode
which allows the MAC to follow the PHY speed.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-02-02 23:40:02 +08:00
coolsnowwolf
a6b29fbae9 generic: fix linux 6.12 build 2025-01-24 23:00:16 +08:00
coolsnowwolf
89624f51bc kernel: bump 6.12 to 6.12.10 2025-01-23 02:43:23 +08:00
coolsnowwolf
d2bbf8b912 generic: add missing kconfig 2025-01-14 22:20:28 +08:00
Christian Marangi
eda8bc8395 generic: backport BLOCK OF support patch
Backport BLOCK OF support patch merged upstream and refresh pending
BLOCK patches.

This is a new way to declare partition table for BLOCK device (eMMC
currently supported) with the use of DTS.

Current pending patch are adapted to not cause regression with current
downstream implementation of a similar functionality.

Also enable the new OF_PARTITION config by default.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-01-10 20:30:02 +08:00
Beginner
1fcb93df27
kernel: bump 6.6 to 6.6.67 (#13239) 2024-12-27 15:01:04 +08:00
Beginner
abac351b33
kernel: refresh 6.1 patches (#13240) 2024-12-27 10:30:06 +08:00
Beginner
6d2364bf77
kernel: refresh 6.12 patches (#13238) 2024-12-27 10:00:36 +08:00
David Bauer
aeac24fb69 net: phy: broadcom: update dependency condition
The broadcom PHY driver only has to depend upon PTP_1588_CLOCK_OPTIONAL
if NETWORK_PHY_TIMESTAMPING is enabled. The PTP functionality is stubbed
in this case.

Reflect this circumstance in the dependence condition. This allows to
build the driver as a built-in module even if PTP is built as a module.

This is required to include the broadcom PHY module regardless of the
built-setting of the PTP subsystem. On ath79 (and probably more)
targets with Broadcom PHY, Gigabit operation is currently broken as the
PHY driver is only built as a module in case all kernel-packages are
built. Due to this circumstance, affected devices fall back to using the
generic PHY driver.

Signed-off-by: David Bauer <mail@david-bauer.net>
2024-12-25 22:01:02 +08:00
Marco von Rosenberg
b20c1bceba generic: fix BCM54612E ethernet backport patch
This backport patch inserted suspend/resume callbacks
for the wrong PHY driver.

Signed-off-by: Marco von Rosenberg <marcovr@selfnet.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-12-24 22:36:03 +08:00
coolsnowwolf
7953c94b31 kernel: kstrtox: revert strtobool() in linux 6.12 2024-12-23 13:39:14 +08:00
aiamadeus
47cfbf7d9b generic: add missing kconfig for kernel 6.x 2024-12-21 23:00:29 +08:00
coolsnowwolf
d5fc5fc430 kernel: bump 5.15 to 5.15.174 2024-12-18 22:11:53 +08:00
coolsnowwolf
cab2ab7d58 kernel: bump 5.10 to 5.10.231 2024-12-18 13:06:41 +08:00
coolsnowwolf
927e1b695c generic: 6.12: fixes broken patches 2024-12-17 21:36:05 +08:00
Beginner
23d466fba0
kernel: bump 6.6 to 6.6.66 (#13214) 2024-12-16 20:30:22 +08:00
Beginner
b7305e23ef
kernel: bump 6.1 to 6.1.120 (#13215) 2024-12-16 16:00:10 +08:00
Beginner
4fb48d3e6f
kernel: bump 6.12 to 6.12.5 (#13216) 2024-12-16 10:00:16 +08:00
Bohdan Chubuk
d6318bba0f generic: mtd: spinand: add support for F35SQA001G
Add support for FORESEE F35SQA001G SPI NAND.

Similar to F35SQA002G, but differs in capacity.
Datasheet:
  -  https://cdn.ozdisan.com/ETicaret_Dosya/704795_871495.pdf

Tested on Xiaomi AX3000T flashed with OpenWRT.

Signed-off-by: Bohdan Chubuk <chbgdn@gmail.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-12-14 22:40:08 +08:00
Bohdan Chubuk
79545017e8 generic: mtd: spinand: add support for F35SQA002G
Add support for FORESEE F35SQA002G SPI NAND.
Datasheet:
  https://www.longsys.com/uploads/LM-00006FORESEEF35SQA002GDatasheet_1650183701.pdf

Refresh all affected patch with make target/linux/refresh.

Signed-off-by: Bohdan Chubuk <chbgdn@gmail.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-12-14 22:35:30 +08:00
Beginner
da0bc37b19
kernel: bump 6.6 to 6.6.64 (#13195) 2024-12-10 10:10:12 +08:00
Beginner
e66ffaf37c
kernel: bump 6.1 to 6.1.119 (#13185) 2024-12-08 16:01:09 +08:00
Beginner
fd9b9cc78b
kernel: refresh 6.6 patches (#13179) 2024-12-07 15:13:57 +08:00
Beginner
d83ce75e31
kernel: refresh 6.12 patches (#13178) 2024-12-07 10:56:20 +08:00
Daniel Golle
efce6b6392 generic: 6.6: update block nvmem patchset
While discussions are still ongoing, update the block NVMEM provider
patchset to the level submitted upstream to allow testing and validation.

Link: https://patchwork.kernel.org/project/linux-block/list/?series=875202
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-11-27 22:01:05 +08:00
Álvaro Fernández Rojas
446d071896 generic: backport upstream r8169 patches
These patches have been added in linux v6.12 release.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-11-27 21:40:20 +08:00
coolsnowwolf
fd656efbc3 kernel: bump 6.6 to 6.6.63 2024-11-23 00:31:00 +08:00
coolsnowwolf
85d99596b4 generic: fix netfilter xtables NFLOG and MARK not load on IPv4 on linux 6.6 2024-11-22 23:57:01 +08:00
coolsnowwolf
53e61ac527 kernel: add linux kernel 6.12 support 2024-11-21 13:16:25 +08:00
coolsnowwolf
418c887452 generic: sync genlmsg_mcast patch with upstream with kernel 6.6.59+ 2024-11-21 12:10:10 +08:00
coolsnowwolf
b743ccd20c kernel: bump 5.15 to 5.15.173 2024-11-18 15:13:42 +08:00
coolsnowwolf
bdc94f7fd2 kernel: bump 6.1 to 6.1.117 2024-11-18 00:31:56 +08:00
coolsnowwolf
20b3f20e53 kernel: bump 6.6 to 6.6.61 2024-11-17 23:23:59 +08:00
John Audia
44a23972ec kernel: bump 6.6 to 6.6.60
All other patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Nick Hainke <vincent@systemli.org>
2024-11-15 16:40:05 +08:00
Beginner
eba03073ab kernel: bump 6.6 to 6.6.59 2024-11-15 16:18:19 +08:00
Daniel Golle
4078885193 generic: backport pending driver for Winchip CH348 USB
Import patch and package kernel module for Winchip CH348
USB-to-8x-UART chip.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-11-02 22:00:28 +08:00
Daniel Golle
897572506f generic: phy: aquantia: correctly describe LED polarity
Backport newly introduced support for 'active-high' property and use
it to correctly implement polarity assignment for Aquantia PHY LEDs.
Previously the 'active-low' property was used to switch a LED PIN to
active-high ("drive VDD" in Aquantia-speak) mode.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-11-01 13:00:09 +08:00
Robert Marko
e5c20ddcd0 generic: add fix for AQR113 PMD Global Transmit Disable bit
PMD Global Transmit Disable bit should be cleared for normal operation.
This should be HW default, however I found that on Asus RT-AX89X that uses
AQR113C PHY and firmware 5.4 this bit is set by default.

With this bit set the AQR cannot achieve a link with its link-partner and
it took me multiple hours of digging through the vendor GPL source to find
this out, so lets always clear this bit during .config_init() to avoid a
situation like this in the future.

aqr107_wait_processor_intensive_op() is moved up because datasheet notes
that any changes to this bit are processor intensive.

This is a modified version of patch that got merged upstream as AQR113C
has a separate config_init() upstream.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-11-01 12:38:20 +08:00
coolsnowwolf
f3d6035d78 kernel: bump 5.10 to 5.10.221 2024-10-31 16:53:49 +08:00