Skip to content

airoha: backport patches, fix wrong clock for SPI and SLIC, renumber patches and backport some missing airoha_eth upstream patches for multi-serdes support - #22820

Merged
openwrt-bot merged 7 commits into
openwrt:openwrt-25.12from
YaleiZang:new-25.12
Apr 22, 2026
Merged

openwrt-bot merged 7 commits into
openwrt:openwrt-25.12from
YaleiZang:new-25.12

Conversation

@YaleiZang

@YaleiZang YaleiZang commented Apr 7, 2026 •

Copy link
Copy Markdown
Contributor

airoha: an7583: fix wrong clock for SPI and SLIC
airoha: reduce HWRNG quality
airoha: renumber ASoC and PCS patch for more backport patch
airoha: backport some missing airoha_eth upstream patches
airoha: backport additional rework in preparation for multi-serdes support

(airoha: backport patches, cherry pick from openwrt-master)
Thanks for your contribution to OpenWrt!

To help keep the codebase consistent and readable,
and to help people review your contribution,
we ask you to follow the rules you find in the wiki at this link
https://openwrt.org/submitting-patches

Please remove this message before posting the pull request.

@github-actions github-actions Bot added target/airoha pull request/issue for airoha target release/25.12 pull request/issue targeted (also) for OpenWrt 24.10 release labels Apr 7, 2026
@YaleiZang YaleiZang changed the title airoha: an7583: fix wrong clock for SPI and SLIC airoha: backport patches, cherry pick from openwrt-master Apr 7, 2026
@YaleiZang YaleiZang changed the title airoha: backport patches, cherry pick from openwrt-master airoha: backport patches, fix wrong clock for SPI and SLIC, renumber patches and backport some missing airoha_eth upstream patches for multi-serdes support Apr 7, 2026
@Ansuel

Ansuel commented Apr 8, 2026

Copy link
Copy Markdown
Member

@YaleiZang did you also refreshed the patch?

@github-actions github-actions Bot added the kernel pull request/issue with Linux kernel related changes label Apr 10, 2026
@YaleiZang

YaleiZang commented Apr 10, 2026 •

Copy link
Copy Markdown
Contributor Author

@YaleiZang did you also refreshed the patch?

Yes, I have push new to refresh patches, and I also compiled based the new patch to confirm it's ok

@YaleiZang
YaleiZang force-pushed the new-25.12 branch 2 times, most recently from 1000159 to 000e987 Compare April 13, 2026 11:15
@danpawlik

Copy link
Copy Markdown
Contributor

@YaleiZang the target branch should not be main then cherry-pick to 25.12?

@YaleiZang

Copy link
Copy Markdown
Contributor Author

the target branch should not be main then cherry-pick to 25.12?

These codes already exist in the main branch, we just cherry pick from main.

Ansuel and others added 7 commits April 22, 2026 10:01
Due to confusing Documentation, the SPI and SLIC base clock and
register location for Airoha AN7583 SoC were wrong.

Fix them with new updated Documentation source to provide correct
clock support.

Fixes: c5b12fc ("airoha: Introduce support for Airoha AN7583 SoC")
(cherry picked from commit 6c4c988)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
Backport a patch that reduces the quality of HWRNG. HWRNG has lower
entropy than expected. Thanks to this patch, it has a lower priority.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#21722
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 5cd1769)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
Renumber ASoC and PCS patch to 2xx and 3xx numbering to leave space for
more backport patch in the 000-1xx numbering.

Link: openwrt#22479
(cherry picked from commit 9b21478)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
Backport more upstream patch to include all the fixes pushed upstream and
add all the preliminary patch for multi-serdes support.

While at it also move 2 patch in the 6xx numbering to the 000-1xx backport
numbering to keep things tidy.

All the affected patch manually and automatically refreshed.

Signed-off-by: Lorenzo Bianconi <[email protected]>
[ add comment, renumber patch, add more patch, fix PCS patch ]
Link: openwrt#22479
(cherry picked from commit c5a8ddd)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
Backport additional upstream patch in preparation for multi-serdes and
proper PCS support.

Automatically refresh all affected patch.

(cherry picked from commit 25de258)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
- Refreshed existing patches
- Removed patch '128-v7.1-net-airoha-Remove-airoha_dev_stop-in-airoha_remove.patch', as it has been upstreamed.

