qualcommbe: v6.12: update PCS patches to use .pcs_validate()
authorAlexandru Gagniuc <[email protected]>
Wed, 4 Jun 2025 17:51:18 +0000 (12:51 -0500)
committerRobert Marko <[email protected]>
Wed, 25 Jun 2025 08:20:37 +0000 (10:20 +0200)
commit8c14f33bb4284ed49469aeceb91f918c90bb3f77
treea29ba155150144b5cf5e15fa76d20685c1beefb5
parent2c6a830c3dcd283ed19d5abeacfe09fe4f7987ac
qualcommbe: v6.12: update PCS patches to use .pcs_validate()

The original PCS driver did not use the .pcs_validate() in
phylink_pcs_ops. The patches for 1000/2500base-x and 10g modes were
taken from this old driver, and thus did not bother with
.pcs_validate(). Thus, even though these modes are supported, phylink
would not enable them.

To fix these, list these modes in .pcs_validate(). Also list them in
ipq_pcs_clk_rate_get(). While the latter does not appear to change
behavior, it does change the clock rates listed under
/sys/kernel/debug/clk

Co-developed-by: Mantas Pucka <[email protected]>
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18435
Signed-off-by: Robert Marko <[email protected]>
target/linux/qualcommbe/patches-6.12/0361-net-pcs-Add-10GBASER-interface-mode-support-to-IPQ-U.patch
target/linux/qualcommbe/patches-6.12/0362-net-pcs-Add-2500BASEX-interface-mode-support-to-IPQ-.patch
target/linux/qualcommbe/patches-6.12/0363-net-pcs-Add-1000BASEX-interface-mode-support-to-IPQ-.patch
target/linux/qualcommbe/patches-6.12/0364-net-pcs-Add-10G_QXGMII-interface-mode-support-to-IPQ.patch