commit | 4bfa1616d95fcb2a4e39c1032c49347770f821e7 | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Tue Mar 24 00:59:22 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 23 22:15:07 2020 -0700 |
tree | 0bbff0af58f840afd4c1b4c4e79bfbcca9fac455 | |
parent | 79d5511cc0eedbb2e49b543507d795f927db311b [diff] |
net: dsa: sja1105: make future_base_time a common helper Because the PTP_CLK pin starts toggling only at a time higher than the current PTP clock, this helper from the time-aware shaper code comes in handy here as well. We'll use it to transform generic user input for the perout request into valid input for the sja1105 hardware. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>