Commit Graph

2189 Commits

Author SHA1 Message Date
Sven-Ola Tuecke
71736aaa11 Spacemit: HDMI audio fix: revert busy-loop removal, apply 1 sec timeout
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
bfb16c7a7b OrangePi-RV2: fix internal audio, activate headphone gpio
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
4612a15fb2 Revert "Spacemit: temporarly revert kthread removal to fix HDMI audio"
This reverts commit 99ad08839e.
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
e873ba6cc9 Spacemit: temporarly revert kthread removal to fix HDMI audio
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
eeeae16755 Spacemit: fix HDMI audio (and rCPU communication)
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
0677c69089 General: do not use PCIe ASPM with Samsung 9b1 NVME
Note: have a 128Gb 2030 NVME that returns read errors with Active State PM

Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
d4c5fb249f OrangePi-R2S: Realtek 8125 Ethernet support
Driver for Ethernet/PCI as found with Xunlong/Ky on the
OrangePi RV2/R2S source tree. Added as kernel patch since
the current spacemit family has conflicting changes with
rtl8852bs when enabling EXTRAWIFI=yes

Note: on the Xunlong/Ky tree, there is also a realtek_pgtool/
subdir that compiles a pgdrv.ko. B/c this does not have a
license indication, is only needed e.g. for MAC address
programming of efuse / eeprom, and generally does not look
required this is ommited here. For details, you may refer
to https://github.com/redchenjs/rtnicpg

Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
7c0d37997c OrangePi-RV2: Add overlay dtbo files
This is for use with fdtoverlays directive in extlinux.conf
to enabled different configs for the Opi rv2 pin headers

Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
d68fb5d2d2 OrangePi-RV2: add missing interrupt for bcmdhd WLAN hostwake GPIO
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
51295805e2 Spacemit: HW crypto fixes / speedup.
Note: HW AES is really slow with LUKS2 when using default 512 byte block
size, regardless what cryptsetup benchmark prints out (this uses 65536
bytes). Performance is much better with luksFormat --sector-size 4096.

Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
ea961653d5 Spacemit: expand SPI NOR address limit to 16Mb (probably wrong 12Mb limit)
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
f7872bfd36 OrangePi-RV2: SPI NOR partitioning (prep for boot-from-flash)
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
6460a1d81c OrangePi-RV2: switch on power for bcmdhd wifi
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Sven-Ola Tuecke
9b3484158c OrangePi-RV2: Add ky-to-spacemit re-substituted DTs and WIP board configs
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-02-19 22:10:34 -05:00
Ricardo Pardini
ef15fe183a Revert "rockchip64-6.19: mekotronics-r58x-4g: add fusb302"
- This reverts commit e94425f6944b5a751e19f4bf7ac7dfce9f8b1035.
- I am clearly not up to par with type-c/fusb302 stuff yet
  - sending this for future reference
2026-02-19 09:00:15 -03:00
Ricardo Pardini
f5e17cfd26 rockchip64-6.19: mekotronics-r58x-4g: add fusb302
- works as far as I can tell
- both orientations
- also wired DP, but can't test (I've no USB-DP hw)
2026-02-19 09:00:15 -03:00
Ricardo Pardini
d3cb6458b0 rockchip64-6.19: mekotronics-r58x-4g: add analog sound es8388
- also: drop old modem (4G) to-do, as modem already works without it
2026-02-19 09:00:15 -03:00
Ricardo Pardini
a13e185e8d rockchip64-6.19: mekotronics-r58x-4g: fix type-A USB ports
- this gets the 3 usb type-A ports in the front working
2026-02-19 09:00:15 -03:00
Ricardo Pardini
3295ab61a2 rockchip64-6.19: mekotronics-r58x-4g: add vcc5v0_otg regulator (gpio4_PA7)
- probably type-c stuff, but we never know with Meko
2026-02-19 09:00:15 -03:00
Ricardo Pardini
9053c71deb rockchip64-6.19: mekotronics-r58x-4g: drop invalid hdmi enable-gpios
- drop invalid and useless enable-gpios on hdmi0 node
  - was from vendor kernel
  - does nothing in mainline
  - is not required in mainline for working HDMI
