summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2022-05-11 16:58:41 +0200
committerTom Rini <trini@konsulko.com>2022-08-08 10:50:20 -0400
commit0c999ce98e9d6485f8637e130f7612f80c111a0e (patch)
treeada1c001922a8bdf2c9b1f8d79b2e30f649853ac /lib
parent4a7c9dbf9a42330970a9742c1d476f2a9075f3f9 (diff)
net: dwc_eth_qos: lift parsing of max-speed DT property to common code
I have an iMX8MP with a ti,dp83867 phy in front of the eqos interface. The phy is Gbit capable - however, the C and D differential pairs are not physically routed to the RJ45 connector. So I need to prevent the phy from advertising 1000Mbps. The necessary code is almost already there in the form of a phy_set_supported() call in eqos_start(), but the max-speed DT property is currently only parsed in eqos_probe_resources_stm32(). Lift that parsing to eqos_probe(). Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions