public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: phy: qcom: qca808x: fill in possible_interfaces
@ 2024-02-27 16:19 Robert Marko
  2024-02-27 16:19 ` [PATCH net-next 1/2] net: phy: qcom: qca808x: add helper for checking for 1G only model Robert Marko
  2024-02-27 16:19 ` [PATCH net-next 2/2] net: phy: qcom: qca808x: fill in possible_interfaces Robert Marko
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Marko @ 2024-02-27 16:19 UTC (permalink / raw)
  To: andrew, hkallweit1, linux, andersson, konrad.dybcio, davem,
	edumazet, kuba, pabeni, netdev, linux-arm-msm, linux-kernel,
	ansuelsmth
  Cc: Robert Marko

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.

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 | 32 +++++++++++++++++++++++++++-----
 1 file changed, 27 insertions(+), 5 deletions(-)

-- 
2.43.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-27 16:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-27 16:19 [PATCH net-next 0/2] net: phy: qcom: qca808x: fill in possible_interfaces Robert Marko
2024-02-27 16:19 ` [PATCH net-next 1/2] net: phy: qcom: qca808x: add helper for checking for 1G only model Robert Marko
2024-02-27 16:28   ` Russell King (Oracle)
2024-02-27 16:19 ` [PATCH net-next 2/2] net: phy: qcom: qca808x: fill in possible_interfaces Robert Marko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox