summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/sja1105/sja1105_clocking.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-10-18 22:29:51 +0300
committerDavid S. Miller <davem@davemloft.net>2021-10-20 11:32:28 +0100
commitac41ac81e331319a1773d5a6a6744e8ce7389f08 (patch)
tree3b44515a3efb5fb1b8d42d2d406d3dbbf387e2d5 /drivers/net/dsa/sja1105/sja1105_clocking.c
parente00eb643324c7a57f4f3fcb2bc5e882f4b88a3a1 (diff)
dt-bindings: net: dsa: sja1105: add {rx,tx}-internal-delay-ps
Add a schema validator to nxp,sja1105.yaml and to dsa.yaml for explicit MAC-level RGMII delays. These properties must be per port and must be present only for a phy-mode that represents RGMII. We tell dsa.yaml that these port properties might be present, we also define their valid values for SJA1105. We create a common definition for the RX and TX valid range, since it's quite a mouthful. We also modify the example to include the explicit RGMII delay properties. On the fixed-link ports (in the example, port 4), having these explicit delays is actually mandatory, since with the new behavior, the driver shouts that it is interpreting what delays to apply based on phy-mode. 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/net/dsa/sja1105/sja1105_clocking.c')
0 files changed, 0 insertions, 0 deletions