diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-06-04 17:01:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-07 22:20:18 +0300 |
commit | 29afb83ac98e1c1cd9c9bb6e82e7d15354b3ae0b (patch) | |
tree | d2298619d338afdd4e9e27293993b5a9ca7070ca /drivers/virt/acrn/mm.c | |
parent | c858d436be8b949c368de0e079084acaff3d4aaf (diff) | |
download | linux-29afb83ac98e1c1cd9c9bb6e82e7d15354b3ae0b.tar.xz |
net: dsa: sja1105: apply RGMII delays based on the fixed-link property
The sja1105 driver has an intermediate way of determining whether the
RGMII delays should be applied by the PHY or by itself: by looking at
the port role (PHY or MAC). The port can be put in the PHY role either
explicitly (sja1105,role-phy) or implicitly (fixed-link).
We want to deprecate the sja1105,role-phy property, so all that remains
is the fixed-link property. Introduce a "fixed_link" array of booleans
in the driver, and use that to determine whether RGMII delays must be
applied or not.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/virt/acrn/mm.c')
0 files changed, 0 insertions, 0 deletions