Rewrite the 13 overlays of spacemit-6.6 and of spacemit-6.18 from
fragment@N { target = <&x>; __overlay__ { ... }; }; to &x { ... };
as in mainline.
Each .dtbo is unchanged: cpp + dtc -@, decompiled with -s, compares
equal before and after. kernel-dtb for bananapif3, legacy and current:
all 44 .dtb, .dtbo and .scr files are byte-identical to the build
before the rename.
Rename the 13 overlays of spacemit-6.6 and of spacemit-6.18 from .dts
to .dtso, the kernel's extension for overlay sources. kbuild then
builds them with its own %.dtbo: %.dtso rule (DTC) instead of the
dtco rule that Armbian's overlay patch adds for %.dts. Content is
unchanged.
Review on #11552: one shared counter let a second storming line slip past the cut-off, and the re-arm work could be queued again after it was cancelled on suspend/remove.
Signed-off-by: jbuck2005 <59450931+jbuck2005@users.noreply.github.com>
- 4018: 7.3.6 made reg-fixed-voltage reject every ACPI (PRP0001) fixed regulator, so on an Orange Pi 6 the NVMe slot's power switch never binds and the root file system on NVMe is not found.
- 4016: ack the LTSSM-transition indication on the AER lines and guard against spurious AER interrupt storms.
- 4017: scan the whole asym capacity domain on wakeup (7.2+ SIS_UTIL regression, 12-19% slower multi-threaded work); stop-gap until mainline fixes it.
Signed-off-by: jbuck2005 <59450931+jbuck2005@users.noreply.github.com>
Without m25p,fast-read, spi-nor reads the flash with READ (03h). The
MX25U6435F datasheet (Rev. 1.5, Table 16) rates READ at 50 MHz and
FAST_READ at 104 MHz; the N2 DT sets 104 MHz, and spifc on an N2+
runs at clk81 (222 MHz) / 2, about 111 MHz.
On an N2+ with READ, bit 7 of the first byte of a read was wrong in
36 of 50 4 KiB blocks, and flashcp failed on every run. With this
overlay: 0 of 200 blocks, and three flashcp runs of 1 MiB with eMMC
reads running passed. XTX flashes were not tested.
Stable commit 8eb49d677 rejects platform devices without an OF node.
This also rejects the ACPI PCIe slot regulators. Three PCIe
controllers then defer forever, so Ethernet and Wi-Fi are missing.
Accept devices with an ACPI companion in the 0033 patch.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v7.3.6 brought the stable fix that makes the iris driver reserve the
low 600 MB of IOVA itself. The Q8B DTS still reserved the same range
through iommu-addresses, so the driver could not get it and the probe
failed with -ENOMEM. Leave the reservation to the driver.
Signed-off-by: SuperKali <hello@superkali.me>
7.3.7 and 6.18.66 bring the upstream version of this patch, split in
three (mmc: meson-gx: name the limit of the CMD_CFG timeout field,
honour the busy timeout for R1b commands, report the longest busy wait
the controller can do), and with it mmc: meson-gx: report busy from
DAT0 alone. The copy fails to apply on 7.3.7-rc1 and 6.18.66-rc1.
Rewrite the overlays of meson64-6.18, 7.3 and 7.4 from
fragment@N { target = <&x>; __overlay__ { ... }; }; to &x { ... };
and target-path = "/p" to &{/p}, as in mainline.
Each .dtbo is unchanged: cpp + dtc -@, decompiled with -s, compares
equal before and after for all 33 overlays of each version; dtc prints
the same warnings.
Left as they are: meson-g12-pwm-gpiox-5-fan and
meson-g12b-bananapi-cm4-pwm-gpioh-5-fan (polling-delay sits in the
fragment, outside __overlay__), and in 6.18 meson-i2cA, i2cB, uartA,
uartC (no /plugin/).
* board: add OnePlus 10 Pro (SM8450)
Add oneplus-negroni as a community board on edge.
The stock ABL boots a boot v4 image from boot_b and an ext4 root in userdata.
The kernel replaces the ABL device tree with its built-in mainline DTB.
Tested on NE2210 with ColorOS J.94 and Debian trixie minimal.
Assisted-by: Claude:claude-opus-5-5
* chore: update board name
- net: phy: realtek: reset after clock enable (Sebastian Reichel, not on lore): f8b1e58aff
- net: phy: realtek: re-init after reset (Sebastian Reichel, not on lore): 2fa49d2edb
Assisted-by: Claude:claude-opus-5-5
Take Sebastian Reichel's v9 as Manivannan Sadhasivam applied it to
pci/next. Against v8, rockchip_pcie_rc_reset_root_port() uses the
controller mode helper, the DLL unmask helper becomes
rockchip_pcie_unmask_dll_interrupts() with a flag for the link up/down
event, and rockchip_pcie_suspend() caches the INTx mask after
dw_pcie_suspend_noirq() and drops the pci->suspended check.
Link: https://lore.kernel.org/r/20261105-rockchip-pcie-system-suspend-v9-0-a2e55846649e@collabora.com
Take Sebastian Reichel's v9 as Manivannan Sadhasivam applied it to
pci/next. Against v8, rockchip_pcie_rc_reset_root_port() uses the
controller mode helper, the DLL unmask helper becomes
rockchip_pcie_unmask_dll_interrupts() with a flag for the link up/down
event, and rockchip_pcie_suspend() caches the INTx mask after
dw_pcie_suspend_noirq() and drops the pci->suspended check.
v9-00, the backport of f845c1e2d2d4, is unchanged.
Link: https://lore.kernel.org/r/20261105-rockchip-pcie-system-suspend-v9-0-a2e55846649e@collabora.com
Add a DT patch for meson-g12b-odroid-n2-plus.dts to the current (6.18),
edge (7.3) and bleedingedge (7.4) kernels: max-frequency 200 MHz and
sd-uhs-sdr12..sdr104 on the SD controller, as the ODROID-C4/HC4 already
have. The plain ODROID-N2 is not changed.
- Fn-Link FCS960K (AIC8800D80) Wi-Fi on sdmmc1 M0 (`&sdio`): 4-bit, SDR50/SDR104, vqmmc vcc_1v8_s3 (module VCCIO_WL), vmmc vcc_3v3_s3, non-removable, keep-power-in-suspend, wakeup-source; same reference design and nodes as ArmSoM Sige5
- mmc-pwrseq-simple: WL_REG_ON on GPIO1_C6 (active low reset, 200 ms post-power-on delay, as in the vendor DT), 32 kHz LPO from the PCF8563 clkout (R72 fitted, SoC CLK1_32K_OUT path R71 DNP); RTC node gets a `pcf8563` label
- Bluetooth: `&uart4` (M1, RTS/CTS) for the HCI H4 link at 1500000 baud, attached from userspace by aic-bluetooth.service (as on H96 MAX M9, same pins); BT_REG_ON / host wake GPIOs not described
- WIFI_PWREN_L (GPIO0_D1) not described: its P-FET (Q18) is DNP and VBAT goes through R249 0R on this board; Wi-Fi host wake (GPIO0_B0) not described yet
- drivers come from the aic8800-sdio-dkms package (radxa-aic8800 extension)
- tested: SDIO c8a1:0082 / c8a1:0182 at UHS SDR104 198 MHz, 1.8 V; wlan0 scans and associates (5 GHz); hci0 on ttyS4 comes up at boot, powers on and scans
Assisted-by: Claude:claude-opus-5-5
- pwm-fan on pwm0_2ch_0 (fan PWM pulled down so the fan is off while the PWM is disabled), tach on GPIO3_C5, 4 cooling levels
- package_thermal active trips at 35/45/55/65 °C mapped to the fan levels
- not in the upstream DT: needs the RK3576 PWMv4 driver and dtsi nodes (rk3576-pwm-v5 patch, https://lore.kernel.org/all/20260420-rk3576-pwm-v5-1-ae7cfbbe5427@collabora.com/)
Assisted-by: Claude:claude-opus-5-5
- same DT as the upstream submission; checked against Seeed's public schematic: https://files.seeedstudio.com/wiki/reComputer_RK/Documents/recomputer_rk3576/RECOMPUTER%20RK3576_V1.0_SCH_2026.pdf
- dt-check-style --mode=strict order, blank lines, `gpio` on all fixed regulators, short one-line comments
- DP alt mode on the USB-C port: dp0 (VP1) through usbdp_phy `ports` (SS out/in, DP in, AUX out), connector SBU port, DP altmode vdo 0x1c46 (DFP_D, HBR3, receptacle, pin assignments C/D/E), same graph as RK3576 EVB1
- USB-C source only (board is powered from the DC jack/PoE; SY6280 VBUS switch, 1 A): power-role source, 5V/1A source PDO
- SARADC keys: maskrom (ch0, KEY_SETUP) and recovery (ch1, KEY_VENDOR), as on NanoPi M5; the old "Volume Up" key was really the recovery button; maskrom keyup threshold 728 mV (ch0 idles at the boot-strap divider level, 10K/6.8K on 1.8 V)
- headphone jack detect (GPIO2_B7) active high (high = plugged; was inverted, so DAPM muted the headphones), as in the vendor DT
- `&pd_gpu` domain-supply (vdd_gpu_s0); the pmdomain driver part is the RK3576 GPU domain supply patch already in this tree
- saradc vref from vcca1v8_pldo2_s0; EEPROM supply vcc_1v8_s3
- LED nodes renamed led-0/1/2 (labels unchanged: color + function); SD: drop cap-mmc-highspeed; usb_drd0: drop the default dr_mode
- no PWM fan here (no PWMv4 driver upstream yet), see the next commit
Assisted-by: Claude:claude-opus-5-5
JetHub J80 has the vrtc and a battery-backed pcf8563. They probe in a
random order, so rtc0 is sometimes the vrtc. Then the system clock at
boot and hwclock do not use the pcf8563.
Add aliases: rtc0 is the pcf8563, rtc1 is the vrtc. Same as for the
Khadas VIM boards.
- 26219e9402c2 (v7.4-rc2): take ownership of saved RX state at poll entry
- 834ec9530832 (v7.4-rc2): drop split frames whole
- ece404eac250 (mainline): drop the rest of the frame when
napi_build_skb() fails
Assisted-by: Claude
Signed-off-by: Arun Iyengar <aiyengar1990@gmail.com>
Three fixes for video planes that go through the A10/A20 display
frontend (scaled or YUV planes, e.g. a VDPAU or Xv video window):
- honour the source offset of tiled semi-planar buffers: a video
window moved partly off-screen showed the wrong part of the picture;
- select the scaler filter by the scaling ratio (the BSP's filter
table): downscaled planes aliased;
- skip input lines to stay within the frontend's throughput and refuse
planes it cannot fetch: a plane downscaled more than about 2x made
the whole screen slip lines. The limits were measured on one A20
at DRAM 432 MHz with a single 1080p60 head; at Armbian's default
384 MHz or with a second head they are optimistic, and some planes
that worked before (e.g. XRGB8888 downscaled 3.33x) are now refused.
One patch at its alphabetical slot: each fix builds on the code of the
one before, so they cannot apply on their own. At this slot the
dedicated-DMA-device (6.18) and A523 HDMI patches apply with a line
offset, without fuzz.
Tested on a Cubietruck (A20, 1080p60 HDMI) with 6.18.56; the MK802
(A10) runs the same patches, the planes were measured on the A20 only.
7.3.5: builds, not booted.
Assisted-by: Claude:claude-opus-5-5
- rk3576-npu-v18-rocket.patch: the 8 rocket, dt-binding and DTS patches of
v18, as posted; replaces the rebased v17 (whose 1-4 are in v7.4-rc4).
- rk3576-npu-pmdomain-applied-ulfh.patch: the three pmdomain patches as Ulf
Hansson applied them (1/3 in his fixes, 2/3 and 3/3 in his next); same
code as v17's, with the tags they were applied with.
- rk3576-npu-iommu-rockchip-banks.patch: iommu/rockchip: Disable paging on
banks that still page before a force reset, as posted. Without it an NPU
job timeout can leave the NPU unrecoverable until the driver is rebound.
rpi-6.18.y gives the 36-bit DMA mask only to the HVS. drm_gem_dma
still allocates on the 32-bit vc4 device behind the IOMMU. The Pi 5
gets no console and no desktop on HDMI.
Signed-off-by: Igor Pecovnik <igor@armbian.com>
Linux 7.3.6 has bdd8913e4731, the backport of f434191f9388 ("net: phy:
marvell: keep WOL_EIE across interrupt reconfiguration"). It removes
the MII_88E1318S_PHY_CSIER macros that the three patches use, so they
no longer apply.
- 30: upstream clears WOL_EIE when WoL is disabled; the patch keeps
only the LED[2]/INTn pin restore.
- 31: upstream makes the interrupt handler claim the WoL event; the
patch adds only pm_wakeup_event() to it. The wake IRQ setup is as
before.
- 32: the interrupt mask restored on resume and on a failed suspend is
the one m88e1318_config_intr() sets, WoL event included.
Tested on Helios4 (88E1512), 7.3.6, s2idle: a magic packet wakes the
board 3 times out of 3 with pm_wakeup_irq = 41 (PHY); without a packet
it wakes from the RTC alarm; with power/wakeup disabled the packet does
not wake it. "wol d"/"wol g" 5 times: no interrupt storm, WOL_EIE
follows the setting.
Upstream commit 6cb1f09e1f69 fixes the same deferred-bind bug in
mtk_soundcard_common_probe(). Stable 7.3.6 includes it.
Signed-off-by: Igor Pecovnik <igor@armbian.com>
Stable commit d1314a548 changes the Armada 38x Kconfig context, so the
patch does not apply on 6.6.163. The patch selects ARCH_WANT_LIBATA_LEDS
and sets ATA_LEDS, but 6.6 defines neither symbol. It has no effect.
mvebu-7.3 already disables it.
Signed-off-by: Igor Pecovnik <igor@armbian.com>
Linux 7.3.6 contains the helios4 DTS fixes (23-26) and the Armada 38x
errata fix (60) as stable backports.
Stable commit bdd8913e4 reworks the 88E1318S/88E1510 WOL_EIE handling.
WoL patches 30-32 conflict with it, so drop them until a rebase.
Signed-off-by: Igor Pecovnik <igor@armbian.com>
Stable 6.12.119 renames rk356x.dtsi to rk356x-base.dtsi, so the
patch does not apply. Sunxi kernels do not enable ARCH_ROCKCHIP.
sunxi-6.18 and sunxi-7.3 do not carry the patch.
Signed-off-by: Igor Pecovnik <igor@armbian.com>
Stable commit 339391844 removes dsp_lock and the error_operation
label from aw_dev_dsp_update_container(). Drop them from the Odin2
I2C write path too.
Signed-off-by: Igor Pecovnik <igor@armbian.com>
Upstream commit 128115b520c6 registers the rk8xx power-off handler
in SYS_OFF_MODE_POWER_OFF. Stable 6.18.65 and 7.3.6 include it.
The Armbian patch now conflicts with it.
Signed-off-by: Igor Pecovnik <igor@armbian.com>
Linux 7.3.6 contains 0115, 0116 and 0126 as stable backports.
Stable commit d254d8ecb changes the phy_mask line in dw_hdmi_probe().
Update 0040-0033 to match. The kernel patching step now passes.
Signed-off-by: Igor Pecovnik <igor@armbian.com>
- v7.3.6 has "PCI/pwrctrl: tc9563: Allow RESX reset assertion to sleep"
- refresh two context lines (`gpiod_set_value_cansleep()`) so the patch applies again
Assisted-by: Claude:claude-opus-5-5
Backport of 414cb6f3ac62 ("iommu/rockchip: Drop global rk_ops in favor of
per-device ops"), which is in mainline but not in 6.18.
On RK3566 the NPU MMU is a v1 block while VOP, VEPU and VDPU are v2. With a
single global rk_ops the driver can serve only one of them, so the NPU MMU
cannot be enabled without giving up display and hardware video decode.
Kept as a backport: the authorship and the tags of the upstream commit are
preserved in the patch header. The rk_iommu_domain_alloc_paging() hunk is
adapted because 6.18 allocates the page directory before it looks up the
iommu; the attach_device() check that refuses a domain of the other
page-table format is included, as upstream.
- rocket v17 1-4 are upstream in v7.4-rc4 (drm-misc-fixes); drop them
- rebase v17 5-12 over 7.4's other rocket fixes (iommu_group, DT core numbering, rocket_vm); each touched patch has a `[rpardini: ...]` note
- pmdomain v17 and Leonard Lausen's GPU domain supply dumps unchanged
Assisted-by: Claude:claude-opus-5-5
7.3.6 backports the panfrost probe/remove PM refcount fix (upstream e9672bf9382f).
Move the pin into the new probe and remove paths, as in meson64-7.4.