summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/oki-semi
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-05-10 14:54:23 -0700
committerDavid S. Miller <davem@davemloft.net>2021-05-10 14:54:23 -0700
commit27d64141949e92c04d95d99f215b7f5b261bd8b1 (patch)
tree52d7f4fff7ffa70e632aff195c5a5ac03ee591bd /drivers/net/ethernet/oki-semi
parent532062b099563cba7a93bd9bd50554948661f013 (diff)
parent514def5dd33984e986e0a3afd2a369d8b4688d3f (diff)
Merge branch 'ytja1103-ptp'
Radu Pirea says: ==================== Add PTP support for TJA1103 This is the PTP support for TJA1103. The RX timestamp is found in the reserved2 field of the PTP package. The TX timestamp has to be read from the phy registers. Reading of the timestamp works with interrupts or with polling(that starts when .nxp_c45_txtstamp is called). The implementation of .adjtime is done by read modify write because there is no way to atomically add/subtract a constant from the clock value. I've moved scaled_ppm_to_ppb function from ptp_clock.c to ptp_clock_kernel.h in order to be able to build the driver without PTP_1588_CLOCK=y. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/oki-semi')
0 files changed, 0 insertions, 0 deletions