Chuanhong Guo
7f6895da27
siflower: switch to kernel 6.18 and drop 6.12
...
The only two boards supported in this target are tested with 6.18
and they both work fine.
Switch to 6.18 directly without going through a testing phase.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com >
2026-08-24 23:02:39 +08:00
Chuanhong Guo
46da9cc91b
siflower: fix drivers for kernel 6.18
...
Update drivers for 6.18.
For SF19:
1. update the GPIO set callback to return status and use the restored
platform driver remove callback.
2. drop the obsolete PCS-ignore flag. Linux 6.18 removed the broken
legacy PCS ethtool and carrier handling, making phylink
authoritative unconditionally.
For SF21:
1. update the PCIe and XPCS remove callbacks
2. pass the new negotiation mode argument to the PCS state callback
3. replace the now-private init_dummy_netdev() helper with an allocated
dummy netdev.
4. Track initialized NAPI contexts so probe failures and device removal
release only valid resources.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com >
2026-08-24 23:02:39 +08:00
Chuanhong Guo
e4ef66738c
siflower: refresh kernel 6.18 configurations
...
refresh kconfig for both subtargets and disable a few new riscv
vendor extensions unrelated to this board.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com >
2026-08-24 23:02:39 +08:00
Chuanhong Guo
d5f689e2cb
siflower: refresh kernel 6.18 patches
...
all patches refreshed without conflicts.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com >
2026-08-24 23:02:39 +08:00
Chuanhong Guo
16caec1f66
siflower: restore files for v6.12
...
This is an automatically generated commit which aids following Kernel patch
history, as git will see the move and copy as a rename thus defeating the
purpose.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Chuanhong Guo <gch981213@gmail.com >
2026-08-24 23:02:39 +08:00
Chuanhong Guo
f93de5b0e2
siflower: create files for v6.18 (from v6.12)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com >
2026-08-24 23:02:39 +08:00
Shiji Yang
716ca269bc
kernel: bump 6.12 to 6.12.103
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.103
New kconfig symbol:
- EROFS_FS_ZIP_LZMA_DEFAULT_MAX_STREAMS[1]
All patches are automatically refreshed.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.103&id=0c676903cb2a61992ded8e7907609cc6b0f11744
Signed-off-by: Shiji Yang <yangshiji66@outlook.com >
Link: https://github.com/openwrt/openwrt/pull/24551
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2026-08-13 00:22:32 +02:00
Shiji Yang
bdc22af245
kernel: bump 6.12 to 6.12.102
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.101
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.102
Upstream merged patches:
- generic/backport-6.12/620-v6.15-ppp-use-IFF_NO_QUEUE-in-virtual-interfaces.patch[1]
- generic/backport-6.12/621-v6.17-ppp-convert-to-percpu-netstats.patch[2]
- generic/backport-6.12/625-v7.0-ppp-enable-TX-scatter-gather.patch[3]
- generic/pending-6.12/303-powerpc-85xx-Add-fsl-ifc-to-common-device-ids.patch[4]
Manually rebased patches:
- bcm27xx/patches-6.12/950-0006-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch[5]
- bcm27xx/patches-6.12/950-0333-xhci-quirks-add-link-TRB-quirk-for-VL805.patch[5]
- bcm27xx/patches-6.12/950-0334-usb-xhci-add-VLI_SS_BULK_OUT_BUG-quirk.patch[5]
- bcm27xx/patches-6.12/950-0335-usb-xhci-add-XHCI_VLI_HUB_TT_QUIRK.patch[5]
New kconfig symbol:
- GPU_BUDDY [6]
Obsolete kconfig symbol:
- DRM_LIB_RANDOM [6]
All other patches are automatically refreshed.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.101&id=cc92d8e5753da5d4e8fbc3a3a1742b1646492099
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.101&id=fa4e1dad10e78f96876784c3e1b5566da59e7d90
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.101&id=ff24b5075329f2f8d36a16cf156cf27458997660
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.101&id=3612dccaa22bcc75fd10ceb14aef60d693567cf3
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.101&id=c4657f5438fb8c2dfbe6e23b28f2a2bd5aaf8116
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.101&id=1c44c262a0c2dfd083dc00308d6488d23b58b59e
Signed-off-by: Shiji Yang <yangshiji66@outlook.com >
Link: https://github.com/openwrt/openwrt/pull/24551
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2026-08-13 00:22:31 +02:00
Qingfang Deng
867c857b93
kernel: disable pcrypt
...
The obsolete pcrypt module is being removed upstream.
Signed-off-by: Qingfang Deng <dqfext@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/24222
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com >
2026-07-15 20:18:09 +02:00
Rosen Penev
0cce5275b6
treewide: convert ranges to new syntax
...
Same as e1c2f02325 but for ranges.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/24133
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com >
2026-07-08 22:15:47 +02:00
Rosen Penev
9fedddbc1e
treewide: remove factory:
...
For the most part, factory: remains as a hold over from nvmem-layout
conversion and no longer serves any purpose.
In the case of &factory sections, reduce identation slightly by
referencing the nvmem-layout node instead.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/24008
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com >
2026-07-02 10:03:37 +02:00
Mieczyslaw Nalewaj
9bca272330
kernel: sync target configs after JUMP_LABEL changes
...
CONFIG_JUMP_LABEL is no longer meant to be set explicitly in target
kernel configs after 3be02c118f ("kernel: enable static key").
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/23293
Signed-off-by: Robert Marko <robimarko@gmail.com >
2026-05-11 10:33:46 +02:00
Chukun Pan
ba7aa2a971
generic: backport MSI affinity support for DW PCIe
...
Currently, the DesignWare PCIe driver cannot configure interrupts on
SoC that do not support MSIX. All MSI interrupts are handled by CPU0.
Backport MSI affinity support for the PCI dwc driver from linux-next,
so now we can adjust MSI interrupts to other CPU cores.
Tested on HINLINK H28K (RK3528) and OrangePi R2S (Ky X1).
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn >
Link: https://github.com/openwrt/openwrt/pull/21770
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2026-04-26 14:28:31 +02:00
Rosen Penev
669a7375a6
treewide: use _scoped for loop
...
Avoids refcount problems and slightly simplifies code.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/21176
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2026-04-16 21:17:43 +02:00
Shiji Yang
c3109a565c
kernel: 6.12: move CONFIG_CRYPTO_LIB_SHA1 to generic
...
This symbol is selected by CONFIG_BPF, which was already enabled
on generic config-6.12.
Signed-off-by: Shiji Yang <yangshiji66@outlook.com >
Link: https://github.com/openwrt/openwrt/pull/22730
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2026-04-06 01:38:41 +02:00
John Audia and Shiji Yang
d0784a69dd
kernel: bump 6.12 to 6.12.75
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.75
Removed upstream:
bcm27xx/patches-6.12/950-0225-media-i2c-ov5647-Correct-pixel-array-offset.patch[1]
bcm27xx/patches-6.12/950-0226-media-i2c-ov5647-Correct-minimum-VBLANK-value.patch[2]
bcm27xx/patches-6.12/950-0248-media-i2c-ov5647-Sensor-should-report-RAW-color-spac.patch[3]
qualcommax/patches-6.12/0074-v6.20-clk-qcom-gcc-ipq5018-flag-sleep-clock-as-critical.patch[4]
Manually rebased:
bcm27xx/patches-6.12/950-0262-mfd-simple-mfd-i2c-Add-configuration-for-RPi-POE-HAT.patch
bcm27xx/patches-6.12/950-0071-drivers-mfd-sensehat-Add-Raspberry-Pi-Sense-HAT-to-s.patch
bcm27xx/patches-6.12/950-0516-media-i2c-ov5647-Add-V4L2_CID_LINK_FREQUENCY-control.patch
lantiq/patches-6.12/101-find_active_root.patch
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.75&id=58f1767ad5c9eda3dd0befddc1843259d46d64fa
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.75&id=ff65571ffae52b65577121e7696bf22156e1928a
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.75&id=fbf2a108ed5eb1c896d3f354bd05314c2e22e78f
4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.75&id=b109dd4970a0fc89d54b1198b163f86125dd2977
Build system: x86/64
Build-tested: flogic/glinet_gl-mt6000
Run-tested: flogic/glinet_gl-mt6000
Co-authored-by: Shiji Yang <yangshiji66@outlook.com >
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/22276
Signed-off-by: Robert Marko <robimarko@gmail.com >
2026-03-22 12:00:31 +01:00
Rosen Penev
63e0c89038
treewide: constify mdio_bus
...
In generic, there's a backport from 6.14 that makes this change. Do so
in downstream locations as well.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/21167
Signed-off-by: Robert Marko <robimarko@gmail.com >
2026-03-13 19:56:20 +01:00
Rosen Penev
618f741494
treewide: remove of_platform.h include
...
This header is deprecated and typically platform_device.h should be
used.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/21164
[Adapted the lantiq patches a bit]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2026-02-04 00:50:06 +01:00
John Audia
ba6b07a4ab
kernel: bump 6.12 to 6.12.64
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.64
Manually rebased:
bcm27xx/patches-6.12/950-0019-BCM2708-Add-core-Device-Tree-support.patch
bcm27xx/patches-6.12/950-0446-i2c-designware-Add-support-for-bus-clear-feature.patch
bcm27xx/patches-6.12/950-0875-PCI-brcmstb-Add-bcm2712-support.patch
ipq40xx/patches-6.12/401-mmc-sdhci-msm-comment-unused-sdhci_msm_set_clock.patch
Removed upstreamed:
generic-backport/403-v6.19-mtd-mtdpart-ignore-error-ENOENT-from-parsers-on-subp.patch[1]
bcm27xx/patches-6.12/950-0873-PCI-brcmstb-Reuse-config-structure.patch[2]
bcm27xx/patches-6.12/950-0888-PCI-brcmstb-don-t-use-ASPM-state-defines-for-registe.patch[3]
bcm27xx/patches-6.12/950-0951-media-i2c-imx219-Restore-the-1920x1080-to-using-a-1-.patch[4]
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.64&id=846ceb1a94460f7331e879c02ff2dd505435b51b
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.64&id=8d185636a6299ff9d2e9eec3a4a25026c13d2351
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.64&id=38aa6ca6285ff76a7570e5b9acd1151f5cea783a
4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.64&id=620f9d7bcf771b532bce67ffecf2d97759a4747f
Build system: x86/64
Build-tested: flogic/glinet_gl-mt6000, ramips/tplink_archer-a6-v3
Run-tested: flogic/glinet_gl-mt6000, ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me >
Co-Authored-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/21431
[Fixed: 950-0019-BCM2708-Add-core-Device-Tree-support.patch]
[remove 950-0888-PCI-brcmstb-don-t-use-ASPM-state-defines-for-registe.patch]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2026-01-15 01:22:47 +01:00
Stijn Tintel
f7c5334c4c
kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU
...
Commit ab805ec316 ("generic: add missing squashfs config") enabled
CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU in the generic config, so it is no
longer needed in the target configs.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be >
Link: https://github.com/openwrt/openwrt/pull/21465
Signed-off-by: Robert Marko <robimarko@gmail.com >
2026-01-11 12:52:54 +01:00
John Audia and Goetz Goerisch
b638d886f0
kernel: bump 6.12 to 6.12.63
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.63
Manually rebased:
qualcommax/patches-6.12/0113-remoteproc-qcom-Add-secure-PIL-support.patch
qualcommax/patches-6.12/0116-remoteproc-qcom-Update-regmap-offsets-for-halt-regis.patch
Removed upstreamed:
airoha/patches-6.12/029-14-spi-airoha-snfi-en7523-workaround-flash-damaging.patch[1]
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.63&id=7be679104357439ff6eab076975f5f74368acd69
Build system: x86/64
Build-tested: flogic/glinet_gl-mt6000, ramips/tplink_archer-a6-v3, x86/64-glibc
Run-tested: flogic/glinet_gl-mt6000, ramips/tplink_archer-a6-v3, x86/64-glibc
Co-authored-by: Goetz Goerisch <ggoerisch@gmail.com >
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/21329
Signed-off-by: Robert Marko <robimarko@gmail.com >
2025-12-31 17:55:44 +01:00
John Audia
97e9d7038e
kernel: bump 6.12 to 6.12.62
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.62
Manually rebased:
bcm27xx/patches-6.12/950-0358-mmc-sdhci-of-dwcmshc-define-sdio-timeout-clocks.patch
Removed upstreamed:
backport-6.12/830-v6.18-spi-bcm63xx-fix-premature-CS-deassertion-on-RX-only-transactions.patch[1]
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.62&id=e31194bf494f6900a5f96f55ed194a00e458f8d1
Build system: x86/64
Build-tested: flogic/glinet_gl-mt6000, ramips/tplink_archer-a6-v3, x86/64-glibc
Run-tested: flogic/glinet_gl-mt6000, ramips/tplink_archer-a6-v3, x86/64-glibc
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/21126
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-12-17 00:27:21 +01:00
Rani Hod
cdf187f1e7
siflower: sf21 device tree fix
...
`i2c1` node was missing `resets`, so even when enabled, the driver would
not recognize it:
```
i2c_designware c101000.i2c: Unknown Synopsys component type: 0x00000000
```
With this fix, I2C pins on BPi-RV2 26-pin GPIO header are usable.
Signed-off-by: Rani Hod <rani.hod@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20969
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-28 09:47:39 +01:00
Shiji Yang
0883bb7d31
treewide: dts: remove {#address,#size}-cells from "spi-nand" compatible node
...
The child node "partitions" doesn't have "reg" property. Hence, we
don't need to use "#address-cells" and "#size-cells" to describe the
reg property information.
Signed-off-by: Shiji Yang <yangshiji66@outlook.com >
Link: https://github.com/openwrt/openwrt/pull/20942
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-27 12:37:49 +01:00
Shiji Yang
f2c1697819
treewide: dts: remove {#address,#size}-cells from "jedec,spi-nor" compatible node
...
The child node "partitions" doesn't have "reg" property. Hence, we
don't need to use "#address-cells" and "#size-cells" to describe the
reg property information.
Signed-off-by: Shiji Yang <yangshiji66@outlook.com >
Link: https://github.com/openwrt/openwrt/pull/20942
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-27 12:37:49 +01:00
Rani Hod
b92a339f92
siflower: bpi-rv2 device tree fix
...
As per schematics, GPIO 30 is incorrect to use as the reset pin for the
QSGMII PHY SF23P1240; the correct one is GPIO 22.
Signed-off-by: Rani Hod <rani.hod@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20925
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-11-25 22:21:13 +01:00
Goetz Goerisch
d711d906ad
siflower: refresh kernel-6.12 config
...
refreshed with make kernel_oldconfig CONFIG_TARGET=subtarget
Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20893
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-25 19:08:19 +01:00
Goetz Goerisch and Mieczyslaw Nalewaj
245841eb4b
siflower: add kmod-i2c-designware-platform to device packages
...
adding the kmod-i2c-designware-platform by user suggestion
Co-authored-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20893
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-25 19:08:18 +01:00
Goetz Goerisch
28f9ef5f5c
siflower: drop support for kernel 6.6
...
Drop support for kernel 6.6 as now kernel 6.12 is set as default kernel
version.
Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20893
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-25 19:08:18 +01:00
Goetz Goerisch
cdafb1fde9
siflower: switch to kernel 6.12
...
switch the kernel to 6.12 by default
Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20893
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-25 19:08:18 +01:00
Zhu Yujie
e73c4a72f4
siflower: add support for Linux 6.12
...
Set KERNEL_TESTING_PATCHVER to allow testing Linux 6.12.
Signed-off-by: Zhu Yujie <libriunc@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20555
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-19 20:57:33 +01:00
Zhu Yujie
fc53b04160
siflower: 6.12: change .remove_new callback to .remove
...
Move back to .remove from .remove_new as kernel 6.12 unified the usage
of .remove and .remove_new (and .remove_new is expected to be dropped in
later version)
Signed-off-by: Zhu Yujie <libriunc@gmail.com >
[ improve commit description ]
Link: https://github.com/openwrt/openwrt/pull/20555
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-19 20:57:32 +01:00
Zhu Yujie
25c6c2678e
siflower: 6.12: apply trivial driver fixes
...
Apply trivial fixes for 6.12 files:
- Make functions static
- Add lots of missing header in drivers
- Fix no newline at end of file error and other new line error
- Drop deprecated validate function for xgmac
- Use devm for stmmac probe
- Remove host_ prefix from pcie_host_ops
Tested-by: Jingkun Zheng <mx@kevinmx.top >
Tested-by: Zhu Yujie <libriunc@gmail.com >
Tested-by: Chuanhong Guo gch981213@gmail.com
Signed-off-by: Zhu Yujie <libriunc@gmail.com >
[ improve commit description ]
Link: https://github.com/openwrt/openwrt/pull/20555
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-19 20:57:32 +01:00
Zhu Yujie
c5e8ee681b
siflower: sf21: update config-6.12
...
Refresh kernel configuration of the sf21 subtarget for use with Linux 6.12.
Signed-off-by: Zhu Yujie <libriunc@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20555
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-19 20:57:32 +01:00
Zhu Yujie
31cb99491e
siflower: spi: replace 'master' with 'controller' in driver
...
This change replaces the term 'master' with 'controller' in the
Siflower SPI driver (sf_qspi) to align with the Linux kernel's
inclusive language policy.
Tested-by: Jingkun Zheng <mx@kevinmx.top >
Tested-by: Zhu Yujie <libriunc@gmail.com >
Tested-by: Chuanhong Guo gch981213@gmail.com
Signed-off-by: Zhu Yujie <libriunc@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20555
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-19 20:57:31 +01:00
Zhu Yujie
5866f9b024
siflower: 6.12: refresh patches
...
This involves rebasing the patches and resolving any conflicts
arising from changes in the base kernel between the previous
supported version and 6.12.
Tested-by: Jingkun Zheng <mx@kevinmx.top >
Tested-by: Zhu Yujie <libriunc@gmail.com >
Tested-by: Chuanhong Guo gch981213@gmail.com
Signed-off-by: Zhu Yujie <libriunc@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20555
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-19 20:57:31 +01:00
Zhu Yujie
11565a298e
siflower: 6.12: drop upstreamed patches
...
Drop patches from the 6.12 patchset that have been merged into the
mainline Linux kernel since the previous version.
Dropped patches:
001-net-phy-c45-add-genphy_c45_pma_read_ext_abilities-fu.patch
002-net-phy-Optimize-phy-speed-mask-to-be-compatible-to-.patch
003-net-phy-Add-driver-for-Motorcomm-yt8821-2.5G-etherne.patch
014-riscv-add-an-option-for-efficient-unaligned-access.patch
Signed-off-by: Zhu Yujie <libriunc@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20555
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-19 20:57:31 +01:00
Zhu Yujie
dc9436728a
kernel/siflower: Restore kernel files for v6.6
...
This is an automatically generated commit which aids following Kernel patch
history, as git will see the move and copy as a rename thus defeating the
purpose.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Zhu Yujie <libriunc@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20555
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-19 20:57:30 +01:00
Zhu Yujie
e67017d489
kernel/siflower: Create kernel files for v6.12 (from v6.6)
...
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zhu Yujie <libriunc@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20555
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-19 20:57:30 +01:00
Christian Marangi
00a166d065
siflower: switch to .remove_new for downstream driver
...
Switch to .remove_new for downstream driver that still use the old
.remove to reduce patch delta for 6.12 bump.
Suggested-by: Zhu Yujie <libriunc@gmail.com >
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-11-19 11:26:55 +01:00
Christian Marangi
813ecda1f3
generic: backport phylink patches for PCS/PHY caps OPs
...
Backport phylink patches for PCS/PHY caps OPs. This makes it easier to
align future generic PCS patch and permit supporting special PHY that
needs specific tune if "in-band" mode is enabled (for example Aeonsemi
PHYs)
This is also mainly using the upstream version of the Mediatek patch
739-net-add-negotiation-of-in-band-capabilities.
All affected patch automatically refreshed.
Link: https://github.com/openwrt/openwrt/pull/20461
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-10-22 12:29:41 +02:00
Rosen Penev
5572d35f77
treewide: gpio to gpios
...
The former is deprecated.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20116
Signed-off-by: Robert Marko <robimarko@gmail.com >
2025-10-08 14:26:24 +02:00
Rosen Penev
6555321eb2
treewide: remove of_gpio.h
...
of_gpio.h is deprecated in upstream Linux and may be removed soon. Get
ahead of things and remove it. Most of these drivers already use the
gpiod API.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/20076
Signed-off-by: Robert Marko <robimarko@gmail.com >
2025-09-20 12:47:23 +02:00
Christian Marangi
08a616b216
generic: backport support for Aeonsemi AS21xxx PHY
...
Backport support for Aeonsemi AS121xxx PHY. The PHY require dedicated
firmware to be loaded to correctly work and support a big family of
Aeonsemi PHY that provide from 1G to 10G speed.
Automatically refresh all affected patch and file (rtl PHY).
Link: https://github.com/openwrt/openwrt/pull/19816
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-09-03 00:58:48 +02:00
Andrey Safonov
441b37e2db
siflower: sf21: fix usb_vbus for Bananapi BPI-RV2
...
Add usb_vbus ref to usb device.
Signed-off-by: Andrey Safonov <andrey.safonov@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/19698
Signed-off-by: Robert Marko <robimarko@gmail.com >
2025-08-10 21:51:17 +02:00
Andrey Safonov
73a0366e53
siflower: sf21: fix M.2 power on Bananapi BPI-RV2
...
Add fixed regulator for M.2 slot for Bananapi BPI-RV2
Signed-off-by: Andrey Safonov <andrey.safonov@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/19697
Signed-off-by: Robert Marko <robimarko@gmail.com >
2025-08-10 21:50:37 +02:00
John Audia
836a4cc6d3
kernel: bump 6.6 to 6.6.94
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.94
Removed upstreamed:
generic/backport-6.6/421-01-v6.16-spi-bcm63xx-spi-fix-shared-reset.patch[1]
generic/backport-6.6/421-02-v6.16-spi-bcm63xx-hsspi-fix-shared-reset.patch[2]
generic/backport-6.6/725-01-v6.16-net-dsa-tag_brcm-legacy-fix-pskb_may_pull-length.patch[3]
mvebu/patches-6.6/0001-v6.16-pinctrl-armada-37xx-use-correct-OUTPUT_VAL-register-.patch[4]
mvebu/patches-6.6/0002-v6.16-pinctrl-armada-37xx-set-GPIO-output-value-before-set.patch[5]
Added new back-port:
generic/backport-6.6/001-powerpc-kernel-Fix-pcc_save_regs-inclusion.patch[6]
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.94&id=29abb7fc82443bee273ba4623ce319bf7ba1d43d
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.94&id=59d5f3134b5c265df233b7f385bbe718191411be
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.94&id=2e02edb66427e3b8752e1f3dd3cfc1bef3f2357b
4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.94&id=39ed85ae485d991ffb24d25629a679c0b22e2d8f
5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.94&id=8f0f45a312151a52aae920a091ea4b454ac97caf
6. Addresses a build failure for pcc
Build system: x86/64
Build-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64
Run-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64
Signed-off-by: John Audia <therealgraysky@proton.me >
Link: https://github.com/openwrt/openwrt/pull/19183
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de >
2025-06-21 13:54:17 +02:00
Mieczyslaw Nalewaj
a238170e57
treewide: strip trailing whitespace
...
Strip trailing whitespace in all code:
find . -type f | grep "\.c$" | xargs sed -i 's/[ \t]\+$//'
find . -type f | grep "\.h$" | xargs sed -i 's/[ \t]\+$//'
find . -type f | grep "\.dts$" | xargs sed -i 's/[ \t]\+$//'
find . -type f | grep "\.dtsi$" | xargs sed -i 's/[ \t]\+$//'
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com >
Link: https://github.com/openwrt/openwrt/pull/18626
Signed-off-by: Robert Marko <robimarko@gmail.com >
2025-05-20 00:47:37 +02:00
Rosen Penev
576278a507
realtek: use remove_new
...
Easy compability fix for kernel 6.12.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
Link: https://github.com/openwrt/openwrt/pull/18660
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com >
2025-05-02 01:34:24 +02:00
Daniel Golle
29ec74b8c7
treewide: validate unified uImage.FIT images before flashing
...
Prevent flashing truncated or otherwise corrupted uImage.FIT images
by verifying checksums and hashes of all sub-images before flashing
using the newly packaged fit_check_sign tool.
Signed-off-by: Daniel Golle <daniel@makrotopia.org >
2025-04-21 16:12:42 +01:00