Skip to content

net: phy: qcom: qca808x: fill in possible_interfaces

Robert Marko linux-arm-msm lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied 2/2
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

* Get rid of the if/else by Russels suggestion in the helper

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: phy: qcom: qca808x: add helper for checking for 1G only modeldrivers/net/phy/qcom/qca808x.c+12 -50 repliesApplied
2/2net: phy: qcom: qca808x: fill in possible_interfacesdrivers/net/phy/qcom/qca808x.c+12 -01 replyApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRussell King (Oracle)
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] net: phy: qcom: qca808x: fill in possible_interfaces

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.

Changes in v2:
* Get rid of the if/else by Russels suggestion in the helper

Robert Marko (2):
net: phy: qcom: qca808x: add helper for checking for 1G only model
net: phy: qcom: qca808x: fill in possible_interfaces

 drivers/net/phy/qcom/qca808x.c | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)
Signature · 1 line
2.44.0