airoha: an7581: add support for kernel 6.12
authorKenneth Kasilag <[email protected]>
Sat, 13 Sep 2025 10:47:21 +0000 (10:47 +0000)
committerRobert Marko <[email protected]>
Tue, 16 Sep 2025 15:29:09 +0000 (17:29 +0200)
commit122135b96455dbbaed26d5ab04afcd4343293e0f
tree2f25db8656a98e1b9d37f30d8a590e0fb4a4816b
parent87f3bf704c54ae8b5f3b7fbdef1bfaa0492868c7
airoha: an7581: add support for kernel 6.12

Enable kernel 6.12 as the testing kernel for airoha.

This first commit will largely maintain feature-parity with kernel 6.6.

DTS changes are backwards-compatible with kernel 6.6.

Tested to flash and boot on Gemtek W1700K (#17869).

Signed-off-by: Kenneth Kasilag <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19038
Signed-off-by: Robert Marko <[email protected]>
58 files changed:
target/linux/airoha/Makefile
target/linux/airoha/an7581/config-6.12
target/linux/airoha/patches-6.12/001-v6.10-arm64-add-Airoha-EN7581-platform.patch [deleted file]
target/linux/airoha/patches-6.12/002-v6.11-i2c-mt7621-Add-Airoha-EN7581-i2c-support.patch [deleted file]
target/linux/airoha/patches-6.12/006-v6.11-net-airoha-Introduce-ethernet-support-for-EN7581-SoC.patch [deleted file]
target/linux/airoha/patches-6.12/007-v6.11-net-airoha-fix-error-branch-in-airoha_dev_xmit-and-a.patch [deleted file]
target/linux/airoha/patches-6.12/008-v6.11-net-airoha-Fix-NULL-pointer-dereference-in-airoha_qd.patch [deleted file]
target/linux/airoha/patches-6.12/009-v6.11-net-airoha-Fix-MBI_RX_AGE_SEL_MASK-definition.patch [deleted file]
target/linux/airoha/patches-6.12/010-01-v6.12-net-airoha-Introduce-airoha_qdma-struct.patch [deleted file]
target/linux/airoha/patches-6.12/010-02-v6.12-net-airoha-Move-airoha_queues-in-airoha_qdma.patch [deleted file]
target/linux/airoha/patches-6.12/010-03-v6.12-net-airoha-Move-irq_mask-in-airoha_qdma-structure.patch [deleted file]
target/linux/airoha/patches-6.12/010-04-v6.12-net-airoha-Add-airoha_qdma-pointer-in-airoha_tx_irq_.patch [deleted file]
target/linux/airoha/patches-6.12/010-05-v6.12-net-airoha-Use-qdma-pointer-as-private-structure-in-.patch [deleted file]
target/linux/airoha/patches-6.12/010-06-v6.12-net-airoha-Allow-mapping-IO-region-for-multiple-qdma.patch [deleted file]
target/linux/airoha/patches-6.12/010-07-v6.12-net-airoha-Start-all-qdma-NAPIs-in-airoha_probe.patch [deleted file]
target/linux/airoha/patches-6.12/010-08-v6.12-net-airoha-Link-the-gdm-port-to-the-selected-qdma-co.patch [deleted file]
target/linux/airoha/patches-6.12/011-v6.12-net-airoha-honor-reset-return-value-in-airoha_hw_ini.patch [deleted file]
target/linux/airoha/patches-6.12/012-v6.12-net-airoha-configure-hw-mac-address-according-to-the.patch [deleted file]
target/linux/airoha/patches-6.12/013-v6.12-net-airoha-fix-module-autoloading.patch [deleted file]
target/linux/airoha/patches-6.12/015-v6.12-net-airoha-Update-tx-cpu-dma-ring-idx-at-the-end-of-.patch [deleted file]
target/linux/airoha/patches-6.12/018-01-v6.10-clk-en7523-Add-en_clk_soc_data-data-structure.patch [deleted file]
target/linux/airoha/patches-6.12/018-02-v6.10-clk-en7523-Add-EN7581-support.patch [deleted file]
target/linux/airoha/patches-6.12/019-01-v6.11-clk-en7523-Add-reset-controller-support-for-EN7581-S.patch [deleted file]
target/linux/airoha/patches-6.12/019-02-v6.11-clk-en7523-Remove-pcie-prepare-unpreare-callbacks-fo.patch [deleted file]
target/linux/airoha/patches-6.12/019-03-v6.11-clk-en7523-Remove-PCIe-reset-open-drain-configuratio.patch [deleted file]
target/linux/airoha/patches-6.12/020-v6.11-dt-bindings-clock-airoha-Add-reset-support-to-EN7581.patch [deleted file]
target/linux/airoha/patches-6.12/021-01-v6.12-PCI-mediatek-gen3-Add-mtk_gen3_pcie_pdata-data-struc.patch [deleted file]
target/linux/airoha/patches-6.12/021-02-v6.12-PCI-mediatek-gen3-Rely-on-reset_bulk-APIs-for-PHY-re.patch [deleted file]
target/linux/airoha/patches-6.12/021-03-v6.12-PCI-mediatek-gen3-Add-Airoha-EN7581-support.patch [deleted file]
target/linux/airoha/patches-6.12/022-v6.11-phy-airoha-Add-PCIe-PHY-driver-for-EN7581-SoC.patch [deleted file]
target/linux/airoha/patches-6.12/023-v6.11-phy-airoha-Add-dtime-and-Rx-AEQ-IO-registers.patch [deleted file]
target/linux/airoha/patches-6.12/024-v6.12-phy-airoha-adjust-initialization-delay-in-airoha_pci.patch [deleted file]
target/linux/airoha/patches-6.12/025-01-v6.13-phy-airoha-Fix-REG_CSR_2L_PLL_CMN_RESERVE0-config-in.patch [deleted file]
target/linux/airoha/patches-6.12/025-02-v6.13-phy-airoha-Fix-REG_PCIE_PMA_TX_RESET-config-in-airoh.patch [deleted file]
target/linux/airoha/patches-6.12/025-03-v6.13-phy-airoha-Fix-REG_CSR_2L_JCPLL_SDM_HREN-config-in-a.patch [deleted file]
target/linux/airoha/patches-6.12/025-04-v6.13-phy-airoha-Fix-REG_CSR_2L_RX-0-1-_REV0-definitions.patch [deleted file]
target/linux/airoha/patches-6.12/025-v6.10-spi-airoha-add-SPI-NAND-Flash-controller-driver.patch [deleted file]
target/linux/airoha/patches-6.12/026-01-v6.12-spi-airoha-fix-dirmap_-read-write-operations.patch [deleted file]
target/linux/airoha/patches-6.12/026-02-v6.12-spi-airoha-fix-airoha_snand_-write-read-_data-data_l.patch [deleted file]
target/linux/airoha/patches-6.12/027-v6.12-spi-airoha-remove-read-cache-in-airoha_snand_dirmap_.patch [deleted file]
target/linux/airoha/patches-6.12/029-v6.12-net-dsa-mt7530-Add-EN7581-support.patch [deleted file]
target/linux/airoha/patches-6.12/033-01-v6.13-clk-en7523-remove-REG_PCIE-_-MEM-MEM_MASK-configurat.patch [deleted file]
target/linux/airoha/patches-6.12/033-02-v6.13-clk-en7523-move-clock_register-in-hw_init-callback.patch [deleted file]
target/linux/airoha/patches-6.12/033-03-v6.13-clk-en7523-introduce-chip_scu-regmap.patch [deleted file]
target/linux/airoha/patches-6.12/033-04-v6.13-clk-en7523-fix-estimation-of-fixed-rate-for-EN7581.patch [deleted file]
target/linux/airoha/patches-6.12/034-01-v6.13-pinctrl-airoha-Add-support-for-EN7581-SoC.patch [new file with mode: 0644]
target/linux/airoha/patches-6.12/034-02-v6.13-pinctrl-airoha-Use-unsigned-long-for-bit-search.patch [new file with mode: 0644]
target/linux/airoha/patches-6.12/034-v6.13-pinctrl-airoha-Add-support-for-EN7581-SoC.patch [deleted file]
target/linux/airoha/patches-6.12/035-v6.13-clk-en7523-Fix-wrong-BUS-clock-for-EN7581.patch [deleted file]
target/linux/airoha/patches-6.12/037-v6.14-net-airoha-Fix-error-path-in-airoha_probe.patch [deleted file]
target/linux/airoha/patches-6.12/045-v6.14-net-airoha-Fix-wrong-GDM4-register-definition.patch [deleted file]
target/linux/airoha/patches-6.12/048-01-v6.15-net-airoha-Move-airoha_eth-driver-in-a-dedicated-fol.patch
target/linux/airoha/patches-6.12/048-13-v6.15-net-airoha-Introduce-flowtable-offload-support.patch
target/linux/airoha/patches-6.12/060-v6.16-02-net-phy-mediatek-add-Airoha-PHY-ID-to-SoC-driver.patch
target/linux/airoha/patches-6.12/083-02-v6.16-of-reserved_mem-Add-functions-to-parse-memory-region.patch
target/linux/airoha/patches-6.12/105-uart-add-en7523-support.patch
target/linux/airoha/patches-6.12/108-pwm-airoha-Add-support-for-EN7581-SoC.patch
target/linux/airoha/patches-6.12/200-spinlock-extend-guard-with-spinlock_bh-variants.patch [deleted file]