2026-02-19 09:00:15 -03:00
Ian Leung
c184eda283 rk3566-orangepi-3b: Specify target-supply for sata2
Fixes SATA SSD not working when pcie2x1 is disabled.
2026-02-18 09:21:49 +01:00
Ian Leung
6e97eb5d78 Revert change to rockchip-rk3566-sata2.dtso‎
This reverts a change stemming from commit 7d241e3.
2026-02-18 09:21:49 +01:00
Brent Roman
b2ef84c202 adjust rk3308 vendor acodec for kernel 6.19 2026-02-17 21:39:16 -08:00
Brent Roman
3f6209be83 revert 32f3b7c693
and 8002936aac
because:
The ...fix-10mbit-ethernet patch is still necessary
Without it, the RK3308 does not connect via DHCP to 10-mbit Ethernets

The ...pinctl-slow-mux patch still compiles without error
It is <100 bytes and helps debugging GPIO issues.

I don't understand why above patches were flagged as "broken"
2026-02-17 21:39:16 -08:00
Ricardo Pardini
2681a3a682 mekotronics-r58x-4g: mainline: add i2s7_8ch (hdmirx sound) 2026-02-15 20:18:44 +01:00
Ricardo Pardini
a4ecd2cc82 mekotronics-r58x-4g: mainline: fix hdmi0 enable-gpios
- there is no hdmi1 (only DP)
2026-02-15 20:18:44 +01:00
Ricardo Pardini
eab7f9d2a8 mekotronics-r58x-4g: mainline: add rs-485 (uart0) and rs-232 (uart3) 2026-02-15 20:18:44 +01:00
Ricardo Pardini
c17fee5aca mekotronics-r58x-4g: mainline: add sata0 (SATA port on the board) 2026-02-15 20:18:44 +01:00
Ricardo Pardini
fa98e609cd mekotronics-r58x-4g: mainline: add i2c5
- not really wired to anything, found on vendor kernel, added due to i2c5m3_xfer
2026-02-15 20:18:44 +01:00
Ricardo Pardini
bcdc3e9871 mekotronics-r58x-4g: mainline: clean up a bit
- otg pin thing is for fusb302 related type-c thing (I ignore for now)
- drop dup combphy0
2026-02-15 20:18:44 +01:00
Ricardo Pardini
1d0eccda66 mekotronics-r58x-4g: mainline: fix hdmirx pinctrl-0 2026-02-15 20:18:44 +01:00
Ricardo Pardini
1d90918330 mekotronics-r58x-4g: mainline: fix hdmirx hpd pin 2026-02-15 20:18:44 +01:00
Ricardo Pardini
d31a336ee3 mekotronics-r58x-4g: mainline: fix vcc5v0_host gpio+pinctrl 2026-02-15 20:18:44 +01:00
Ricardo Pardini
3d780aeff5 mekotronics-r58x-4g: mainline: gmac0/gmac1 mdio0/mdio1 (v2)
- drop rx delay, add snps stuff
2026-02-15 20:18:44 +01:00
Ricardo Pardini
29e97b5502 mekotronics-r58x-4g: mainline: gmac0/gmac1 mdio0/mdio1 (v1)
- very similar/identical to firefly-itx
2026-02-15 20:18:44 +01:00
Ricardo Pardini
9c10b84013 mekotronics-r58x-4g: mainline: LEDs (v2)
- what vendor calls "hdd" LED is simply not there
- "power" LED is actually 2 leds
- missing: "WIFI" led, which pin?
2026-02-15 20:18:44 +01:00
Ricardo Pardini
1b53372e5b mekotronics-r58x-4g: mainline: LEDs (v1) 2026-02-15 20:18:44 +01:00
Ricardo Pardini
1772efc16e mekotronics-r58x-4g: mainline: drop &pcie2x1l1 2026-02-15 20:18:44 +01:00
Ricardo Pardini
c05bfd707f mekotronics-r58x-4g: mainline: mark TODO's - waaaay too many 2026-02-15 20:18:44 +01:00
Ricardo Pardini
51a8b02a7e mekotronics-r58x-4g: begin mainline kernel
- begin by copying meko4x4's which is based on the same reference "Rockchip NVR" design
2026-02-15 20:18:44 +01:00
EvilOlaf
c3e34150e2 rockchip64: rewrite kernel patches 2026-02-09 23:59:10 +01:00
EvilOlaf
df7994be78 meson64: rewrite kernel patches 2026-02-09 23:59:10 +01:00
Timothy Parys
3dc8e865e2 Remove general-gpio-driver-no-sleep from Rockchip (32 bit) patch series 2026-02-07 00:10:45 +01:00
Timothy Parys
72b61b90d7 Remove Rockchip gpio patch, already applied upstream 2026-02-07 00:10:45 +01:00
Patrick Yavitz
2fb7dc90f6 OrangePi 3 LTS: By default downclock to 1608MHz
To run at 1800MHz:
echo "1" > /sys/devices/system/cpu/cpufreq/boost

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-06 05:59:38 -05:00
JohnTheCoolingFan
3f635a890f Rock 5B Plus: Add GPIO names to dts 2026-02-04 15:41:23 +03:00
Patrick Yavitz
d855d83c88 KickPI K2b: Fixup linux DTS
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-03 07:42:47 -05:00
Igor Pecovnik
9b1e571d43 File was removed while it remained in series control file. Removing it from there too. 2026-02-02 15:18:08 +01:00
Ricardo Pardini
293dbfa540 rockchip64-6.19: rewrite against 6.19-rc8 2026-02-02 06:41:07 +01:00
Ricardo Pardini
111bcd59b6 rockchip(64)-6.19: drop upstreamed patch in -rc8 2026-02-02 06:41:07 +01:00
Ricardo Pardini
5eabdce18a rockchip64-6.19: odroidm1: ethernet TXD timing 0x4f -> 0x35 for much better performance
- See https://lore.kernel.org/r/20250819075522.2238643-1-tobetter@gmail.com which never landed
2026-02-02 06:40:40 +01:00
Paolo Sabatino
b499b45368 rockchip/64: import mainline patch to fix gpio can_sleep issue 2026-02-01 21:15:29 +01:00
EvilOlaf
a01887d50d rewrite kernel patches 2026-01-31 23:02:50 +01:00
EvilOlaf
85901d98f4 fix patch order 2026-01-31 23:02:50 +01:00
Patrick Yavitz
2b72aeb113 OrangePi 3 LTS: Re-Add mmc-hs200-1_8v; to &mmc2 node
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-31 11:33:29 -05:00
Patrick Yavitz
288f545c90 OrangePi 3 LTS: Fixup reg_aldo2 node
Remove regulator-enable-ramp-delay = <100000>;

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-31 11:33:29 -05:00
Patrick Yavitz
688644d238 Update OrangePi 3 LTS linux DTS
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-31 11:33:29 -05:00
Julian Sikorski
2c4b43bf73 Update odroidxu4-current to 6.6.122 2026-01-31 17:07:46 +01:00
EvilOlaf
b463f4f877 rockchip64-current: rewrite patches due to upstream changes 2026-01-31 13:52:11 +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
Igor Pecovnik
f4f91860b4 Odroid XU4: remove upstreamed patches 2026-01-27 23:39:39 +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
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
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
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
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
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
Ricardo Pardini
6a1cfbc613 rockchip64-6.19: arm64: dts: rockchip: describe pcie ethernets on FriendlyElec NanoPC-T6
- By fully describing the pcie hardware for the RTL8125s (rtl8169) present on the
  board, we get to alias them to ethernet0/1. In return, (mainline) u-boot will by
  default patch the runtime FDT though it's fdt_fixup_ethernet() implementation,
  hopefully resulting in fully stable MAC addresses without the need to program
  the RTL NIC's EEPROM; as an added benefit, u-boot MAC & kernel MAC would match,
  facilitating network-boot setups.
2026-01-13 20:39:22 +01:00
Jianfeng Liu
801b4c9e0f rockchip64-6.19: add patches for verisilicon av1 decoder 2026-01-13 20:39:02 +01:00