generic: backport QCA808x possible interfaces fix
authorRobert Marko <robimarko@gmail.com>
Tue, 27 Feb 2024 18:07:42 +0000 (19:07 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 24 Jun 2024 07:46:19 +0000 (09:46 +0200)
commitf04e377a5003daa771414befdd9642e848cb42f9
tree7c43d6036f3399b4effc7bc748d6db611c0baa9a
parent568a3db8ee49abc14b899930172cbaeb9b928930
generic: backport QCA808x possible interfaces fix

QCA808x does not currently fill in the possible_interfaces.

This leads to Phylink not being aware that it supports 2500Base-X as well
so in cases where it is connected to a DSA switch like MV88E6393 it will
limit that port to phy-mode set in the DTS.

That means that if SGMII is used you are limited to 1G only while if
2500Base-X was set you are limited to 2.5G only.

Populating the possible_interfaces fixes this, so lets backport the patches
from kernel 6.9.

This also includes a backport of the Phylink PHY validation series from
kernel 6.8 that allows the use of possible_interfaces.

Link: https://github.com/openwrt/openwrt/pull/15765
Signed-off-by: Robert Marko <robimarko@gmail.com>
21 files changed:
target/linux/generic/backport-6.1/895-01-v6.8-net-phy-add-possible-interfaces.patch [new file with mode: 0644]
target/linux/generic/backport-6.1/895-02-v6.8-net-phylink-use-for_each_set_bit.patch [new file with mode: 0644]
target/linux/generic/backport-6.1/895-03-v6.8-net-phylink-split-out-per-interface-validation.patch [new file with mode: 0644]
target/linux/generic/backport-6.1/895-04-v6.8-net-phylink-pass-PHY-into-phylink_validate_one.patch [new file with mode: 0644]
target/linux/generic/backport-6.1/895-05-v6.8-net-phylink-pass-PHY-into-phylink_validate_mask.patch [new file with mode: 0644]
target/linux/generic/backport-6.1/895-06-v6.8-net-phylink-split-out-PHY-validation-from-phylink_br.patch [new file with mode: 0644]
target/linux/generic/backport-6.1/895-07-v6.8-net-phylink-use-the-PHY-s-possible_interfaces-if-pop.patch [new file with mode: 0644]
target/linux/generic/backport-6.1/897-01-v6.9-net-phy-qcom-qca808x-add-helper-for-checking-for-1G-.patch [new file with mode: 0644]
target/linux/generic/backport-6.1/897-02-v6.9-net-phy-qcom-qca808x-fill-in-possible_interfaces.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/895-01-v6.8-net-phy-add-possible-interfaces.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/895-02-v6.8-net-phylink-use-for_each_set_bit.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/895-03-v6.8-net-phylink-split-out-per-interface-validation.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/895-04-v6.8-net-phylink-pass-PHY-into-phylink_validate_one.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/895-05-v6.8-net-phylink-pass-PHY-into-phylink_validate_mask.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/895-06-v6.8-net-phylink-split-out-PHY-validation-from-phylink_br.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/895-07-v6.8-net-phylink-use-the-PHY-s-possible_interfaces-if-pop.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/897-01-v6.9-net-phy-qcom-qca808x-add-helper-for-checking-for-1G-.patch [new file with mode: 0644]
target/linux/generic/backport-6.6/897-02-v6.9-net-phy-qcom-qca808x-fill-in-possible_interfaces.patch [new file with mode: 0644]
target/linux/generic/pending-6.1/703-phy-add-detach-callback-to-struct-phy_driver.patch
target/linux/generic/pending-6.6/703-phy-add-detach-callback-to-struct-phy_driver.patch
target/linux/generic/pending-6.6/999-net-phy-move-LED-polarity-to-phy_init_hw.patch