Signed-off-by: YaleiZang <[email protected]>
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
Backport new field_prep()/get() particularly useful to handle case where a
bitmask is not const and FIELD_PREP can't be used. This permit to replace
manual shift with these macro. (also needed to permit backport of some
patch without modification)

Backport reworked patch that drop the local field_prep()/get() macro in
favor of the global one.

Link: openwrt#22479
(cherry picked from commit 25f92aa)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
@openwrt-bot
openwrt-bot merged commit 0a0ed86 into openwrt:openwrt-25.12 Apr 22, 2026
1 check passed
harphy pushed a commit to harphy/openwrt that referenced this pull request Apr 23, 2026
Due to confusing Documentation, the SPI and SLIC base clock and
register location for Airoha AN7583 SoC were wrong.

Fix them with new updated Documentation source to provide correct
clock support.

Fixes: c5b12fc ("airoha: Introduce support for Airoha AN7583 SoC")
(cherry picked from commit 6c4c988)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
harphy pushed a commit to harphy/openwrt that referenced this pull request Apr 23, 2026
Backport a patch that reduces the quality of HWRNG. HWRNG has lower
entropy than expected. Thanks to this patch, it has a lower priority.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#21722
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 5cd1769)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
harphy pushed a commit to harphy/openwrt that referenced this pull request Apr 23, 2026
Renumber ASoC and PCS patch to 2xx and 3xx numbering to leave space for
more backport patch in the 000-1xx numbering.

Link: openwrt#22479
(cherry picked from commit 9b21478)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
harphy pushed a commit to harphy/openwrt that referenced this pull request Apr 23, 2026
Backport more upstream patch to include all the fixes pushed upstream and
add all the preliminary patch for multi-serdes support.

While at it also move 2 patch in the 6xx numbering to the 000-1xx backport
numbering to keep things tidy.

All the affected patch manually and automatically refreshed.

Signed-off-by: Lorenzo Bianconi <[email protected]>
[ add comment, renumber patch, add more patch, fix PCS patch ]
Link: openwrt#22479
(cherry picked from commit c5a8ddd)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
harphy pushed a commit to harphy/openwrt that referenced this pull request Apr 23, 2026
Backport additional upstream patch in preparation for multi-serdes and
proper PCS support.

Automatically refresh all affected patch.

(cherry picked from commit 25de258)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
harphy pushed a commit to harphy/openwrt that referenced this pull request Apr 23, 2026
- Refreshed existing patches
- Removed patch '128-v7.1-net-airoha-Remove-airoha_dev_stop-in-airoha_remove.patch', as it has been upstreamed.

Signed-off-by: YaleiZang <[email protected]>
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
harphy pushed a commit to harphy/openwrt that referenced this pull request Apr 23, 2026
Backport new field_prep()/get() particularly useful to handle case where a
bitmask is not const and FIELD_PREP can't be used. This permit to replace
manual shift with these macro. (also needed to permit backport of some
patch without modification)

Backport reworked patch that drop the local field_prep()/get() macro in
favor of the global one.

Link: openwrt#22479
(cherry picked from commit 25f92aa)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
liudf0716 pushed a commit to liudf0716/chawrt that referenced this pull request May 21, 2026
Due to confusing Documentation, the SPI and SLIC base clock and
register location for Airoha AN7583 SoC were wrong.

Fix them with new updated Documentation source to provide correct
clock support.

Fixes: c5b12fc ("airoha: Introduce support for Airoha AN7583 SoC")
(cherry picked from commit 6c4c988)
Link: openwrt/openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 3a6e94e21ac296a723c35974492f94535e7bf64c)
liudf0716 pushed a commit to liudf0716/chawrt that referenced this pull request May 21, 2026
Backport a patch that reduces the quality of HWRNG. HWRNG has lower
entropy than expected. Thanks to this patch, it has a lower priority.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt/openwrt#21722
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 5cd1769)
Link: openwrt/openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 4d9eeb8642e0b7bfbcc1ca8582c8eb841053fc84)
liudf0716 pushed a commit to liudf0716/chawrt that referenced this pull request May 21, 2026
Renumber ASoC and PCS patch to 2xx and 3xx numbering to leave space for
more backport patch in the 000-1xx numbering.

