5278 Commits

Author SHA1 Message Date
Jürgen Herrmann
a0e11ec3ec
Qidi X-6: fix devicetree opp voltage settings (#9577)
* change regulator-min-microvolt to 1.4V

* adapt new voltage regulator values

* revert vdd_arm regulator due to boot time errors

* revert vdd_arm min voltage due to errors

* Generic aic8800-dkms.sh extension

* fix typo in filename

* remove file
2026-03-23 11:03:58 +01:00
kay-lambdadelta
ef2fa1f006 Fix application of Retroid Pocket 5/mini device trees 2026-03-23 07:37:05 +01:00
Thorsten Maerz
23c56cf558 mksklipad50: fix devicetree opp voltage settings
Voltages for "gpu_opp_table" and "vdd_arm" were wrongly using default
values instead of the customized values from the vendor image, leading
to dmesg errors like
[   19.709834] core: _opp_supported_by_regulators: OPP minuV: 1075000 maxuV: 1075000, not supported by regulator
[   19.710075] lima ff300000.gpu: _opp_add: OPP not supported by regulators (200000000)	0xBEBC200

Thanks to Shadowrom2020 for noticing.
2026-03-21 06:51:52 +01:00
SuperKali
b2bd84dce0 rockchip64: rk3588: update I2S MCLK gate patches to match upstream v3
Update the I2S MCLK output gate clock patches to match the upstream v3
series. Changes from previous version:

- Split into 4 patches (was 3): added separate patch for
  RK3588_SYSGRF_SOC_CON6 define in rk3588_grf.h
- Use named constant RK3588_SYSGRF_SOC_CON6 instead of magic 0x0318
- Add u-boot patch for clock ID bindings (needed by board DTS files)

6.18 uses kzalloc(sizeof(...)) as kzalloc_obj is not available.
7.0 uses kzalloc_obj as recommended by upstream reviewer.

Upstream: https://lore.kernel.org/linux-rockchip/20260320-rk3588-mclk-gate-grf-v3-0-980338eacd2c@superkali.me/
2026-03-20 15:39:23 +01:00
Jürgen Herrmann
12651f0aba
Add support for qidi x-* boards (#9564)
Some checks failed
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Has been cancelled
Infrastructure: Mirror to Codeberg / codeberg (push) Has been cancelled
Maintenance: Announce merge / announcepush (push) Has been cancelled
Maintenance: Security scan / Scorecards analysis (push) Has been cancelled
Data: Sync board list / Send dispatch (push) Has been cancelled
* Add GPU operating points and modify power controller

Makerbase power control adaptions due to voltage regulator limitations

* Add GPU operating points to rk3328-mkspi.dts

Makerbase power control adaptions due to voltage limitations

* Add GPU operating points to rk3328-mkspi.dts

* Remove unused gpu-opp-table node

* Remove unused gpu-opp-table node

* Remove unused gpu-opp-table node from device tree

* revert changes to kernel 6.12

* Add initial support for Qidi-X boards

* enable uart1 by default

* disable spi for screen and touch

* remove spi0 reference

* fix typo

* add new dts to kernel 7.0

* remove unused leds and unused drive

* fix storage

* disable sound output

* fixes for nitpick comments

* fix default device tree

* fix accidental changes

* changed supported boards comment
2026-03-20 00:58:48 +01:00
Ricardo Pardini
2ea7ed8f47 rockchip64-7.0: mekotronics-r58x-pro: analog sound: use SuperKali's new clock
> This series fixes ES8388 audio on the Mekotronics R58X-Pro (RK3588).
>
> Without these patches, the i2s0_8ch_mclkout_to_io gate remains closed
> (enable_count=0 in the clk_summary), and the codec receives no master
> clock. DAPM reports all widgets as powered on and playback streams run
> without errors, but the hardware produces no sound — a rather
> frustrating failure mode to debug.
>
> With the series applied and the board DTS updated to reference
> I2S0_8CH_MCLKOUT_TO_IO from the codec node:
>
>     es8388: audio-codec@10 {
>         compatible = "everest,es8388", "everest,es8328";
>         reg = <0x10>;
>         clocks = <&cru I2S0_8CH_MCLKOUT_TO_IO>;
>         assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
>         assigned-clock-rates = <12288000>;
>         ...
>     };
>
> audio playback works correctly, tested via headphones output.
>
> Tested-by: Ricardo Pardini <ricardo@pardini.net>
2026-03-19 21:59:08 +01:00
Ricardo Pardini
04b1f4097a rockchip64-7.0: mekotronics-r58x-pro: convert analog audio to simple-audio-card
- `audio-graph-card` actually never worked, I messed up
- Daniele has the real fix up in https://lore.kernel.org/linux-rockchip/20260316-rk3588-mclk-gate-grf-v1-0-66fb9a246718@superkali.me/
- convert to `simple-audio-card` before actually adding it, so playing field is even
2026-03-19 21:59:08 +01:00
Julian Sikorski
19b5b67217 Update odroidxu4-current to 6.6.129
Some checks failed
Data: Sync board list / Send dispatch (push) Has been cancelled
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Has been cancelled
Infrastructure: Mirror to Codeberg / codeberg (push) Has been cancelled
Maintenance: Announce merge / announcepush (push) Has been cancelled
Maintenance: Security scan / Scorecards analysis (push) Has been cancelled
2026-03-19 19:39:27 +01:00
EvilOlaf
7dee3725ff rockchip64-6.18: rewrite kernel patches for 6.18.19 2026-03-19 19:10:02 +01:00
EvilOlaf
2b3e9fa7b0 sunxi-6.18: rewrite kernel patches for 6.18.19 2026-03-19 19:10:02 +01:00
EvilOlaf
cb9509eccf sunxi-6.18: remove stray commit from patch
Some checks failed
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Has been cancelled
Infrastructure: Mirror to Codeberg / codeberg (push) Has been cancelled
Maintenance: Announce merge / announcepush (push) Has been cancelled
Maintenance: Security scan / Scorecards analysis (push) Has been cancelled
2026-03-18 18:06:00 +01:00
Patrick Yavitz
4c46be4b3d SpacemiT: Delete v2 Enable-SD-card-support-with-UHS-modes patch
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-18 08:57:27 -04:00
Patrick Yavitz
ef340b1df5 SpacemiT: Update BPI-F3, MusePi and OPi RV2/R2S reg names
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-18 08:57:27 -04:00
Patrick Yavitz
d59e0faad2 SpacemiT: v3 Enable SD card support with UHS modes
https://lore.kernel.org/spacemit/20260316-orangepi-sd-card-uhs-v3-0-aefd3b7832df@gmail.com/T/#t

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-18 08:57:27 -04:00
Patrick Yavitz
609dd6a5e2 SpacemiT: v2 Disable local interrupts and stop other CPUs before reboot/shutdown
https://lore.kernel.org/spacemit/20260317-v7-0-rc1-rv-dis-int-before-restart-v2-1-0ecc85fbb7ff@linux.dev/T/#u

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-18 08:57:27 -04:00
SuperKali
ea114dbdbf
rockchip64: rk3588: split I2S MCLK output gate patches to match upstream (#9548)
Some checks failed
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Has been cancelled
Infrastructure: Mirror to Codeberg / codeberg (push) Has been cancelled
Maintenance: Announce merge / announcepush (push) Has been cancelled
Maintenance: Security scan / Scorecards analysis (push) Has been cancelled
Replace the single combined MCLK gate patch with three separate patches
matching the upstream series submitted to LKML:

  1. dt-bindings: add I2S MCLK output to IO clock IDs (722-725)
  2. clk: rockchip: allow grf_type_sys lookup in aux_grf_table
  3. clk: rockchip: rk3588: add GATE_GRF clocks for I2S MCLK output

Key changes from the previous combined patch:
  - Use grf_type_sys instead of grf_type_ioc
  - Add all four I2S MCLK output gates (not just I2S0)
  - Use GFLAGS macro for consistency
  - Place each GATE_GRF after its parent MCLKOUT
  - No subscope in init function

6.18 uses kzalloc(sizeof(...)) as kzalloc_obj is not available.
7.0 uses kzalloc_obj as recommended by upstream reviewer.

Upstream: https://lore.kernel.org/linux-rockchip/20260316-rk3588-mclk-gate-grf-v1-0-66fb9a246718@superkali.me/
2026-03-17 09:17:26 +01:00
Igor Pecovnik
a3f8d14ba8 fix: update patch to also fix dwmac-phytium.c compilation issues
Some checks failed
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Has been cancelled
Infrastructure: Mirror to Codeberg / codeberg (push) Has been cancelled
Maintenance: Announce merge / announcepush (push) Has been cancelled
Maintenance: Security scan / Scorecards analysis (push) Has been cancelled
Update patch 1004 to also fix compilation issues in dwmac-phytium.c:
- Make dwmac_phytium_get_resources() static to resolve missing prototype warning
- Remove invalid stmmac_res->lpi_irq = -ENOENT assignment (member doesn't exist)

The patch now fixes all compilation issues across both files:
- stmmac_platform.c: fw_get_phy_mode(), stmmac_acpi_clock_setup(), lpi_irq
- dwmac-phytium.c: dwmac_phytium_get_resources(), lpi_irq

All Phytium ethernet driver patches (1000-1004) should now compile cleanly.
2026-03-16 10:22:07 +01:00
Igor Pecovnik
5ed611455a fix: add patch to resolve Phytium stmmac compilation errors
Add new patch (1004) to fix compilation warnings and errors in the
Phytium ethernet driver patches for kernel 6.19:

- Make fw_get_phy_mode() static to resolve missing prototype warning
- Make stmmac_acpi_clock_setup() static to resolve missing prototype warning
- Remove invalid stmmac_res->lpi_irq assignment (member doesn't exist)

This patch should be applied after patches 1000-1003 to complete
the Phytium ethernet driver support for kernel 6.19.
2026-03-16 10:22:07 +01:00
Igor Pecovnik
f4cef843c3 Drop patches that landed upstream and fix two
Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-03-16 08:28:58 +01:00
Werner
01176b0150
sunxi: bump edge to 6.19.y, current to 6.18.y and legacy to 6.12.y (#9381)
* copy old patchset
* bump to 6.19
* megous: replace 6.18 with 6.19 patchset
* drm-sun4i: remove upstreamed patch series
* backports: remove fully upstreamed patches
* uwe5622: fix patch for 6.19
* megi: remove informational patch, confuses patching logic for unknown reason
* megi: disable unneeded patch (again)
* fix various broken patches
* sunxi: rewrite the whole patchset
* sun4i-drm: add patches not upstreamed yet from recent series
* disable broken patch @rvdr

```
[🔨]   drivers/pci/pcie-sunxi/pcie-sunxi-rc.c: In function 'sunxi_allocate_msi_domains':
[🔨]   drivers/pci/pcie-sunxi/pcie-sunxi-rc.c:198:26: error: implicit declaration of function 'pci_msi_create_irq_domain'; did you mean 'msi_create_irq_domain'? [-Werror=implicit-function-declaration]
[🔨]     198 |         pp->msi_domain = pci_msi_create_irq_domain(fwnode, &sunxi_msi_info, pp->irq_domain);
[🔨]         |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
[🔨]         |                          msi_create_irq_domain
```

* same story, disable broken patch

```
[🔨]   drivers/iommu/sun55i-iommu.c: In function 'sunxi_iommu_profilling_show':
[🔨]   drivers/iommu/sun55i-iommu.c:1110:1: warning: label 'err' defined but not used [-Wunused-label]
[🔨]    1110 | err:
[🔨]         | ^~~
[🔨]   drivers/iommu/sun55i-iommu.c: At top level:
[🔨]   drivers/iommu/sun55i-iommu.c:1379:43: error: initialization of 'int (*)(struct iommu_domain *, struct device *, struct iommu_domain *)' from incompatible pointer type 'int (*)(struct iommu_domain *, struct device *)' [-Werror=incompatible-pointer-types]
[🔨]    1379 |                 .attach_dev             = sun55i_iommu_attach_dev,
[🔨]         |                                           ^~~~~~~~~~~~~~~~~~~~~~~
[🔨]   drivers/iommu/sun55i-iommu.c:1379:43: note: (near initialization for '(anonymous).attach_dev')
```

* rewrite again

* Update sunxi pci iommu patches and enable them back

* rewrite again

* bump major across branches
closing the circle of life

* Fix compatible string for combophy node in DTS patch

* shift kernel configs and rewrite for 6.19

* force rewrite of left-over combinations
closing the circle

* rewrite patchset against 6.19.4

* fix patch and add missing AC200 stuff again

* sunxi64: add missing kernel options for both current and edge

* sunxi64: rewrite patches against 6.19.6

* sunxi64: rewrite patches against 6.18.16

* sunxi: reorganize AC200 and H618 EMAC patches to apply earlier

- Move AC200 MFD, AC200 Ethernet PHY, and H618 EMAC patches to 0201-0203 series
- Ensures these drivers are available before dependent device tree patches
- Applies to both sunxi-6.18 and sunxi-6.19 kernel series

* sunxi-6.19: disable patch broken in 6.19.7
perhaps megi will find time to fix at some point

* sunxi-6.19: fix broken patch
snd_soc_kcontrol_component() was removed upstream in commit d742ebcfe524.
Use snd_kcontrol_chip() instead, which is the replacement.

* sunxi-6.18: disable broken patch

---------

Co-authored-by: juanesf <juanesf91@gmail.com>
Co-authored-by: Igor Pecovnik <igor@armbian.com>
2026-03-16 08:26:28 +01:00
Sven-Ola Tuecke
528a076674 OrangePi-RV2/R2S: add sdcard and emmc
Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-03-16 07:21:43 +01:00
EvilOlaf
1740bd9748 rockchip64-edge: rewrite patches against 7.0-rc4 2026-03-16 07:21:07 +01:00
Patrick Yavitz
b285822b32 SpacemiT: Disable patches that made it upstream (7.0-rc4)
Fix error handling in emac_alloc_rx_desc_buffers()
Fix error handling in emac_tx_mem_map()
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/net/ethernet/spacemit/k1_emac.c?id=v7.0-rc4&id2=v7.0-rc3

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-16 07:20:53 +01:00
Milivoje Legenovic
50b42fac52 Odroid-M2: Support for weather board zero
Signed-off-by: Milivoje Legenovic <m.legenovic@gmail.com>
2026-03-15 20:10:58 +01:00
SuperKali
e99fefeba5 Youyeetoo YY3588: Enable ES8388 audio on current and edge kernels
Add ES8388 codec support via ES8323 driver on I2C7 with:
- Headphones on LOUT2/ROUT2 with jack detection
- Speaker via CS8120 amplifier on LOUT1/ROUT1
- Onboard microphone and microphone jack inputs
- MCLK routed through I2S0_8CH_MCLKOUT_TO_IO gate clock
- Default mixer state via asound.state
- Board config: add current kernel target, update description
2026-03-15 20:06:27 +01:00
SuperKali
371d9b5335 rockchip64: rk3588: add I2S MCLK output gate clock (GATE_GRF)
On RK3588, the I2S0 MCLK output to the IO pin is gated by
SYS_GRF_SOC_CON6 (offset 0x318, bit 0). Unlike RK3588S where this
gate defaults to open, RK3588 defaults to closed, preventing MCLK
from reaching external audio codecs.

Add a GATE_GRF clock entry (I2S0_8CH_MCLKOUT_TO_IO) following the
pattern established for RK3576 SAI MCLKs using clk-gate-grf.c.
2026-03-15 20:06:27 +01:00
EvilOlaf
2dc5b23a57 rockchip64-current: rewrite patches against 6.18.18 2026-03-15 20:06:07 +01:00
Paolo
430a7b40da
rockchip: restore proper LE patches for rockchip armhf (#9530)
* rockchip: restore correct LE patches for rockchip current and edge kernels
* rockchip: do not disable VPU IOMMU on rk3288
2026-03-15 17:26:56 +01:00
Lemon
4a0341bc74
add: initial support for DG SVR 865 Tiny board (SM8250/QCS8250) (#9423)
* add: initial support for DG SVR 865 Tiny board (SM8250/QCS8250)
* Board design by dg741a, thanks for the contribution! https://github.com/dg741a

### What does this commit do?
Adds initial support for the DG SVR 865 Tiny board based on the QCS8250 (SM8250)
chipset, enabling Armbian builds with ABL booting support.

### Features:
- ABL booting with GPT partition table
- Supports Debian bookworm/trixie and Ubuntu jammy/noble
- Full firmware inclusion with initrd hooks
- PPA repositories for updated GPU drivers on Ubuntu

### Testing status:
- Verified basic boot on DG SVR 865 Tiny hardware
- Serial console functional at 115200n8

### Notes:
- Suspend functionality not supported by current hardware

* fix: add BOARD_VENDOR for DG SVR 865 Tiny

* configs: add support for Qualcomm QCS8250 (SM8250) board

* config: remove non-specific KDE Plasma packages from dg-svr-865-tiny.conf

* board/dg-svr-865-tiny: drop redundant vulkan packages installation

* board/dg-svr-865-tiny: refactor userspace check with wrapper function (DRY)

Refactor repeated userspace support check into a wrapper function to follow DRY principle.
2026-03-15 17:25:14 +01:00
Sven-Ola Tuecke
a76df5fce8
OrangePi-RV2: rename x1_orangepi to k1-orangepi dtb/dts (#9531)
Some checks failed
Data: Sync board list / Send dispatch (push) Has been cancelled
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Has been cancelled
Infrastructure: Mirror to Codeberg / codeberg (push) Has been cancelled
Maintenance: Announce merge / announcepush (push) Has been cancelled
Maintenance: Security scan / Scorecards analysis (push) Has been cancelled
Rename DTS/DTB files for OrangePi RV2/R2S to match the
filename expected from Linux-7.x upstream. See discussion
on https://github.com/armbian/build/pull/9518

Signed-off-by: Sven-Ola Tuecke <sven-ola@gmx.de>
2026-03-15 09:32:43 +01:00
retro98boy
7cda4b479b CAINIAO CNIoT-CORE: Improvement and GPIO fix in dts 2026-03-14 17:18:47 +01:00
EvilOlaf
d48b57868a meson64-current: rewrite patches against 6.18.18 2026-03-14 16:54:36 +01:00
Patrick Yavitz
76c34dd481 SpacemiT: Introduce pio for k1
https://lore.kernel.org/spacemit/abG3ofh1nLWPO_XS@aurel32.net/T/#t

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-13 15:52:16 -04:00
Patrick Yavitz
e2c4e05a9f SpacemiT: BananaPi BPI-F3: Assign the CPU power supply
Assign CPU power supply to fully enable CPU DVFS.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-13 15:52:16 -04:00
Patrick Yavitz
b0a24dcea5 SpacemiT: Add cpu scaling for K1 SoC (WIP)
https://lore.kernel.org/spacemit/20260308-shadow-deps-v1-0-0ceb5c7c07eb@mailbox.org/T/#t

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-13 15:52:16 -04:00
Patrick Yavitz
da7ad8b30e SpacemiT: Miscellaneous fixups
https://lore.kernel.org/spacemit/20260307043806.957175-1-amadeus@jmu.edu.cn/T/#t
https://lore.kernel.org/spacemit/177285302252.135595.8145843484531781952.git-patchwork-notify@kernel.org/T/#t
https://lore.kernel.org/spacemit/177285301226.135595.13840950042647803809.git-patchwork-notify@kernel.org/T/#t

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-13 15:52:16 -04:00
Patrick Yavitz
b13ab2180e SpacemiT: disable local interrupts and stop other CPUs before restart
https://lore.kernel.org/all/20260311-v7-0-rc1-rv-dis-int-before-restart-v1-1-bc46b4351cac@linux.dev/

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-13 15:52:16 -04:00
Patrick Yavitz
b082db653d SpacemiT: Add sdhci0 node to BPI-F3 / MusePi Pro and fixups regs
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-13 15:52:16 -04:00
Patrick Yavitz
2824c7c72e SpacemiT: Update MusePi Pro DTS
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-13 15:52:16 -04:00
Patrick Yavitz
ffe48c2986 SpacemiT: Enable SD card support with UHS modes
https://lore.kernel.org/spacemit/CANAwSgRcatU3BQrsd11kA-nj_xos_Oa_47p0P_K+RYrB6QtfXA@mail.gmail.com/T/#t

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-03-13 15:52:16 -04:00
retro98boy
addbce18a7
csc board: Add NORCO EMB-3531 initial support (#9456)
Some checks failed
Data: Sync board list / Send dispatch (push) Has been cancelled
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Has been cancelled
Infrastructure: Mirror to Codeberg / codeberg (push) Has been cancelled
Maintenance: Announce merge / announcepush (push) Has been cancelled
Maintenance: Security scan / Scorecards analysis (push) Has been cancelled
2026-03-10 08:26:16 +01:00
Paolo
d114509686
rockchip: fresh LibreELEC patch import for edge 6.19 kernel (#9506)
Some checks failed
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Has been cancelled
Infrastructure: Mirror to Codeberg / codeberg (push) Has been cancelled
Maintenance: Announce merge / announcepush (push) Has been cancelled
Maintenance: Security scan / Scorecards analysis (push) Has been cancelled
2026-03-09 19:44:40 +01:00
EvilOlaf
088f92599e rockchip64: edge: rewrite patchset against 7.0-rc3 2026-03-09 19:36:59 +01:00
Paolo Sabatino
26b865654a rockchip64: reinstate tm16xx driver rebased upon kernel 7.0 2026-03-09 19:36:59 +01:00
Paolo Sabatino
37142830bb rockchip64: fix usbc phy patch for kernel 7.0 2026-03-09 19:36:59 +01:00
EvilOlaf
937182ebd7 rockchip64: 7.0: rewrite patches to address changes caused by rebase 2026-03-09 19:36:59 +01:00
EvilOlaf
aa44fce611 rockchip64: rewrite patches against 7.0-rc2 2026-03-09 19:36:59 +01:00
EvilOlaf
9a5a24e0cf rockchip64: 7.0: rk3528-net-dsa-realtek-fixes-for-radxa-e24c-switch-chip: split patch into two
splitting out the in 7.0 broken part and disabling it. If this is a good idea, I don't know.
2026-03-09 19:36:59 +01:00
EvilOlaf
f8a89b440b rockchip64: 7.0: fix rk3308 10mbit ethernet patch 2026-03-09 19:36:59 +01:00
EvilOlaf
9e4a528711 rockchip64: 7.0: fix media-0007 avi iommu driver patch 2026-03-09 19:36:59 +01:00