Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rockchip: Add support for Codinge Xiaobao NAS-I #11383

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

Lollipop907
Copy link
Contributor

Q:你知道这是pull request吗?(使用 "x" 选择)

  • 我知道
    Specifications:
    SoC: RockChip RK3399
    RAM: 4GB LPDDR3
    Storage: 8MB SPI Flash + Reserved EMMC land + TF Card slot
    Ethernet: 1x 1000M/100M/10M ports
    USB:1xUSB2.0 1xUSB3.0 1xType-C
    Video Output:1x HDMI
    SATA: 5x SATA ports (Transferred by JMB585)

@coolsnowwolf coolsnowwolf merged commit 99ef55e into coolsnowwolf:master Jul 13, 2023
@Lollipop907 Lollipop907 deleted the xiaobaonas1 branch July 13, 2023 01:43
github-actions bot added a commit to liyufan/lede that referenced this pull request Jul 13, 2023
xayane added a commit to xayane/openwrt that referenced this pull request Jul 13, 2023
commit 99ef55e
Author: Lollipop907 <34392880+Lollipop907@users.noreply.github.com>
Date:   Thu Jul 13 09:22:46 2023 +0800

    rockchip: Add support for Codinge Xiaobao NAS-I (coolsnowwolf#11383)

commit f6bb67f
Author: 雷耀 <tdleiyao@gmail.com>
Date:   Wed Jul 12 13:17:28 2023 +0800

    rockchip: add new device panther x2 (coolsnowwolf#11380)

    * uboot-rockchip: fix rk3566 support

    * rockchip: add support for Panther X2

commit 761b79a
Author: John Thomson <git@johnthomson.fastmail.com.au>
Date:   Sat Jul 1 10:23:35 2023 +1000

    kernel: fix KernelPackage when all KCONFIG are versioned

    If a kernel package was defined where all KCONFIG symbols were dynamic,
    and versioned, no FILES would be installed, as the foreach evaluation was
    providing the value of the variable defined by the KCONFIG symbol name
    including the version test

    Fix this by calling the version_filter function on the list of KCONFIG
    variable names run through by foreach

    Example, kernel 6.1:
    KCONFIG:=CONFIG_OLD@lt6.1 CONFIG_NEW@ge6.1
    filter-out any KCONFIG settings forced by package:
    CONFIG_OLD@lt6.1 CONFIG_NEW@ge6.1
    there are dynamic settings, so for each of them,
    get the value of the make variable defined by symbol name:
        CONFIG_OLD@lt6.1 is not set
        CONFIG_NEW@ge6.1 is not set
      versus
        CONFIG_OLD is not set
        CONFIG_NEW=m
    test if any of these are m, or y
    if yes, install files, otherwise, nothing to install

    Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>

commit 472c17a
Author: Mathew McBride <matt@traverse.com.au>
Date:   Tue Jun 27 01:23:40 2023 +0000

    linux-firmware: ibt-firmware: install sfi/ddc files for AX210 card

    When using an Intel AX210 card, the Bluetooth hci interface failed
    to start due to a missing "ibt-0041-0041.sfi" file.

    Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-0041-0041.sfi (-2)

    A device specific configuration file (DDC) is also required:
    Bluetooth: hci0: Found device firmware: intel/ibt-0041-0041.sfi
    Bluetooth: hci0: Waiting for firmware download to complete
    ...
    Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-0041-0041.ddc
    Bluetooth: hci0: Applying Intel DDC parameters completed
    Bluetooth: hci0: Firmware timestamp 2023.13 buildtype 1 build 62562

    Signed-off-by: Mathew McBride <matt@traverse.com.au>

commit 92265ca
Author: John Audia <therealgraysky@proton.me>
Date:   Wed Jun 28 06:20:03 2023 -0400

    kernel: modules: fs: adapt for kernel 6.1.36

    Acknowledgment to john-tho for the changes to fs.mk to accommodate new paths
    introduced in gregkh/linux@29429a1

    Fixes: coolsnowwolf#11375
    Signed-off-by: John Audia <therealgraysky@proton.me>

commit df978f7
Author: John Audia <therealgraysky@proton.me>
Date:   Mon Jul 3 05:31:33 2023 -0400

    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>

commit 710fec8
Author: lean <coolsnowwolf@gmail.com>
Date:   Sat Jul 8 21:10:01 2023 +0800

    kernel: fix 5.15 outdated patche

commit 5a0e9d9
Author: lunatickochiya <55731491+lunatickochiya@users.noreply.github.com>
Date:   Sat Jul 8 18:05:18 2023 +0800

    generic: 6.1: drop outdated patches

commit 61e557f
Author: lean <coolsnowwolf@gmail.com>
Date:   Sat Jul 8 15:58:52 2023 +0800

    kernel: bump 5.15 to 5.15.120

commit 56a0d2a
Author: lean <coolsnowwolf@gmail.com>
Date:   Sat Jul 8 15:56:38 2023 +0800

    kernel: bump 6.1 to 6.1.38

commit bafee3f
Author: coolsnowwolf <coolsnowwolf@gmail.com>
Date:   Fri Jul 7 00:19:58 2023 +0800

    mt76: enable wed wireless acc for filogic target by default

commit b201c29
Author: coolsnowwolf <coolsnowwolf@gmail.com>
Date:   Fri Jul 7 00:18:40 2023 +0800

    Version bumpt to R23.7.7

commit 663be7c
Author: coolsnowwolf <coolsnowwolf@gmail.com>
Date:   Wed Jul 5 19:34:20 2023 +0800

    mediatek: add CETRON CT3003 support

commit 9191c4b
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Tue Jun 13 23:36:04 2023 +0800

    r8101: update to version 1.038.02

commit 9c0329a
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Wed Jun 14 23:01:25 2023 +0800

    rtw88-usb: bump to latest git HEAD

    Fixes: coolsnowwolf#11331

commit 8d2d9dd
Author: Stalker <32566723+xiangfeidexiaohuo@users.noreply.github.com>
Date:   Mon Jul 3 17:12:47 2023 +0800

    add missing ssb and bcma (coolsnowwolf#11343)

    Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>

commit 99c73da
Author: 汐音柠柠 <35611650+LemoFire@users.noreply.github.com>
Date:   Mon Jul 3 17:11:01 2023 +0800

    add python3-setuptools (coolsnowwolf#11345)

commit 6420036
Author: anjue39 <98279987+anjue39@users.noreply.github.com>
Date:   Mon Jul 3 08:54:25 2023 +0800

    bcm53xx: 5.4: add missing kconfig (coolsnowwolf#11341)

commit cf9e26a
Author: anjue39 <98279987+anjue39@users.noreply.github.com>
Date:   Sun Jul 2 15:26:38 2023 +0800

    bcm53xx: add missing kconfig (coolsnowwolf#11340)

    fix crypto/sha1-arm.ko' is missing

commit a14bb92
Author: coolsnowwolf <coolsnowwolf@gmail.com>
Date:   Fri Jun 30 12:02:12 2023 +0800

    mediatek: add JCG Q30 (Pro) support

commit e00aa77
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Tue May 30 23:20:21 2023 +0800

    rockchip: add support for LYT T68M

commit fa7f6dd
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Mon May 29 23:03:06 2023 +0800

    rtl8211f: add LED configuration from OF

commit effbf66
Author: Jitao Lu <dianlujitao@gmail.com>
Date:   Wed Jun 14 17:25:03 2023 +0800

    openssl: passing cflags to configure

    openssl sets additional cflags in its configuration script. We need to
    make it aware of our custom cflags to avoid adding conflicting cflags.

    Signed-off-by: Jitao Lu <dianlujitao@gmail.com>

commit 654f7ab
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Fri May 26 23:15:01 2023 +0800

    mediatek: add H3C Magic NX30 Pro support

commit defd518
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Thu May 18 23:08:05 2023 +0800

    mediatek: add Xiaomi WR30U support

commit 5f59c3d
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Mon May 15 23:01:36 2023 +0800

    mediatek: add Qihoo 360T7 support

commit c22e0ea
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Sun Jun 11 23:02:40 2023 +0800

    generic: fixes 6.1 nf-flow support with fw3

    Fixes: coolsnowwolf#11325

commit e7bd136
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Wed May 10 23:19:07 2023 +0800

    mediate: filogic: sync upstream dts changes

commit 3e35e07
Author: Christian Marangi <ansuelsmth@gmail.com>
Date:   Fri Jun 23 17:44:10 2023 +0200

    netfilter: fix typo in nf-socket and nf-tproxy kconfig

    Fix a typo where the wrong KCONFIG was used and fix selecting the
    correct kernel config option to use these packages.

    Fixes: 4f443c8 ("netfilter: separate packages for kmod-ipt-socket and kmod-ipt-tproxy")
    Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>

commit 398eece
Author: coolsnowwolf <coolsnowwolf@gmail.com>
Date:   Thu May 25 20:19:18 2023 +0800

    generic: sync 6.1 patches from official source

    Closed: coolsnowwolf#11208

commit 3ef1f5a
Author: sKyissKy <szhynet@gmail.com>
Date:   Sat Jun 24 23:10:36 2023 +0800

    kernel: add MultiPath TCP kernel config & module (coolsnowwolf#11298)

commit 981c497
Author: Yangyu Chen <cyy@cyyself.name>
Date:   Sun Apr 23 20:27:17 2023 +0800

    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>

commit 21364ce
Author: Florian Eckert <fe@dev.tdt.de>
Date:   Tue Feb 2 11:26:28 2021 +0100

    base-files: change logging for upgrade on stage2

    Remove vn call in favour of v call. This commit serves as preparation
    for removing the vn function call.

    Signed-off-by: Florian Eckert <fe@dev.tdt.de>

commit c735c19
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Tue May 16 01:03:56 2023 +0200

    mac80211: fix mt7601u firmware path and refresh patches

    Import patch fixing the updated firmware path of mt7601u.bin.
    Refresh patches while at it.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 8d33a61
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sun Apr 30 04:01:12 2023 +0100

    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>

commit 697ea1d
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sun Apr 30 03:59:55 2023 +0100

    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>

commit e0fd382
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sun Apr 23 18:46:02 2023 +0100

    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: 998b973 ("kernel: net: phy: realtek: improve RealTek 2.5G PHY driver")
    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 664b181
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Apr 22 01:52:04 2023 +0100

    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>

commit 06158f1
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Apr 3 01:21:57 2023 +0300

    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>

commit b238fdb
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Apr 3 01:20:28 2023 +0300

    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>

commit bf62add
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Tue May 23 02:14:32 2023 +0100

    mediatek: mt7981: setup all clocks needed for eMMC

    Setup all necessary clocks to get MMC to work on MT7981, similar to
    how it is done also on MT7986.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 1edf909
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Thu Apr 20 18:34:47 2023 +0100

    mediatek: update patch add PWM support for MT7981

    Update patch with version submitted upstream.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 911a5f6
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Mar 11 03:56:35 2023 +0000

    mediatek: add support for the GL.iNet GL-MT3000

    The MT-3000 is a pocket-sized Wi-Fi 6 router based on MediaTek MT7981.

    Specification:
     - SoC: MediaTek MT7981B
     - CPU: 2x 1.3 GHz Cortex-A53
     - Flash: 256 MiB Macronix SPI NAND
     - RAM: 512 MiB Nanya DDR4
     - WLAN: 2.4 GHz, 5 GHz (MediaTek MT7976CN)
     - Ethernet:
        - 1x 10/100/1000 Mbps built-in PHY (LAN)
        - 1x 10/100/1000/2500 Mbps MaxLinear GPY211 PHY (WAN)
     - USB 3.0 port
     - Buttons: 1 button, 1 switch
     - LEDs: 1x light-blue, 1x warm-white
     - Serial console: internal 4-pin header, 115200 8n1
     - PWM controlled fan with tacho
     - Power: 5 VDC, 3 A (USB Type-C)

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 4efcefe
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Tue May 9 02:13:59 2023 +0200

    generic: mtk_eth_soc: don't crash if WO firmware is missing

    Import patch to prevent crashes in case WO firmware is missing on devices
    with only a single frontend (eg. MT7981+MT7976).

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit e59909d
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Wed Apr 19 19:47:40 2023 +0100

    generic: add support for wireless offloading on MT7981

    Load appropriate firmware for wireless offloading on MT7981.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 4df739d
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Thu Apr 13 05:03:03 2023 +0100

    mediatek: sync pinctrl-mt7981 and pinctrl-mt7986 drivers

    Now that new pinconf features have been backported sync pinctrl-mt7981
    and pinctrl-m7986 with bleeding-edge upstream versions.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 8522798
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Thu Apr 13 05:01:30 2023 +0100

    mediatek: backport new pinctrl features

    Backport new features for MediaTek pinctrl/pinconf drivers from upstream.
    This will serve as the base to improve pinconf bias/pull-up/pull-down on
    MT7981 and MT7986, and also prepare for upcoming support for MT7988.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit a142932
Author: Felix Fietkau <nbd@nbd.name>
Date:   Sat Apr 1 09:07:22 2023 +0200

    kernel: fix mtk_eth_soc flow accounting for MT7986

    This was accidentally dropped when MT7981 support was added

    Signed-off-by: Felix Fietkau <nbd@nbd.name>

commit 17f02fb
Author: Felix Fietkau <nbd@nbd.name>
Date:   Wed Mar 29 11:38:30 2023 +0200

    kernel: fix mtk_eth_soc throughput regressions on gigabit PHY ports

    Fixes issues on MT7621 and MT7623 switch ports, and PHY ports on all SoC

    Signed-off-by: Felix Fietkau <nbd@nbd.name>

commit 4c48c9a
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Wed Apr 19 23:38:31 2023 +0100

    mediatek: filogic: update kernel config-5.15

    Expose thermal-zone as hwmon sensor, remove thermal emulation driver
    and add some missing symbols.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 4f04625
Author: aakkll <94471752+aakkll@users.noreply.github.com>
Date:   Sun Jun 18 01:07:34 2023 +0800

    kernel: bump to 5.4.247, 6.1.34 (coolsnowwolf#11314)

    Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

commit 357222b
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 20:05:18 2023 +0000

    mediatek: broaden filogic target description

    The filogic subtarget now also supports MT7981 and will in future
    also support MT7988. Reflect that in the target description.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 0025044
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Mar 11 03:55:52 2023 +0000

    mediatek: add device tree include for the MT7981 SoC

    Add mt7981.dtsi so we can start adding MT7981 devices.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 60f04d0
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 23:53:54 2023 +0000

    mediatek: add support for SPI calibration

    Newer MediaTek's SoCs need SPI calibration routines for SPI to work
    reliably. Import patches for that from MediaTek's SDK.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 980c3ad
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 19:57:18 2023 +0000

    mediatek: add PWM support for MT7981 SoC

    Add patch to support PWM on the MT7981 SoC.
    This patch will also be submitted to upstream Linux soon.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit d4f04f7
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 19:55:09 2023 +0000

    mediatek: add I2C for MT7981 SoC

    Add patch to support I2C on the MT7981 SoC.
    This change will also be submitted to upstream Linux soon.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 8e0a86e
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Mar 11 03:51:00 2023 +0000

    mediatek: simplify MaxLinear GPY PHY driver

    The mxl-gpy driver apparently was built in the assumption that SGMII
    auto-negotiation is always switched on at the MAC. This may be true for
    few rather recent drivers (why?), but certainly isn't for most drivers
    unless 'managed = "in-band-status"' is set in device tree. Add patch to
    the mediatek target which reduces mxl-gpy to behave more like an
    ordinary PHY driver using out-of-band status.

    This allows to use these PHYs without rate-adaptation which seems to be
    at least partially broken/racy in some revisions of the PHY and/or
    internal PHY firmware.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit c75138a
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Mar 11 17:58:12 2023 +0000

    generic: dsa: make use of pcs-mtk-lynxi also for mt7530

    The MT7531 switch IC comes with SerDes ports with PCS identical to
    what is also used in MediaTek's SoCs. Make use of the shared driver
    to ease maintainance and reduce code duplication.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit b53177e
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Mar 11 17:55:56 2023 +0000

    generic: backport regmap reg_base and downshift features

    Backport new regmap features from Linux 5.18 which are needed to let
    mt7530 use pcs-mtk-lynxi.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 120e04c
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Mar 27 18:15:13 2023 +0100

    generic: mtk_eth_soc: switch to external PCS driver

    Backport patch to make use of the new PCS driver in mtk_eth_soc.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 3903ca0
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Mar 27 18:41:54 2023 +0100

    generic: pcs-mtk-lynxi: add hack to use 2500Base-X without AN

    Using 2500Base-T SFP modules e.g. on the BananaPi R3 requires manually
    disabling auto-negotiation, e.g. using ethtool. While a proper fix
    using SFP quirks is being discussed upstream, bring a work-around to
    restore user experience to what it was before the switch to the
    dedicated SGMII PCS driver.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit bee8c8a
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Mar 27 18:14:21 2023 +0100

    generic: net: pcs: add driver for MediaTek SGMII PCS

    Backport dedicated PCS driver for MediaTek LynxI SGMII/SerDes unit.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 93e24c3
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Mar 27 17:50:54 2023 +0100

    generic: mtk_eth_soc: allow setting MDIO clock frequency

    Backport patch allowing to set the MDIO bus clock frequency.
    By default the MDIO bus clock runs on 2.5 MHz, allow increasing it
    up to 25 MHz.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 995f53f
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 19:44:52 2023 +0000

    mediatek: add support for built-in GE PHYs of newer SoCs

    MT7981 and the upcoming MT7988 have built-in Gigabit Ethernet PHYs.
    While they share some design properties with the PHYs present in
    MT753x, they do need calibration data from the SoC's efuse.

    Add driver to support them. Upstreaming it is planned, but there are
    still some ongoing discussions with MediaTek.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 83bdbba
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 19:41:51 2023 +0000

    generic: backport support for MT7981 Ethernet

    Backport support for the MT7981 SoC to mtk_eth_soc.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit d4339fd
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 19:40:37 2023 +0000

    mediatek: backport pinctrl driver for MT7981 SoC

    Backport the pinctrl driver for the MT7981 SoC. The driver has also
    been submitted upstream and is part of Linux 6.3.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 7c648c2
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 19:36:12 2023 +0000

    mediatek: backport clk driver for MT7981 SoC

    Backport driver for common clocks in MT7981 SoC. The driver has also
    been submitted upstream and became part of Linux 6.3.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 9c394de
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Mar 27 16:02:44 2023 +0100

    generic: replace mtk_sgmii patches with versions accepted upstream

    Replace patches for MediaTek Ethernet driver SGMII/SerDes unit with
    their corresponding upstream patches. Not all of the patches in our
    tree went upstream as-is, some are slightly different implementations,
    and they require the phylink_pcs helpers now made available.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 020a905
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Mar 11 03:44:41 2023 +0000

    generic: backport some phylink helper functions

    It isn't feasible to literally backport all upstream phylink_pcs changes
    down to Linux 5.15: It's just too many patches, and many downstream
    drivers and hacks are likely to break. We are too close to branching off
    to risk this, and it's also just too much work.
    Instead just add helper functions used by modern PCS drivers while keeping
    the original functions instact as well. While this may add a kilobyte or
    two of extra kernel size, it has the advantage that we get the best of both
    worlds: None of the existing codepaths are touched, but yet we have the
    option to backport singular improvements to Ethernet drivers where needed.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>
github-actions bot added a commit to ywtz1/lede that referenced this pull request Jul 13, 2023
github-actions bot added a commit to hubhike/lede that referenced this pull request Jul 13, 2023
github-actions bot added a commit to Zachery-Liu/Lede-for-H3C-NX30pro that referenced this pull request Jul 13, 2023
github-actions bot added a commit to siyuxixi/lede that referenced this pull request Jul 13, 2023
github-actions bot added a commit to Kin-Chi/lede that referenced this pull request Jul 13, 2023
github-actions bot added a commit to BCYDTZ/lede that referenced this pull request Jul 13, 2023
github-actions bot added a commit to zhuan-zhu/MyRouter that referenced this pull request Jul 13, 2023
github-actions bot added a commit to Ericality/lede that referenced this pull request Jul 13, 2023
github-actions bot pushed a commit to UtMetoo/OpenWRT_Lede that referenced this pull request Jul 13, 2023
github-actions bot added a commit to oldskooler/lede that referenced this pull request Jul 14, 2023
* https://github.com/coolsnowwolf/lede:
  linux-firmware: update to 20230625
  base-files: add minimal mmc support
  rockchip: Add support for Codinge Xiaobao NAS-I (coolsnowwolf#11383)
  rockchip: add new device panther x2 (coolsnowwolf#11380)
  kernel: fix KernelPackage when all KCONFIG are versioned
  linux-firmware: ibt-firmware: install sfi/ddc files for AX210 card
  kernel: modules: fs: adapt for kernel 6.1.36
  kernel: add CONFIG_LOCK_MM_AND_FIND_VMA
  kernel: fix 5.15 outdated patche
  generic: 6.1: drop outdated patches
  kernel: bump 5.15 to 5.15.120
  kernel: bump 6.1 to 6.1.38
yjh126yjh pushed a commit to yjh126yjh/lede that referenced this pull request Jul 15, 2023
* https://github.com/coolsnowwolf/lede:
  kernel: add two missing symbols in 6.1
  kernel: leds-ws2812b: fix build with Linux >= 5.18
  linux-firmware: update to 20230625
  base-files: add minimal mmc support
  rockchip: Add support for Codinge Xiaobao NAS-I (coolsnowwolf#11383)
  rockchip: add new device panther x2 (coolsnowwolf#11380)
  kernel: fix KernelPackage when all KCONFIG are versioned
  linux-firmware: ibt-firmware: install sfi/ddc files for AX210 card
  kernel: modules: fs: adapt for kernel 6.1.36
  kernel: add CONFIG_LOCK_MM_AND_FIND_VMA
xayane added a commit to xayane/openwrt that referenced this pull request Jul 21, 2023
commit 279cda2
Author: Testeera <135306767+Testeera@users.noreply.github.com>
Date:   Thu Jul 20 15:50:19 2023 +0800

    kernel: bump 6.1 to 6.1.39 (coolsnowwolf#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>

commit dff0d35
Author: coolsnowwolf <coolsnowwolf@gmail.com>
Date:   Tue Jul 18 15:49:54 2023 +0800

    rockchip: add wireless support for LYT T68M

commit 2bacbb3
Author: coolsnowwolf <coolsnowwolf@gmail.com>
Date:   Sun Jul 16 17:59:04 2023 +0800

    uboot-rockchip: fix Panther x2 uboot name

commit e7d391d
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Jul 8 12:33:17 2023 +0100

    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>

commit a1c87e7
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Jul 8 14:46:18 2023 +0100

    kernel: leds-ws2812b: fix build with Linux >= 5.18

    The return value of the .remove function pointer has changed from
    int to void with Linux 5.18. Use a precompiler macro to allow building
    the leds-ws2812b module with both, Linux 5.15 and Linux 6.1.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit d3e80e6
Author: John Audia <therealgraysky@proton.me>
Date:   Sun Jul 9 16:01:47 2023 -0400

    linux-firmware: update to 20230625

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

commit f6c316d
Author: Davide Fioravanti <pantanastyle@gmail.com>
Date:   Wed Sep 2 01:18:16 2020 +0200

    base-files: add minimal mmc support

    Added minimal mmc support for helper functions.

    Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
    Signed-off-by: Robert Marko <robimarko@gmail.com>
    [replace dd with caldata_dd, moved sysupgrade mmc to orbi]
    Signed-off-by: Christian Lamparter <chunkeey@gmail.com>

commit 99ef55e
Author: Lollipop907 <34392880+Lollipop907@users.noreply.github.com>
Date:   Thu Jul 13 09:22:46 2023 +0800

    rockchip: Add support for Codinge Xiaobao NAS-I (coolsnowwolf#11383)

commit f6bb67f
Author: 雷耀 <tdleiyao@gmail.com>
Date:   Wed Jul 12 13:17:28 2023 +0800

    rockchip: add new device panther x2 (coolsnowwolf#11380)

    * uboot-rockchip: fix rk3566 support

    * rockchip: add support for Panther X2

commit 761b79a
Author: John Thomson <git@johnthomson.fastmail.com.au>
Date:   Sat Jul 1 10:23:35 2023 +1000

    kernel: fix KernelPackage when all KCONFIG are versioned

    If a kernel package was defined where all KCONFIG symbols were dynamic,
    and versioned, no FILES would be installed, as the foreach evaluation was
    providing the value of the variable defined by the KCONFIG symbol name
    including the version test

    Fix this by calling the version_filter function on the list of KCONFIG
    variable names run through by foreach

    Example, kernel 6.1:
    KCONFIG:=CONFIG_OLD@lt6.1 CONFIG_NEW@ge6.1
    filter-out any KCONFIG settings forced by package:
    CONFIG_OLD@lt6.1 CONFIG_NEW@ge6.1
    there are dynamic settings, so for each of them,
    get the value of the make variable defined by symbol name:
        CONFIG_OLD@lt6.1 is not set
        CONFIG_NEW@ge6.1 is not set
      versus
        CONFIG_OLD is not set
        CONFIG_NEW=m
    test if any of these are m, or y
    if yes, install files, otherwise, nothing to install

    Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>

commit 472c17a
Author: Mathew McBride <matt@traverse.com.au>
Date:   Tue Jun 27 01:23:40 2023 +0000

    linux-firmware: ibt-firmware: install sfi/ddc files for AX210 card

    When using an Intel AX210 card, the Bluetooth hci interface failed
    to start due to a missing "ibt-0041-0041.sfi" file.

    Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-0041-0041.sfi (-2)

    A device specific configuration file (DDC) is also required:
    Bluetooth: hci0: Found device firmware: intel/ibt-0041-0041.sfi
    Bluetooth: hci0: Waiting for firmware download to complete
    ...
    Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-0041-0041.ddc
    Bluetooth: hci0: Applying Intel DDC parameters completed
    Bluetooth: hci0: Firmware timestamp 2023.13 buildtype 1 build 62562

    Signed-off-by: Mathew McBride <matt@traverse.com.au>

commit 92265ca
Author: John Audia <therealgraysky@proton.me>
Date:   Wed Jun 28 06:20:03 2023 -0400

    kernel: modules: fs: adapt for kernel 6.1.36

    Acknowledgment to john-tho for the changes to fs.mk to accommodate new paths
    introduced in gregkh/linux@29429a1

    Fixes: coolsnowwolf#11375
    Signed-off-by: John Audia <therealgraysky@proton.me>

commit df978f7
Author: John Audia <therealgraysky@proton.me>
Date:   Mon Jul 3 05:31:33 2023 -0400

    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>

commit 710fec8
Author: lean <coolsnowwolf@gmail.com>
Date:   Sat Jul 8 21:10:01 2023 +0800

    kernel: fix 5.15 outdated patche

commit 5a0e9d9
Author: lunatickochiya <55731491+lunatickochiya@users.noreply.github.com>
Date:   Sat Jul 8 18:05:18 2023 +0800

    generic: 6.1: drop outdated patches

commit 61e557f
Author: lean <coolsnowwolf@gmail.com>
Date:   Sat Jul 8 15:58:52 2023 +0800

    kernel: bump 5.15 to 5.15.120

commit 56a0d2a
Author: lean <coolsnowwolf@gmail.com>
Date:   Sat Jul 8 15:56:38 2023 +0800

    kernel: bump 6.1 to 6.1.38

commit bafee3f
Author: coolsnowwolf <coolsnowwolf@gmail.com>
Date:   Fri Jul 7 00:19:58 2023 +0800

    mt76: enable wed wireless acc for filogic target by default

commit b201c29
Author: coolsnowwolf <coolsnowwolf@gmail.com>
Date:   Fri Jul 7 00:18:40 2023 +0800

    Version bumpt to R23.7.7

commit 663be7c
Author: coolsnowwolf <coolsnowwolf@gmail.com>
Date:   Wed Jul 5 19:34:20 2023 +0800

    mediatek: add CETRON CT3003 support

commit 9191c4b
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Tue Jun 13 23:36:04 2023 +0800

    r8101: update to version 1.038.02

commit 9c0329a
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Wed Jun 14 23:01:25 2023 +0800

    rtw88-usb: bump to latest git HEAD

    Fixes: coolsnowwolf#11331

commit 8d2d9dd
Author: Stalker <32566723+xiangfeidexiaohuo@users.noreply.github.com>
Date:   Mon Jul 3 17:12:47 2023 +0800

    add missing ssb and bcma (coolsnowwolf#11343)

    Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>

commit 99c73da
Author: 汐音柠柠 <35611650+LemoFire@users.noreply.github.com>
Date:   Mon Jul 3 17:11:01 2023 +0800

    add python3-setuptools (coolsnowwolf#11345)

commit 6420036
Author: anjue39 <98279987+anjue39@users.noreply.github.com>
Date:   Mon Jul 3 08:54:25 2023 +0800

    bcm53xx: 5.4: add missing kconfig (coolsnowwolf#11341)

commit cf9e26a
Author: anjue39 <98279987+anjue39@users.noreply.github.com>
Date:   Sun Jul 2 15:26:38 2023 +0800

    bcm53xx: add missing kconfig (coolsnowwolf#11340)

    fix crypto/sha1-arm.ko' is missing

commit a14bb92
Author: coolsnowwolf <coolsnowwolf@gmail.com>
Date:   Fri Jun 30 12:02:12 2023 +0800

    mediatek: add JCG Q30 (Pro) support

commit e00aa77
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Tue May 30 23:20:21 2023 +0800

    rockchip: add support for LYT T68M

commit fa7f6dd
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Mon May 29 23:03:06 2023 +0800

    rtl8211f: add LED configuration from OF

commit effbf66
Author: Jitao Lu <dianlujitao@gmail.com>
Date:   Wed Jun 14 17:25:03 2023 +0800

    openssl: passing cflags to configure

    openssl sets additional cflags in its configuration script. We need to
    make it aware of our custom cflags to avoid adding conflicting cflags.

    Signed-off-by: Jitao Lu <dianlujitao@gmail.com>

commit 654f7ab
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Fri May 26 23:15:01 2023 +0800

    mediatek: add H3C Magic NX30 Pro support

commit defd518
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Thu May 18 23:08:05 2023 +0800

    mediatek: add Xiaomi WR30U support

commit 5f59c3d
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Mon May 15 23:01:36 2023 +0800

    mediatek: add Qihoo 360T7 support

commit c22e0ea
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Sun Jun 11 23:02:40 2023 +0800

    generic: fixes 6.1 nf-flow support with fw3

    Fixes: coolsnowwolf#11325

commit e7bd136
Author: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Date:   Wed May 10 23:19:07 2023 +0800

    mediate: filogic: sync upstream dts changes

commit 3e35e07
Author: Christian Marangi <ansuelsmth@gmail.com>
Date:   Fri Jun 23 17:44:10 2023 +0200

    netfilter: fix typo in nf-socket and nf-tproxy kconfig

    Fix a typo where the wrong KCONFIG was used and fix selecting the
    correct kernel config option to use these packages.

    Fixes: 4f443c8 ("netfilter: separate packages for kmod-ipt-socket and kmod-ipt-tproxy")
    Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>

commit 398eece
Author: coolsnowwolf <coolsnowwolf@gmail.com>
Date:   Thu May 25 20:19:18 2023 +0800

    generic: sync 6.1 patches from official source

    Closed: coolsnowwolf#11208

commit 3ef1f5a
Author: sKyissKy <szhynet@gmail.com>
Date:   Sat Jun 24 23:10:36 2023 +0800

    kernel: add MultiPath TCP kernel config & module (coolsnowwolf#11298)

commit 981c497
Author: Yangyu Chen <cyy@cyyself.name>
Date:   Sun Apr 23 20:27:17 2023 +0800

    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>

commit 21364ce
Author: Florian Eckert <fe@dev.tdt.de>
Date:   Tue Feb 2 11:26:28 2021 +0100

    base-files: change logging for upgrade on stage2

    Remove vn call in favour of v call. This commit serves as preparation
    for removing the vn function call.

    Signed-off-by: Florian Eckert <fe@dev.tdt.de>

commit c735c19
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Tue May 16 01:03:56 2023 +0200

    mac80211: fix mt7601u firmware path and refresh patches

    Import patch fixing the updated firmware path of mt7601u.bin.
    Refresh patches while at it.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 8d33a61
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sun Apr 30 04:01:12 2023 +0100

    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>

commit 697ea1d
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sun Apr 30 03:59:55 2023 +0100

    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>

commit e0fd382
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sun Apr 23 18:46:02 2023 +0100

    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: 998b973 ("kernel: net: phy: realtek: improve RealTek 2.5G PHY driver")
    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 664b181
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Apr 22 01:52:04 2023 +0100

    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>

commit 06158f1
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Apr 3 01:21:57 2023 +0300

    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>

commit b238fdb
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Apr 3 01:20:28 2023 +0300

    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>

commit bf62add
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Tue May 23 02:14:32 2023 +0100

    mediatek: mt7981: setup all clocks needed for eMMC

    Setup all necessary clocks to get MMC to work on MT7981, similar to
    how it is done also on MT7986.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 1edf909
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Thu Apr 20 18:34:47 2023 +0100

    mediatek: update patch add PWM support for MT7981

    Update patch with version submitted upstream.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 911a5f6
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Mar 11 03:56:35 2023 +0000

    mediatek: add support for the GL.iNet GL-MT3000

    The MT-3000 is a pocket-sized Wi-Fi 6 router based on MediaTek MT7981.

    Specification:
     - SoC: MediaTek MT7981B
     - CPU: 2x 1.3 GHz Cortex-A53
     - Flash: 256 MiB Macronix SPI NAND
     - RAM: 512 MiB Nanya DDR4
     - WLAN: 2.4 GHz, 5 GHz (MediaTek MT7976CN)
     - Ethernet:
        - 1x 10/100/1000 Mbps built-in PHY (LAN)
        - 1x 10/100/1000/2500 Mbps MaxLinear GPY211 PHY (WAN)
     - USB 3.0 port
     - Buttons: 1 button, 1 switch
     - LEDs: 1x light-blue, 1x warm-white
     - Serial console: internal 4-pin header, 115200 8n1
     - PWM controlled fan with tacho
     - Power: 5 VDC, 3 A (USB Type-C)

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 4efcefe
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Tue May 9 02:13:59 2023 +0200

    generic: mtk_eth_soc: don't crash if WO firmware is missing

    Import patch to prevent crashes in case WO firmware is missing on devices
    with only a single frontend (eg. MT7981+MT7976).

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit e59909d
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Wed Apr 19 19:47:40 2023 +0100

    generic: add support for wireless offloading on MT7981

    Load appropriate firmware for wireless offloading on MT7981.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 4df739d
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Thu Apr 13 05:03:03 2023 +0100

    mediatek: sync pinctrl-mt7981 and pinctrl-mt7986 drivers

    Now that new pinconf features have been backported sync pinctrl-mt7981
    and pinctrl-m7986 with bleeding-edge upstream versions.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 8522798
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Thu Apr 13 05:01:30 2023 +0100

    mediatek: backport new pinctrl features

    Backport new features for MediaTek pinctrl/pinconf drivers from upstream.
    This will serve as the base to improve pinconf bias/pull-up/pull-down on
    MT7981 and MT7986, and also prepare for upcoming support for MT7988.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit a142932
Author: Felix Fietkau <nbd@nbd.name>
Date:   Sat Apr 1 09:07:22 2023 +0200

    kernel: fix mtk_eth_soc flow accounting for MT7986

    This was accidentally dropped when MT7981 support was added

    Signed-off-by: Felix Fietkau <nbd@nbd.name>

commit 17f02fb
Author: Felix Fietkau <nbd@nbd.name>
Date:   Wed Mar 29 11:38:30 2023 +0200

    kernel: fix mtk_eth_soc throughput regressions on gigabit PHY ports

    Fixes issues on MT7621 and MT7623 switch ports, and PHY ports on all SoC

    Signed-off-by: Felix Fietkau <nbd@nbd.name>

commit 4c48c9a
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Wed Apr 19 23:38:31 2023 +0100

    mediatek: filogic: update kernel config-5.15

    Expose thermal-zone as hwmon sensor, remove thermal emulation driver
    and add some missing symbols.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 4f04625
Author: aakkll <94471752+aakkll@users.noreply.github.com>
Date:   Sun Jun 18 01:07:34 2023 +0800

    kernel: bump to 5.4.247, 6.1.34 (coolsnowwolf#11314)

    Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

commit 357222b
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 20:05:18 2023 +0000

    mediatek: broaden filogic target description

    The filogic subtarget now also supports MT7981 and will in future
    also support MT7988. Reflect that in the target description.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 0025044
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Mar 11 03:55:52 2023 +0000

    mediatek: add device tree include for the MT7981 SoC

    Add mt7981.dtsi so we can start adding MT7981 devices.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 60f04d0
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 23:53:54 2023 +0000

    mediatek: add support for SPI calibration

    Newer MediaTek's SoCs need SPI calibration routines for SPI to work
    reliably. Import patches for that from MediaTek's SDK.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 980c3ad
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 19:57:18 2023 +0000

    mediatek: add PWM support for MT7981 SoC

    Add patch to support PWM on the MT7981 SoC.
    This patch will also be submitted to upstream Linux soon.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit d4f04f7
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 19:55:09 2023 +0000

    mediatek: add I2C for MT7981 SoC

    Add patch to support I2C on the MT7981 SoC.
    This change will also be submitted to upstream Linux soon.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 8e0a86e
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Mar 11 03:51:00 2023 +0000

    mediatek: simplify MaxLinear GPY PHY driver

    The mxl-gpy driver apparently was built in the assumption that SGMII
    auto-negotiation is always switched on at the MAC. This may be true for
    few rather recent drivers (why?), but certainly isn't for most drivers
    unless 'managed = "in-band-status"' is set in device tree. Add patch to
    the mediatek target which reduces mxl-gpy to behave more like an
    ordinary PHY driver using out-of-band status.

    This allows to use these PHYs without rate-adaptation which seems to be
    at least partially broken/racy in some revisions of the PHY and/or
    internal PHY firmware.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit c75138a
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Mar 11 17:58:12 2023 +0000

    generic: dsa: make use of pcs-mtk-lynxi also for mt7530

    The MT7531 switch IC comes with SerDes ports with PCS identical to
    what is also used in MediaTek's SoCs. Make use of the shared driver
    to ease maintainance and reduce code duplication.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit b53177e
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Mar 11 17:55:56 2023 +0000

    generic: backport regmap reg_base and downshift features

    Backport new regmap features from Linux 5.18 which are needed to let
    mt7530 use pcs-mtk-lynxi.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 120e04c
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Mar 27 18:15:13 2023 +0100

    generic: mtk_eth_soc: switch to external PCS driver

    Backport patch to make use of the new PCS driver in mtk_eth_soc.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 3903ca0
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Mar 27 18:41:54 2023 +0100

    generic: pcs-mtk-lynxi: add hack to use 2500Base-X without AN

    Using 2500Base-T SFP modules e.g. on the BananaPi R3 requires manually
    disabling auto-negotiation, e.g. using ethtool. While a proper fix
    using SFP quirks is being discussed upstream, bring a work-around to
    restore user experience to what it was before the switch to the
    dedicated SGMII PCS driver.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit bee8c8a
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Mar 27 18:14:21 2023 +0100

    generic: net: pcs: add driver for MediaTek SGMII PCS

    Backport dedicated PCS driver for MediaTek LynxI SGMII/SerDes unit.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 93e24c3
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Mar 27 17:50:54 2023 +0100

    generic: mtk_eth_soc: allow setting MDIO clock frequency

    Backport patch allowing to set the MDIO bus clock frequency.
    By default the MDIO bus clock runs on 2.5 MHz, allow increasing it
    up to 25 MHz.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 995f53f
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 19:44:52 2023 +0000

    mediatek: add support for built-in GE PHYs of newer SoCs

    MT7981 and the upcoming MT7988 have built-in Gigabit Ethernet PHYs.
    While they share some design properties with the PHYs present in
    MT753x, they do need calibration data from the SoC's efuse.

    Add driver to support them. Upstreaming it is planned, but there are
    still some ongoing discussions with MediaTek.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 83bdbba
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 19:41:51 2023 +0000

    generic: backport support for MT7981 Ethernet

    Backport support for the MT7981 SoC to mtk_eth_soc.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit d4339fd
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 19:40:37 2023 +0000

    mediatek: backport pinctrl driver for MT7981 SoC

    Backport the pinctrl driver for the MT7981 SoC. The driver has also
    been submitted upstream and is part of Linux 6.3.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 7c648c2
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri Mar 10 19:36:12 2023 +0000

    mediatek: backport clk driver for MT7981 SoC

    Backport driver for common clocks in MT7981 SoC. The driver has also
    been submitted upstream and became part of Linux 6.3.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 9c394de
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Mon Mar 27 16:02:44 2023 +0100

    generic: replace mtk_sgmii patches with versions accepted upstream

    Replace patches for MediaTek Ethernet driver SGMII/SerDes unit with
    their corresponding upstream patches. Not all of the patches in our
    tree went upstream as-is, some are slightly different implementations,
    and they require the phylink_pcs helpers now made available.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 020a905
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Mar 11 03:44:41 2023 +0000

    generic: backport some phylink helper functions

    It isn't feasible to literally backport all upstream phylink_pcs changes
    down to Linux 5.15: It's just too many patches, and many downstream
    drivers and hacks are likely to break. We are too close to branching off
    to risk this, and it's also just too much work.
    Instead just add helper functions used by modern PCS drivers while keeping
    the original functions instact as well. While this may add a kilobyte or
    two of extra kernel size, it has the advantage that we get the best of both
    worlds: None of the existing codepaths are touched, but yet we have the
    option to backport singular improvements to Ethernet drivers where needed.

    Signed-off-by: Daniel Golle <daniel@makrotopia.org>
724399396 pushed a commit to 724399396/lede that referenced this pull request Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants