Commit Graph

6181 Commits

Author SHA1 Message Date
Igor Velkov
e9f1902134
uwe5622: fix compilation with clang on Linux 6.19 (#9314)
In Linux 6.19, net_device->dev_addr is const unsigned char *.
Clang with -Werror,-Wincompatible-pointer-types-discards-qualifiers
rejects passing dev_addr to non-const parameters and memcpy into it.

Fix by:
- Replacing memcpy(dev->dev_addr, ...) with dev_addr_set()
- Using local buffer + ether_addr_copy for sprdwl_set_mac_addr call
  that needs mutable addr (the function modifies it in-place)
- Changing u8 *mac pointer to u8 mac[ETH_ALEN] array in cfg80211.c
  where dev_addr was assigned to a non-const pointer

Relates to #9049
2026-01-31 13:51:07 +01:00
Paolo Sabatino
6d84ec9928 rockchip: fix memory controller voltage excursion for a sensitive board 2026-01-31 11:55:57 +01:00
Paolo Sabatino
8eae228718 rockchip: declare rockchip gpio driver back as non-sleeping
* this fixes huge load of WARN_ON() messages when gpio-ir-recv
   driver receives input. see the patch commit message for other
   details
2026-01-31 11:55:57 +01:00
Marvin Wewer
6afba3a119
sunxi a523: add support for PCIe, SPI Flash and Iommu (#9280) 2026-01-31 06:52:26 +01:00
Igor Pecovnik
e05e27bc6f rockchip64-6.18: fix helios64 pcie patch
Remove ep-gpios property and max-link-speed, set status to okay for pcie0.
2026-01-30 15:55:29 +01:00
EvilOlaf
6dfbbc6f5b rockchip64-current: rewrite patches 2026-01-30 12:34:00 +01:00
Werner
42c75f41e9
sunxi: drop unneeded patches (#9312)
* sunxi-edge: remove unneeded patches

* remove more unneeded patches
2026-01-30 07:32:40 +01:00
Igor Pecovnik
170ebf2733 Rockchip 6.19: drop upstreamed patches 2026-01-28 01:21:11 +01:00
EvilOlaf
c817f70a17 rockchip64: rewrite patches 2026-01-27 23:46:33 +01:00
EvilOlaf
a6d1719859 rockchip64: adjust patches due to upstream changes in 6.19-rc7 2026-01-27 23:46:33 +01:00
Jianfeng Liu
138da1c47f qcs6490: fix patched dtb not compiled 2026-01-27 23:45:29 +01:00
Paolo Sabatino
a621bdcfff rockchip64: fix clang build error 2026-01-27 23:44:34 +01:00
retro98boy
f5650639d9 SMART AM40: Fix typo in dts 2026-01-27 23:40:43 +01:00
retro98boy
4ca40d63f2 SMART AM40: Bump U-Boot to v2026.01 2026-01-27 23:40:43 +01:00
Igor Pecovnik
f4f91860b4 Odroid XU4: remove upstreamed patches 2026-01-27 23:39:39 +01:00
retro98boy
3bda2f5260 BesTV R3300-L: Bump U-Boot to v2026.01 2026-01-27 23:36:38 +01:00
retro98boy
40de50f93b CAINIAO CNIoT-CORE: Bump U-Boot to v2026.01 2026-01-27 23:36:17 +01:00
Jiali Chen
9aa6e1e29e patch: sm8250: current: some reasonable modifications were made
Based on the AI review

Co-authored-by: retro98boy <retro98boy@qq.com>
Signed-off-by: CodeChenL <2540735020@qq.com>
2026-01-25 13:27:26 +01:00
Jiali Chen
446fdd8bfa patch: sm8250: current: add Retroid Pocket SM8250 Patch series
Signed-off-by: CodeChenL <2540735020@qq.com>
2026-01-25 13:27:26 +01:00
Jiali Chen
7a2b090888 patch: sm8250: current: add a patche
From https://lore.kernel.org/all/20251230-ncm-refactor-v1-0-793e347bc7a7@google.com/

To fix slow startup, and the issue where the system fails
to release ncm devices when shutting down after plugging
or unplugging a usb hub, which references a null pointer

This is important for devices without serial ports,
such as the Elixir, because they enable NCM
by default for headless debugging,
making it easy to trigger related bugs.

Signed-off-by: CodeChenL <2540735020@qq.com>
2026-01-25 13:27:26 +01:00
Jiali Chen
e46899dff3 patch: sm8250: current: add some patches
From https://gitlab.postmarketos.org/soc/qualcomm-sm8250/linux/-/commits/6.17.0?ref_type=HEADS

Made some modifications to be compatible with the latest kernel.

Signed-off-by: CodeChenL <2540735020@qq.com>
2026-01-25 13:27:26 +01:00
Igor Velkov
ecd55f4ba5 atf: rk3399: fix PL330 DMA controller initialization
Mainline TF-A doesn't initialize SGRF_SOC_CON8-CON15 which control
DMAC0 and DMAC1 configuration. Without this, the PL330 DMA controllers
cannot be accessed from Linux and PERIPH_ID reads as 0x0.

The fix configures SGRF registers to set DMAC manager threads to
running state and non-secure mode, then pulses DMAC reset to apply
the new configuration.

Based on community reverse-engineering:
- https://lists.denx.de/pipermail/u-boot/2023-April/514267.html
- https://gist.github.com/CrystalGamma/a68333fa4c9fda7eb6c09d30ad4937fe

Tested on Helios64 (RK3399).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 11:36:06 +01:00
Alex Ling
b9b5fb8b0c sm8550: Add patches for 6.18
Signed-off-by: Alex Ling <ling_kasim@hotmail.com>
2026-01-25 11:35:47 +01:00
Igor Pecovnik
6b1f235243 Rockchip EDGE: drop upstreamed patches 2026-01-25 11:33:23 +01:00
okrc
8de93dbda3 Delete patch/u-boot/v2026.01/board_nanopi-r5c/nanopi-r5c_kaslrseed.patch 2026-01-25 11:33:12 +01:00
okrc
dede3f2a50 NanoPi R5C: Update to v2026.01; enable BTRFS support
Signed-off-by: okrc <okrc@hexo.dev>
2026-01-25 11:33:12 +01:00
Igor Pecovnik
3993783628 Rockchip 6.18.y: drop upstreamed patches 2026-01-23 12:00:06 +01:00
Alex Ling
7e0cd3bf40 rockchip64: station-m3: Enable USB type-C port
Signed-off-by: Alex Ling <ling_kasim@hotmail.com>
2026-01-21 01:40:34 +01:00
EvilOlaf
45f96e7bf6 uefi-x86: rewrite against rc6 2026-01-21 01:39:09 +01:00
EvilOlaf
1f09c649ec uefi-arm64: rewrite against rc6 2026-01-21 01:39:09 +01:00
EvilOlaf
b78b28a47f meson64: rewrite patches against rc6 2026-01-21 01:39:09 +01:00
EvilOlaf
58a7ec95cb rockchip64: rewrite patches against rc6 2026-01-21 01:39:09 +01:00
Ricardo Pardini
c4b7488fa6 odroidhc4: u-boot: add regulator-boot-on also for u-boot
- Same as https://lore.kernel.org/linux-amlogic/20260116-odroid-hc4-dts-v1-1-459b601cd5cf@linuxdev.slmail.me/ but for u-boot
- u-boot ARCH_MESON uses OF_UPSTREAM; post-v2026.01 u-boot might eventually get this via dt-rebasing, but it might take a while
- All credit to Eric for the find and fix
2026-01-20 10:12:17 +03:00
Ricardo Pardini
ee69f53cb9 meson64-6.18: board-odroid-sm1-regulators-boot-on.patch from 6.19 2026-01-20 10:12:17 +03:00
EAN
e1618f9a8d meson64-6.19: odroid-sm1: regulator-boot-on patch: update from lore & rewrite
- Eric submitted upstream, thanks!
- Neil RB'ed it
- `b4 am -o- --add-link --check-newer-revisions  "https://lore.kernel.org/all/20260116-odroid-hc4-dts-v1-1-459b601cd5cf@linuxdev.slmail.me/" > patch/kernel/archive/meson64-6.19/board-odroid-sm1-regulators-boot-on.patch`
  - Armbian's patching.py chokes on b4's "cover-below-the-fold" style, small manual fix needed before rewrite
2026-01-20 10:12:17 +03:00
EAN
243f5f2bfb meson64-6.19: Add regulator-boot-on to meson-sm1-odroid and -hc4 to fix power cycle during boot
Fix power cycle glitch to SD, USB, HDMI, and especially SATA during
 boot handoff from U-Boot to kernel (causing HDDs emergency head retract, etc.)
2026-01-20 10:12:17 +03:00
EvilOlaf
339bbeeb1f meson64: rewrite current patches 2026-01-18 11:44:17 +01:00
EvilOlaf
007754793f meson64: remove upstreamed patched 2026-01-18 11:44:17 +01:00
Ricardo Pardini
160688703e meson64-6.19: radxa-zero2: fusb302 (minimal by me + full impl by Neil/Christian)
- I submitted the basic enablement, got feedback on ML, reworked it to the minimal, valid, description
- Picked and rebased Neil/Christian's original full implementation from 2024 on top of it
  - See https://gitlab.com/superna9999/linux/-/tree/topic/amlogic/radxa-zero2/fusb302
  - This includes a driver for the CH482D chip (under `CONFIG_TYPEC_MUX_GPIO_SWITCH`, enabled here)
  - Quick search revealed two CH482D's are also present `rockchip/rk3566-radxa-cm3-io.dts` but thus far undescribed
    - see https://dl.radxa.com/cm3/io_board/radxa_cm3_io_board_v1.32_schematic.pdf pages 7 and 13
    - maybe we can work with them to help test driver and bindings?
- See https://lore.kernel.org/linux-amlogic/20260114-arm64-dts-amlogic-radxa-zero2-additions-v1-0-8b5cdf328fde@pardini.net/
- See https://lore.kernel.org/linux-amlogic/20260115-arm64-dts-amlogic-radxa-zero2-additions-v2-1-948bb0479a45@pardini.net/
2026-01-16 14:51:39 +01:00
Ricardo Pardini
332e43bc8c radxa-zero2: u-boot: bump to v2026.01; make fancy 2026-01-16 14:51:39 +01:00
Patrick Yavitz
2ca6da15e4 BananaPi CM4/M2S: Update u-boot to v2026.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-16 08:12:04 -05:00
Igor Velkov
3066ea9652 rockchip64: Helios64: fix Type-C PD negotiation
Remove usb-role-switch property from fusb302 node and replace with
extcon property. The usb-role-switch property breaks PD negotiation
and DP alt mode on kernel 6.18+.

Fix based on PR #9245 (Pinebook Pro) by amazingfate.

Apply Helios64: fix Type-C PHY registration #9158 to 6.19.
2026-01-16 09:25:33 +01:00
Ricardo Pardini
4fb20f36db meson64-6.18: de-bork PCIe for 6.18.5, again, again
- Fixes: 4eac206ecf which over-dropped
- meanwhile for increased insanity, patch changed name as it went upstream:
  - ML was `PCI: meson: Remove meson_pcie_link_up() timeout, message, speed check`
  - torvalds got `PCI: meson: Report that link is up while in ASPM L0s and L1 states`
- Greg KH has already queued for 6.18.6 (coming from 6.19-rc5, so torvalds name), so remove this when that is released
2026-01-14 23:58:01 +01:00
sicxnull
0e2fec109e Fix PantherX2 2026-01-14 20:07:49 +01:00
Jianfeng Liu
8ced9d8a62 rockchip64-6.18: fix PD negotiation on pbp 2026-01-14 17:03:02 +01:00
Jianfeng Liu
a345becef5 rockchip64-6.19: update rk3399 typec alt mode patch 2026-01-14 17:03:02 +01:00
Jianfeng Liu
30fba6f1b1 rockchip64-6.19: fix PD negotiation on pbp 2026-01-14 17:03:02 +01:00
EvilOlaf
c0e8ba8423 meson64: remove upstreamed patch 2026-01-14 13:24:10 +01:00
Ricardo Pardini
1d91ae2ebb mixtile-core3588e: u-boot: v2026.01: add patch for debugging fdt_fixup_ethernet()
- a bit verbose but confirms missing `ethernet0`/`1` alias was the cause of random MACs for at least a few boards
- there's quite a few boards to fix, so we might want to pull this one level up later
2026-01-13 20:39:37 +01:00
Ricardo Pardini
0a0889501b mixtile-core3588e: alias ethernet0 to gmac0 for stable MAC address
- phew. this was all it takes. u-boot does the rest of the magic
2026-01-13 20:39:37 +01:00