summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/oki-semi
diff options
context:
space:
mode:
authorLuwei Zhou <b45643@freescale.com>2014-10-10 13:15:30 +0800
committerDavid S. Miller <davem@davemloft.net>2014-10-14 14:45:08 -0400
commit278d24047891a1bf4a98128eaa8ecafd019e58c2 (patch)
tree57cb9578e7e20ab6700a715e67834d08b399a11a /drivers/net/ethernet/oki-semi
parent89bddcda7e4f4ff2586e736427405115c362bed4 (diff)
downloadlinux-278d24047891a1bf4a98128eaa8ecafd019e58c2.tar.gz
linux-278d24047891a1bf4a98128eaa8ecafd019e58c2.tar.bz2
linux-278d24047891a1bf4a98128eaa8ecafd019e58c2.zip
net: fec: ptp: Enable PPS output based on ptp clock
FEC ptp timer has 4 channel compare/trigger function. It can be used to enable pps output. The pulse would be ouput high exactly on N second. The pulse ouput high on compare event mode is used to produce pulse per second. The pulse width would be one cycle based on ptp timer clock source.Since 31-bit ptp hardware timer is used, the timer will wrap more than 2 seconds. We need to reload the compare compare event about every 1 second. Signed-off-by: Luwei Zhou <b45643@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/oki-semi')
0 files changed, 0 insertions, 0 deletions