Commit Graph

1861 Commits

Author SHA1 Message Date
coolsnowwolf
5080fb656a ipq6000: add usb3 DT description 2022-11-17 16:38:23 +08:00
aakkll
805cff4080
kernel: bump 6.0 to 6.0.9 (#10429) 2022-11-17 11:35:41 +08:00
coolsnowwolf
6533370814 ipq60xx: add Qihoo 360v6 wireless support 2022-11-16 22:25:49 +08:00
Nick Hainke
ddf2366cf4 mediatek: replace mt7986 watchdog assert patch with upstream
Replace "920-watchdog-add-mt7986-assert.patch" with upstreamed
- 920-v5.16-watchdog-mtk-add-disable_wdt_extrst-support.patch
- 921-v5.19-watchdog-mtk_wdt-mt7986-Add-toprgu-reset-controller.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-11-14 18:23:05 +08:00
Nick Hainke
1bba21463c mediatek: mt7629: add tag to upstreamed patches
The patches were upstreamed.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-11-14 18:22:37 +08:00
Nick Hainke
c725219406 mediatek: add tag for upstreamed patches
The patches were upstreamed.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-11-14 18:22:13 +08:00
Nick Hainke
0569656184 mediatek: mt7986: add tag to upstreamed patches
The patch "210-pinctrl-mediatek-add-support-for-MT7986-SoC.patch" and
"212-clk-mediatek-add-mt7986-clock-support.patch" are upstreamed.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-11-14 18:21:19 +08:00
Nick Hainke
bef1844645 mediatek: mt7622: add tag to upstreamed patches
The patches "191-arm64-dts-mt7622-specify-the-L2-cache-topology.patch"
and "192-arm64-dts-mt7622-specify-the-number-of-DMA-requests.patch" are
upstreamed to 5.19.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-11-14 18:18:14 +08:00
Aleksander Jan Bajkowski
0e6a364d29 mediatek: filogic: disable swconfig
This subtarget supports 3 devices:
 * Bananapi BPi-R3 (added in a96382c1bb204698cd43e82193877c10e4b63027),
 * MediaTek MTK7986 rfba AP (added in cffc77ae55ed0e5b9e70417d6a1e1d280cea92cf),
 * MediaTek MTK7986 rfbb AP (added in cffc77ae55ed0e5b9e70417d6a1e1d280cea92cf).

This subtarget supports DSA from the beginning. It looks like CONFIG_SWCONFIG
was copied from another config when the subtarget was created.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-11-14 18:17:17 +08:00
Aleksander Jan Bajkowski
60e14b312e mediatek: filogic: refresh config
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-11-14 18:16:57 +08:00
Hauke Mehrtens
0583068db1 kernel: Refresh generic patches
This patch was out of sync.

Fixes: 1673b7dca384 ("kernel: backport fixes for MediaTek Ethernet driver")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-11-12 19:08:04 +08:00
Daniel Golle
b0b044caa7 kernel: backport fixes for MediaTek Ethernet driver
Backport patches from net-next which fix possible memory and resource
leaks in the error codepaths of WED initialization.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-12 19:03:12 +08:00
Daniel Golle
713fe846c3 kernel: support hw flow-offloading counters on newer MediaTek SoCs
The packet processing engine (PPE) found in newer ARM-based MediaTek
SoCs provides packet and byte counters for offloaded streams.
Import pending patch reading and using those counters.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-12 19:02:31 +08:00
Daniel Golle
9cdd779550 mediatek: consider adc_oe thermal calibration value in efuse
The use of the adc_oe value stored in the efuse has been dropped in
MediaTek's SDK during a recent refactorization of the temperature
calculation formula. Don't ignore this offset value and again include
it in raw-to-deg-celsius calculation.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-12 19:00:34 +08:00
AmadeusGhost
fced2da821 ramips: fixes typo error in kang
Fixes: 9a383de4af
Closed: #10408
2022-11-11 16:25:25 +08:00
lovehackintosh
b48712a226
kernel: bump 5.4 to 5.14.224 (#10406)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-11-11 08:00:59 +00:00
lovehackintosh
46e6f98ffe
kernel: bump 6.0 to 6.0.8 (#10401)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-11-11 04:06:36 +00:00
lovehackintosh
23e2006907
kernel: bump 5.15 to 5.15.78 (#10403)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-11-11 04:06:12 +00:00
lovehackintosh
b8bdcd7170
kernel: bump 5.10 to 5.10.154 (#10404)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-11-11 04:05:26 +00:00
Langhua Ye
5a154a16b6 kernel: add support for XMC XM25QH128C
The XMC XM25QH128C is a 16MB SPI NOR chip.
The patch is verified on Ruijie RG-EW3200GX PRO.
Datasheet available at https://www.xmcwh.com/uploads/435/XM25QH128C.pdf

Signed-off-by: Langhua Ye <y1248289414@outlook.com>
2022-11-11 11:30:22 +08:00
coolsnowwolf
fa3d7997cb ipq40xx: add support for GL.iNet GL-A1300 2022-11-10 19:49:49 +08:00
AmadeusGhost
bb0d430546 rockchip: add support for Radxa ROCK Pi E25 2022-11-09 19:38:22 +08:00
coolsnowwolf
646ed35108 ipq60xx: add network setting and sysupgrade for 360v6 2022-11-08 17:21:17 +08:00
coolsnowwolf
2a4ccbe41f ipq60xx: splite Qihoo 360v6 dts file 2022-11-08 16:50:31 +08:00
Shiji Yang
f130866870 ramips: improve compatibility for Youku YK-L2 and YK-L1 series
Add UIMAGE_NAME and UIMAGE_MAGIC to allow users to directly install
initramfs-kernel.bin from the stock firmware Web UI. At the same time,
this change makes it possible to boot OpenWrt with the official u-boot.

Notice:
Since the stock firmware is based on OpenWrt and the configuration
will be retained by default during the upgrade process, so we must use
initramfs-kernel.bin to do a initial installation. After the system
restarts, install sysupgrade.bin and do not retain any configuration.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
2022-11-06 19:18:05 +08:00
Shiji Yang
fe03f34e50 ramips: add support for Youku X2
Specifications:
  SOC:      MT7620AN + MT7612EN
  RAM:      128 MiB DDR2
  Flash:    16 MiB (Winbond W25Q28FVFG)
  WLAN:     2.4G + 5G
  LAN:      LAN ports *2
  WAN:      WAN port *1
  USB:      USB2.0 *1
  SD Card:  MicroSD *1
  Buttons:  Reset *1
  LEDs: ethernet *3, system, usb, wlan2g, wlan5g

MAC Address:
  use        address               source
  label      54:36:9b:xx:xx:ac     lan
  lan        54:36:9b:xx:xx:ac     factory.0x0028
  wan        54:36:9b:xx:xx:ad     factory.0x002e
  wlan2g     54:36:9b:xx:xx:ae     factory.0x0004
  wlan5g     54:36:9b:xx:xx:af     factory.0x8004

Installation:
1. Apply initramfs-kernel.bin in stock firmware Web UI.
2. Install sysupgrade.bin on OpenWrt and do not retain any configuration.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
2022-11-06 19:17:38 +08:00
lovehackintosh
6d2ba007d7
kernel: bump 5.10 to 5.10.153 (#10377)
Manually rebased:
  bcm53xx/patches-5.10/180-usb-xhci-add-support-for-performing-fake-doorbell.patch
  lantiq/patches-5.10/0028-NET-lantiq-various-etop-fixes.patch

All other patches automatically rebased.

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

Signed-off-by: John Audia <therealgraysky@proton.me>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-11-05 21:57:35 +08:00
lovehackintosh
1c46edde16
kernel: bump 5.4 to 5.4.223 (#10376)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-11-05 21:57:17 +08:00
Albert Xu
670de0994f
generic: add DUAL_READ flag to EON EN25Q128 (#10368)
Add DUAL_READ flag to EON EN25Q128 as from documentation it's supported.
While at it also rework the patch and add a commit description.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Co-authored-by: Christian Marangi <ansuelsmth@gmail.com>
2022-11-05 21:57:04 +08:00
lovehackintosh
c026408fae
kernel: bump 5.15 to 5.15.77 (#10369)
Manually rebased:
   bcm27xx/patches-5.15/950-0600-xhci-quirks-add-link-TRB-quirk-for-VL805.patch
   bcm27xx/patches-5.15/950-0606-usb-xhci-add-VLI_TRB_CACHE_BUG-quirk.patch
   bcm27xx/patches-5.15/950-0717-usb-xhci-add-a-quirk-for-Superspeed-bulk-OUT-transfe.patch
   bcm53xx/patches-5.15/180-usb-xhci-add-support-for-performing-fake-doorbell.patch
   lantiq/patches-5.15/0028-NET-lantiq-various-etop-fixes.patch

All other patches automatically rebased

Co-authored-by: John Audia <therealgraysky@proton.me>
Signed-off-by: John Audia <therealgraysky@proton.me>
2022-11-05 07:25:09 +00:00
aakkll
316e63374b
kernel: bump 6.0 to 6.0.7 (#10364) 2022-11-04 02:30:06 +00:00
coolsnowwolf
44d01897be ipq60xx: add UBI FIT image for Linksys MR7350 2022-11-02 15:41:33 +08:00
coolsnowwolf
5a51b97527 ipq60xx: add linksys MR7350 sysupgrade support 2022-11-02 15:38:13 +08:00
coolsnowwolf
f3fda01ec8 ipq807x: add MPILIB for kernel 5.15 2022-11-02 12:50:06 +08:00
coolsnowwolf
365a6d03c2 ipq807x: add CONFIG_CRYPTO for kernel 5.15 2022-11-02 12:46:02 +08:00
1054009064
f118cbd66e
ipq807x: fix kernel 5.15 support for mf269 (#10354) 2022-11-02 12:21:00 +08:00
coolsnowwolf
3765b2938c ipq807x: fix kernel 5.15 cpufreq support 2022-11-01 22:08:09 +08:00
Albert Xu
7d3a3ade9c
kernel: Drop mark apcs_alias0_core_clk as critical (#10349)
* Upstream has introduced this change https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/clk/qcom/apss-ipq6018.c?h=v5.15.76&id=8e556f5573684b3d4126a4fea88141ee56a407ab
2022-11-01 21:24:57 +08:00
lovehackintosh
02617e159d
kernel: bump 5.10 to 5.10.152 (#10341)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-11-01 02:06:45 +00:00
lovehackintosh
8431ab6ee7
kernel: bump 5.4 to 5.4.221 (#10342)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-11-01 02:02:19 +00:00
John Audia
392e39710a kernel: bump 5.15 to 5.15.76
All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-10-31 19:22:08 +08:00
John Audia
c6fa37ad45 rockchip: armv8: add CONFIG_ARM64_ERRATUM_1742098
5.15.76 introduces a new symbol that applies Cortex-A72 SoCs so enable it[1].

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/arm64/Kconfig?id=v5.15.76&id2=v5.15.75

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-10-31 19:21:05 +08:00
John Audia
17977e1d31 mvebu: cortexa72: add CONFIG_ARM64_ERRATUM_1742098
5.15.76 introduces a new symbol that applies Cortex-A72 SoCs so enable it[1].

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/arm64/Kconfig?id=v5.15.76&id2=v5.15.75

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-10-31 19:19:47 +08:00
John Audia
b77a2a6c23 kernel: add # CONFIG_ARM64_ERRATUM_2441007 symbol
Introduced with 5.15.75.[1]

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/arm64/Kconfig?id=v5.15.75&id2=v5.15.74

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-10-31 19:19:27 +08:00
John Audia
0f57706836 kernel: add # CONFIG_ARM64_ERRATUM_1742098
Introduced with 5.15.76[1]

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/arm64/Kconfig?id=v5.15.76&id2=v5.15.75

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-10-31 19:17:40 +08:00
John Audia
b1cb49652b kernel: bump 5.15 to 5.15.75
Removed upstreamed:
   bcm27xx/patches-5.15/950-0446-drm-vc4-Fix-timings-for-VEC-modes.patch[1]

Manually rebased:
   patches-5.15/950-0600-xhci-quirks-add-link-TRB-quirk-for-VL805.patch
   bcm27xx/patches-5.15/950-0606-usb-xhci-add-VLI_TRB_CACHE_BUG-quirk.patch
   bcm27xx/patches-5.15/950-0717-usb-xhci-add-a-quirk-for-Superspeed-bulk-OUT-transfe.patch
   bcm53xx/patches-5.15/180-usb-xhci-add-support-for-performing-fake-doorbell.patch

All other patches automatically rebased

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.75&id=2810061452f9b748b096ad023d318690ca519aa3

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-10-31 19:13:52 +08:00
John Audia
084986676a kernel: bump 5.10 to 5.10.150
Manually rebased:
  bcm53xx/patches-5.10/180-usb-xhci-add-support-for-performing-fake-doorbell.patch

All patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>
[Move gro_skip in 680-NET-skip-GRO-for-foreign-MAC-addresses.patch to old position]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-10-31 19:11:03 +08:00
aakkll
be4cffd589
kernel: bump 6.0 to 6.0.6 (#10333)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-10-30 17:50:58 +08:00
Daniel Golle
10f2bed40e mediatek: mt7622: kernel config fixes
* remove orphaned Kconfig symbol now that CONFIG_IIO is no longer
   selected after commit ef8b935c95 ("mediatek: clean up mt7622 kernel config")

 * select UBI fast-map feature to decrease boot time and keep the
   number of spare blocks required in sync with U-Boot's expectations
   (we got fast-map enabled in U-Boot)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-29 21:33:49 +08:00
Daniel Golle
16a3a9cd7a mediatek: filogic: consolidate adc '32k' clock
Add dependency to '32k' ADC clock so it is always enabled for thermal
and raw access to ADC values. This allows to remove the patch for the
ADC driver and reduce the patch adding thermal support for MT7986 to
only add the new efuse layout and temperature decoding for V3.

Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-29 21:33:04 +08:00