summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* kernel: bump 6.1 to 6.1.78John Audia2024-02-185-10/+10
| | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.78 Manually rebased: bcm27xx/patches-6.1/950-0865-usb-dwc3-Set-DMA-and-coherent-masks-early.patch bcm27xx/patches-6.1/950-0124-Add-support-for-all-the-downstream-rpi-sound-card-dr.patch All other patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, logic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3, logic/xiaomi_redmi-router-ax6000-ubootmod Signed-off-by: John Audia <therealgraysky@proton.me>
* mvebu: drop kernel 5.15 config and patchesStefan Kalscheuer2024-02-1843-5548/+0
| | | | | | With default now being at 6.1 we can remove all 5.15 components. Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* mvebu: switch to kernel 6.1Stefan Kalscheuer2024-02-181-2/+1
| | | | | | After a few months of testing it's time to move to 6.1 by default. Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* realtek: fix Netgear GS110TPP OEM installBjørn Mork2024-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | Recent OEM firmware versions test the version number embedded in the uimage "name" header field. The exact restricton is unknown, but "7.0.8.4" seems to be the lowest number accepted on a GS110TPPv1 which already has that version or higher. A "9.9.9.9" version is accepted as valid by the GS110TPPv1 OEM firmware, and considered both unique enough to identify an OpenWrt image and moderately future proof against OEM version bumps. This change is also boot tested on a GS108Tv3 with "BOOT Loader Version 1.0.0.2 (2018-08-31 17:05:26 UTC)" to verify that it doesn't break boot on older hardware. Link: https://forum.openwrt.org/t/72510/58 Signed-off-by: Bjørn Mork <bjorn@mork.no>
* mediatek: filogic: convert GL.iNet MT-2500 to use NVMEM-on-MMCDaniel Golle2024-02-182-5/+54
| | | | | | | Use nvmem-layout in device tree instead of extracting MAC addresses in userspace. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7981: remove inaccurate compatible stringsDaniel Golle2024-02-181-3/+3
| | | | | | | Remove more inaccurate compatible strings from various clock controllers of the MT7981 SoC. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7981: prevent system freezes on bootDaniel Golle2024-02-181-0/+30
| | | | | | | | Import patch to make sure SGM_REG_SEL clock is always enabled as it seems that more registers than just SGMIISYS0 and SGMIISYS1 are depending on that clock being enabled. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: convert GL.iNet MT-6000 to NVMEM-on-MMCDaniel Golle2024-02-183-6/+45
| | | | | | | Now that we can reference MMC partitions in device tree, use that to get rid of Wi-Fi EEPROM and MAC address setup in userspace. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: nvmem: correctly assign fwnode to MMC block deviceDaniel Golle2024-02-182-5/+6
| | | | | | | | | | Use device_set_node to make sure OF node gets assigned on block devices to be used as NVMEM providers. While block partitions were already working fine as NVMEM providers, bare block devices such as mmcblk0boot1 will not work without this change. Fixes: fc153aa8d9 ("kernel: import pending patches adding support for NVMEM on UBI and MMC") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* qualcommax: ipq807x: wax630: correct UNIPHY2 MAC modeRobert Marko2024-02-171-1/+1
| | | | | | | | UNIPHY2 on the WAX630 is connected to a QCA8081 PHY which is only 2.5G and it does not support using USXGMII at all but rather only SGMII or SGMII+. Tested-by: Kristian Skramstad <kristian+github@83.no> Signed-off-by: Robert Marko <robimarko@gmail.com>
* mediatek: dts: mt7981: fix ethsys clock compatibleDaniel Golle2024-02-171-1/+0
| | | | | | | | | | Remove inaccurate compatible string 'mediatek,mt7986-ethsys' which results in the wrong clock driver probing on MT7981 with Linux 6.1 and ends up freezing the system once WED is used. Fixes: da970d63fb ("mediatek: switch to Linux version 6.1") Reported-by: Chen Minqiang <ptpt52@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: replace built-in Aquantia driver with moduleRafał Miłecki2024-02-172-2/+1
| | | | | | | | | | | | | Some Aquantia PHYs (e.g. AQR113C) require firmware to be uploaded by host system. With built-in drivers this doesn't work in OpenWrt / embeddded as filesystem isn't available during PHY probe. That results in delays like: [ 1.588068] Aquantia AQR113C mdio-bus:00: Falling back to sysfs fallback for: Rhe-05.06-Candidate9-AQR_Mediatek_23B_P5_ID45824_LCLVER1.cld [ 64.526387] Aquantia AQR113C mdio-bus:00: failed to find FW file Rhe-05.06-Candidate9-AQR_Mediatek_23B_P5_ID45824_LCLVER1.cld (-110) Switch to module to postpone PHY probe to init state. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* qualcommax: ipq807x: correct PHY mode for AQRRobert Marko2024-02-174-0/+5
| | | | | | | | | | | | | | Interfaces that have AQR-s attached to them are using USXGMII and not just the default SGMII. This was fine until SSDK added some sanity checking and now on Qnap 301W it would fail with: [ 24.740197] nss-dp 3a001800.dp5 10g-1 (uninitialized): failed to connect to phy device [ 24.740264] nss-dp: probe of 3a001800.dp5 failed with error -14 Since this is not Qnap 301W specific lets fix it subtarget wide by declaring the correct PHY mode for 10G AQR-s. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq807x: 301w: correct PHY mode for AQRRobert Marko2024-02-171-0/+2
| | | | | | | | | | | | | Interfaces that have AQR-s attached to them are using USXGMII and not just the default SGMII. This was fine until SSDK added some sanity checking and now on Qnap 301W it would fail with: [ 24.740197] nss-dp 3a001800.dp5 10g-1 (uninitialized): failed to connect to phy device [ 24.740264] nss-dp: probe of 3a001800.dp5 failed with error -14 So, lets fix 10G AQR ports by declaring the correct PHY mode. Signed-off-by: Robert Marko <robimarko@gmail.com>
* mediatek: mt7622: skip build also for Xiaomi AX6SDaniel Golle2024-02-171-1/+1
| | | | | | | Also here build fails due to increased kernel size. Fixes: da970d63fb ("mediatek: switch to Linux version 6.1") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7622: skip build for MT7622 rfb1 (UBI)Daniel Golle2024-02-171-1/+1
| | | | | | | | | | Due to increased kernel size the build currently fails if including the MT7622 rfb1 (UBI). Skip it for now until there is a better solution (such as replacing the bootloader and changing the flash layout). Fixes: da970d63fb ("mediatek: switch to Linux version 6.1") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: bpi-r3-mini: include kmod-phy-airoha-en8811hDaniel Golle2024-02-171-2/+2
| | | | | | | | Include the needed Ethernet PHY driver module for the BananaPi R3 mini. Fixes: b03d3644cf ("mediatek: filogic: add BananaPi BPi-R3 mini") Reported-by: BPI forum user nezar_taima Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: bpi-r3-mini: fix power on M.2 slotTianling Shen2024-02-161-1/+12
| | | | | | | | | | One of the pins requiered by M.2 slot is conflict with spi1, however, spi1 seems unused so simply disable it for now, this matches the factory behavior [1]. 1. https://github.com/BPI-SINOVOIP/BPI-R3MINI-OPENWRT-V21.02.3/commit/9bd78779f267a21c04c5bb4d16c32e83aae8d1d3 Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* mediatek: filogic: bpi-r3-mini: bind WLAN LED-s to phy*-ap0Tianling Shen2024-02-161-0/+2
| | | | | | For showing wlan status. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* mediatek: filogic: bpi-r3-mini: convert to new LED color/function formatTianling Shen2024-02-161-3/+8
| | | | | | | | | | Conversion to new LED color/function format and drop label format. This was needed previously when the new format wasn't supported by leds.sh functions script. Now that is supported this property can be removed in favor of the new format. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* ath79: generic: fix the alphabetical order in 02_networkFoica David2024-02-161-5/+5
| | | | | | | This commit fixes the alphabetical order in 02_network. The 2 deco devices in ath79_setup_interfaces() were in the wrong place. Signed-off-by: Foica David <superh552@gmail.com>
* qualcommax: AW1000: add qca8081 PHY LED configurationChukun Pan2024-02-162-0/+14
| | | | | | | | Since we can configure the PHY LED of the qca8081, add a configuration for this device. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Reviewed-by: Robert Marko <robimarko@gmail.com>
* qualcommax: AW1000: sync qca807x PHY dts changesChukun Pan2024-02-161-14/+27
| | | | | | | | | The dts of Arcadyan AW1000 forgot to convert qca807x PHY to PHY package implementation. This commit fix it. Fixes: 0ab4b92 ("qualcommax: convert qca807x PHY to PHY package implementation") Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Reviewed-by: Robert Marko <robimarko@gmail.com>
* mediatek: filogic: bpi-r3-mini: fix generating ubinized imageDaniel Golle2024-02-161-2/+6
| | | | | | | | Generate ubinized image as ARTIFACT and make use of now available generic 'ubinize-image' build step intended for that purpose. Fixes: b03d3644cf ("mediatek: filogic: add BananaPi BPi-R3 mini") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: bpi-r3-mini: fix NAND flash layoutDaniel Golle2024-02-161-3/+3
| | | | | | | | Fix NAND flash layout which was out-of-sync with the definition in ARM TrustedFirmware-A which expects UBI to start at 0x200000. Fixes: b03d3644cf ("mediatek: filogic: add BananaPi BPi-R3 mini") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: mt76x8: fix build due to renamed U-Boot binaryDaniel Golle2024-02-161-1/+1
| | | | | | | | | The U-Boot binary for the RAVPower RP-WD009 has been renamed. In order to be uniform with all other U-Boot binaries generated the SoC type has been prepended. Set that new name also in the image build recipe for that device in order to fix build. Fixes: 927334a8f7 ("uboot-mediatek: add basic build for ZBT-WG3526 (MT7621, 16M SPI-NOR)") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* imx: update default network config for ventanaTim Harvey2024-02-151-1/+1
| | | | | | | | update the default network configuration for Gateworks Ventana boards such that the left-most front-panel NIC is WAN and any additional are in LAN bridge Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx: add gpio-button-hotplug to ventana imagesTim Harvey2024-02-151-1/+2
| | | | | | | Add the gpio-button-hotplug to Gateworks ventana images to support the on-board user pushbutton. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* mediatek: filogic: add BananaPi BPi-R3 miniDaniel Golle2024-02-156-1/+753
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware specification ---------------------- SoC: MediaTek MT7986A 4x A53 Flash: 128MB SPI-NAND, 8GB eMMC RAM: 2GB DDR4 Ethernet: 2x 2.5GbE (Airoha EN8811H) WiFi: MediaTek MT7976C 2x2 2.4G + 3x3 5G Interfaces: * M.2 Key-M: PCIe 2.0 x2 for NVMe SSD * M.2 Key-B: USB 3.0 with SIM slot * front USB 2.0 port LED: Power, Status, WLAN2G, WLAN5G, LTE, SSD Button: Reset, internal boot switch Fan: PWM-controlled 5V fan Power: 12V Type-C PD Installation instructions for eMMC ---------------------------------- 0. Set boot switch to boot from SPI-NAND (assuming stock rom or immortalwrt running there). 1. Write GPT partition table to eMMC Move openwrt-mediatek-filogic-bananapi_bpi-r3-mini-emmc-gpt.bin to the device /tmp using scp and write it to /dev/mmcblk0: dd if=/tmp/openwrt-*-r3-mini-emmc-gpt.bin of=/dev/mmcblk0 2. Reboot (to reload partition table) 3. Write bootloader and OpenWrt images Move files to the device /tmp using scp: - openwrt-*-bananapi_bpi-r3-mini-emmc-preloader.bin - openwrt-*-bananapi_bpi-r3-mini-emmc-bl31-uboot.fip - openwrt-*-bananapi_bpi-r3-mini-initramfs-recovery.itb - openwrt-*-bananapi_bpi-r3-mini-squashfs-sysupgrade.itb Write them to the appropriate partitions: echo 0 > /sys/block/mmcblk0boot0/force_ro dd if=/tmp/openwrt-*-bananapi_bpi-r3-mini-emmc-preloader.bin of=/dev/mmcblk0boot0 dd if=/tmp/openwrt-*-bananapi_bpi-r3-mini-emmc-bl31-uboot.fip of=/dev/mmcblk0p3 dd if=/tmp/openwrt-*-bananapi_bpi-r3-mini-initramfs-recovery.itb of=/dev/mmcblk0p4 dd if=/tmp/openwrt-*-bananapi_bpi-r3-mini-squashfs-sysupgrade.itb of=/dev/mmcblk0p5 sync 4. Remove the device from power, set boot switch to eMMC and boot into OpenWrt. The device will come up with IP 192.168.1.1 and assume the Ethernet port closer to the USB-C power connector as LAN port. 5. If you like to have Ethernet support inside U-Boot (eg. to boot via TFTP) you also need to write the PHY firmware to /dev/mmcblk0boot1: echo 0 > /sys/block/mmcblk0boot1/force_ro dd if=/lib/firmware/airoha/EthMD32.dm.bin of=/dev/mmcblk0boot1 dd if=/lib/firmware/airoha/EthMD32.DSP.bin bs=16384 seek=1 of=/dev/mmcblk0boot1 Installation instructions for NAND ---------------------------------- 0. Set boot switch to boot from eMMC (assuming OpenWrt is installed there by instructions above. Using stock rom or immortalwrt does NOT work!) 1. Write things to NAND Move files to the device /tmp using scp: - openwrt-*-bananapi_bpi-r3-mini-snand-preloader.bin - openwrt-*-bananapi_bpi-r3-mini-snand-bl31-uboot.fip - openwrt-*-bananapi_bpi-r3-mini-initramfs-recovery.itb - openwrt-*-bananapi_bpi-r3-mini-squashfs-sysupgrade.itb Write them to the appropriate locations: mtd write /tmp/openwrt-*-bananapi_bpi-r3-mini-snand-preloader.bin /dev/mtd0 ubidetach -m 1 ubiformat /dev/mtd1 ubiattach -m 1 volsize=$(wc -c < /tmp/openwrt-*-bananapi_bpi-r3-mini-snand-bl31-uboot.fip) ubimkvol /dev/ubi0 -N fip -n 0 -s $volsize -t static ubiupdatevol /dev/ubi0_0 /tmp/openwrt-*-bananapi_bpi-r3-mini-snand-bl31-uboot.fip cd /lib/firmware/airoha cat EthMD32.dm.bin EthMD32.DSP.bin > /tmp/en8811h-fw.bin ubimkvol /dev/ubi0 -N en8811h-firmware -n 1 -s 147456 -t static ubiupdatevol /dev/ubi0_1 /tmp/en8811h-fw.bin ubimkvol /dev/ubi0 -n 2 -N ubootenv -s 126976 ubimkvol /dev/ubi0 -n 3 -N ubootenv2 -s 126976 volsize=$(wc -c < /tmp/openwrt-*-bananapi_bpi-r3-mini-initramfs-recovery.itb) ubimkvol /dev/ubi0 -n 4 -N recovery -s $volsize ubiupdatevol /dev/ubi0_4 /tmp/openwrt-*-bananapi_bpi-r3-mini-initramfs-recovery.itb volsize=$(wc -c < /tmp/openwrt-*-bananapi_bpi-r3-mini-squashfs-sysupgrade.itb) ubimkvol /dev/ubi0 -n 4 -N recovery -s $volsize ubiupdatevol /dev/ubi0_4 /tmp/openwrt-*-bananapi_bpi-r3-mini-squashfs-sysupgrade.itb 3. Remove the device from power, set boot switch to NAND, power up and boot into OpenWrt. Partially based on immortalwrt support for the R3 mini, big thanks for doing the ground work! Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: add driver for Airoha EN8811H PHY as moduleDaniel Golle2024-02-155-7/+1122
| | | | | | | | Add PHY driver for Airoha EN8811H PHY and package it as kernel module. The PHY needs to load firmware from rootfs, so there is no point in having the driver built-into the kernel. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: update driver for MT7988 built-in 2.5G Ethernet PHYDaniel Golle2024-02-152-84/+137
| | | | | | Sync driver for built-in 2.5G Ethernet PHY with MediaTek SDK. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* firmware: package firmware for built-in 2.5G PHY on MT7988Daniel Golle2024-02-151-1/+1
| | | | | | | | Firmware for the built-in 2.5G Ethernet PHY of the MediaTek MT7988 SoC is now part of linux-firmware, so we can package it. Only a single file is needed with recent driver. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7622: modernize Linksys E8450 / Belkin RT3200 UBI buildDaniel Golle2024-02-156-27/+64
| | | | | | | | | | | | | | | | | Move fip and factory into UBI static volumes. Use fitblk instead of partition parser. !! RUN INSTALLER FIRST !! Existing users of previous OpenWrt releases or snapshot builds will have to **re-run the updated installer** before upgrading to firmware after this commit. DO NOT flash or run even just the initramfs image unless you have run the updated installer which moves the content of the 'factory' partition into a UBI volume. tl;dr: DON'T USE YET! Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7622: convert unifi6lr-v{1,2,3}-ubootmod to fitblkDaniel Golle2024-02-155-7/+29
| | | | | | No bootloader changes needed in this case, smooth transition. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7622: convert BPi-R64 to all-UBI layout and fitblkDaniel Golle2024-02-1512-26/+149
| | | | | | | Modernize bootloader and flash memory layout of the BPi-R64 similar to how it has also been done for the BPi-R3. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: BananaPi BPi-R3 bootloader updateDaniel Golle2024-02-155-29/+145
| | | | | | | | | | | | | | | * Switch to all-UBI layout on SPI-NAND * use fitblk driver instead of uImage.FIT partition parser * adapt sysupgrade * bump COMPAT_VERSION Remove BROKEN mark now that all needed changes are done. Boards running images generated before this commit will require full reflash of the bootloader, re-install from SD card is the easiest way to achieve that. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: prepare BananaPi BPi-R3 for upcoming modernizationDaniel Golle2024-02-151-0/+1
| | | | | | Mark board as broken until the complete boot stack has been updated. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* uboot-envtools: filogic: add support for BananaPi R4Daniel Golle2024-02-151-0/+12
| | | | | | | | Add environment settings for the BananaPi BPI-R4 router board which can boot from (and store its bootloader environment on) micro SD card, SPI-NAND and eMMC. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: add support for BananaPi BPI-R4 boardDaniel Golle2024-02-1511-4/+735
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware -------- SOC: MediaTek MT7988A (4x Cortex-A73) RAM: 4 GiB DDR4 Flash: 128 MiB Winbond SPI-NAND MMC: 8 GiB eMMC *or* microSD (cannot be used both) ETH: 4x 1GE (1x WAN, 3x LAN) 2x SFP+ (10G, 5G, 2.5G, 1G) USB: on-board USB 3.2 4-port hub 1x USB 3.2 port (type A connector) 1x M.2 for 4G/5G modem 2x mPCIe for additional modems WiFi: optional MediaTek MT7996 Wi-Fi 7 module (using 2x PCIe gen3 x2 on the mPCIe slots and 12V power) Installation ------------ 1. Decompress and write the sdcard image to a micro SD card and use that to boot the R4 (both dip switches in upper position). 2. Use the bootloader menu accessible via the serial console to install to SPI-NAND. 3. Switch to boot from SPI-NAND and install to eMMC. Known issues ------------ - The RST button is hard-wired to the SoC reset and can't be read from software. This can be changed by modifying the board (ie. moving a 0-ohm resistor). However, in order to maintain compatibility with the board as it comes from factory the button isn't used by OpenWrt and the WPS button is used as factory/reset button instead. - various small things still need to be fixed in DT Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: add patch for xsphy driver to support pcie2 on MT7988Daniel Golle2024-02-151-0/+167
| | | | | | | Import patch from MediaTek SDK which allows using the third PCIe host controller of the MT7988 SoC. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: dts: mt7988: add uart1 and uart2Daniel Golle2024-02-151-0/+103
| | | | | | Add device tree nodes for uart1 and uart2 of the MT7988 SoC. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: pinctrl-mt7988: add additional uart1_2_lite groupDaniel Golle2024-02-151-4/+7
| | | | | | | | Add UART pinctrl group for using only pins 80 and 81 for uart1. This is needed on the BPi-R4 as RTS/CTS signals are used for other on-board functions. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: pinctrl-mt7988: add pinconf mapDaniel Golle2024-02-152-0/+147
| | | | | | Add pull-up/pull-down configuration for pins of MT7988. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: switch to pending XFI 10G Ethernet driversDaniel Golle2024-02-1528-1110/+2085
| | | | | | | | | Replace previous patch adding paths and SerDes modes with patch series pending upstream adding dedicated drivers for XFI T-PHY and USXGMII PCS, extends LynxI PCS to be a standalone platform driver and as a consequence makes much less changes to the actual Ethernet driver mtk_eth_soc. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: backport a hell of thermal commitsDaniel Golle2024-02-1552-33/+7222
| | | | | | | Backport almost 50 commits from upstream Linux to improve thermal drivers for MediaTek SoCs and add new LVTS driver for MT7988. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: replace mt7988 clk files with accepted patchesDaniel Golle2024-02-1519-1407/+2212
| | | | | | Replace clock drivers for MT7988 with backported upstream commits. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: backport phylink changes from mainline LinuxDaniel Golle2024-02-1591-335/+5582
| | | | | | | Let's pick a bunch of useful phylink changes which allow us to keep drivers in sync with mainline Linux. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: switch to Linux version 6.1Daniel Golle2024-02-15223-35429/+1
| | | | | | Drop support for Linux 5.15 and switch to Linux 6.1. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: add pending fitblk uImage.FIT sub-image block driverDaniel Golle2024-02-153-0/+758
| | | | | | | | | Add 'fitblk' driver to replace the rejected/deprecated uImage.FIT partition parser. To use the new driver, add phandle /chosen/rootdisk and point it to the MTD partition, UBI volume or block device holding the uImage.FIT. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: import pending patches adding support for NVMEM on UBI and MMCDaniel Golle2024-02-1522-56/+1876
| | | | | | | Similar to supporting nvmem-layouts on MTD devices, also allow referencing UBI and MMC devices in DT. Signed-off-by: Daniel Golle <daniel@makrotopia.org>