Re: [PATCH 1/5] dt-bindings: net: qca,ar803x: Add IPQ5018 Internal GE PHY support

From
Konrad Dybcio <hidden>
Date
2025-05-27 13:15:57
Also in
linux-arm-msm, linux-clk, linux-devicetree, lkml
Reply to
Andrew Lunn, 2025-05-27
On 5/27/25 3:08 PM, Andrew Lunn wrote:
quoted
quoted
quoted
quoted
quoted
quoted
Would qcom,phy-to-phy-dac (boolean) do?
Seems fine to me.
Can the driver instead check for a phy reference?
Do you mean using the existing phy-handle DT property or create a new DT property called 'qcom,phy-reference'? Either way, can add it for v2.
I'm not sure how this is all wired up. Do you have an example of a DT
with both configurations you described in your reply to Andrew?
When a SoC interface is connected to a switch, the SoC interface has
no real knowledge it is actually connected to a switch. All it knows
is it has a link peer, and it does not know if that peer is 1cm away
or 100m. It does nothing different.

The switch has a phandle to the SoC interface, so it knows a bit more,
but it would be a bit around about for the SoC interface to search the
whole device tree to see if there is a switch with a phandle pointing
to it. So for me, a bool property indicating a short 'cable' is the
better solution.
OK

does this sound like a generic enough problem to contemplate something
common, or should we go with something like qcom,dac-preset-short-cable

Konrad
Thread (34 messages) 34 messages, 6 authors, last reply 2025-05-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help