Link: openwrt/openwrt#22479
(cherry picked from commit 9b21478)
Link: openwrt/openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 2c8fff4a74ea3d04e856fce196bff8725c40c534)
liudf0716 pushed a commit to liudf0716/chawrt that referenced this pull request May 21, 2026
Backport more upstream patch to include all the fixes pushed upstream and
add all the preliminary patch for multi-serdes support.

While at it also move 2 patch in the 6xx numbering to the 000-1xx backport
numbering to keep things tidy.

All the affected patch manually and automatically refreshed.

Signed-off-by: Lorenzo Bianconi <[email protected]>
[ add comment, renumber patch, add more patch, fix PCS patch ]
Link: openwrt/openwrt#22479
(cherry picked from commit c5a8ddd)
Link: openwrt/openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit c68589027bee3fa9ae37f73e01412d9082d5fbf8)
liudf0716 pushed a commit to liudf0716/chawrt that referenced this pull request May 21, 2026
Backport additional upstream patch in preparation for multi-serdes and
proper PCS support.

Automatically refresh all affected patch.

(cherry picked from commit 25de258)
Link: openwrt/openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 23bcea0e21c3e069ceadd661e395efe8480c2237)
liudf0716 pushed a commit to liudf0716/chawrt that referenced this pull request May 21, 2026
- Refreshed existing patches
- Removed patch '128-v7.1-net-airoha-Remove-airoha_dev_stop-in-airoha_remove.patch', as it has been upstreamed.

Signed-off-by: YaleiZang <[email protected]>
Link: openwrt/openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 659df25802631ebcaf767fb35c7fbb69d72db769)
liudf0716 pushed a commit to liudf0716/chawrt that referenced this pull request May 21, 2026
Backport new field_prep()/get() particularly useful to handle case where a
bitmask is not const and FIELD_PREP can't be used. This permit to replace
manual shift with these macro. (also needed to permit backport of some
patch without modification)

Backport reworked patch that drop the local field_prep()/get() macro in
favor of the global one.

Link: openwrt/openwrt#22479
(cherry picked from commit 25f92aa)
Link: openwrt/openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 0a0ed86b42361e5a28bff92b914af1cfafaa5ab4)
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
Due to confusing Documentation, the SPI and SLIC base clock and
register location for Airoha AN7583 SoC were wrong.

Fix them with new updated Documentation source to provide correct
clock support.

Fixes: dd0764a ("airoha: Introduce support for Airoha AN7583 SoC")
(cherry picked from commit 6c4c988)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
Backport a patch that reduces the quality of HWRNG. HWRNG has lower
entropy than expected. Thanks to this patch, it has a lower priority.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#21722
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 5cd1769)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
Renumber ASoC and PCS patch to 2xx and 3xx numbering to leave space for
more backport patch in the 000-1xx numbering.

Link: openwrt#22479
(cherry picked from commit 9b21478)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
Backport more upstream patch to include all the fixes pushed upstream and
add all the preliminary patch for multi-serdes support.

While at it also move 2 patch in the 6xx numbering to the 000-1xx backport
numbering to keep things tidy.

All the affected patch manually and automatically refreshed.

Signed-off-by: Lorenzo Bianconi <[email protected]>
[ add comment, renumber patch, add more patch, fix PCS patch ]
Link: openwrt#22479
(cherry picked from commit c5a8ddd)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
Backport additional upstream patch in preparation for multi-serdes and
proper PCS support.

Automatically refresh all affected patch.

(cherry picked from commit 25de258)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
- Refreshed existing patches
- Removed patch '128-v7.1-net-airoha-Remove-airoha_dev_stop-in-airoha_remove.patch', as it has been upstreamed.

Signed-off-by: YaleiZang <[email protected]>
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
Backport new field_prep()/get() particularly useful to handle case where a
bitmask is not const and FIELD_PREP can't be used. This permit to replace
manual shift with these macro. (also needed to permit backport of some
patch without modification)

Backport reworked patch that drop the local field_prep()/get() macro in
favor of the global one.

Link: openwrt#22479
(cherry picked from commit 25f92aa)
Link: openwrt#22820
Signed-off-by: Christian Marangi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kernel pull request/issue with Linux kernel related changes release/25.12 pull request/issue targeted (also) for OpenWrt 24.10 release target/airoha pull request/issue for airoha target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants