OSDN Git Service

ptp: ptp_clockmatrix: update to support 4.8.7 firmware
authorMin Li <min.li.xe@renesas.com>
Tue, 28 Jul 2020 20:00:30 +0000 (16:00 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2020 23:46:59 +0000 (16:46 -0700)
commit7ea5fda2b1325e17528e2648b913244c8be0bcc7
tree94c5e69d249f1095226d00aa1c1cc91036cd2407
parent2a043e9cec73765b150a3685b09baef93b09f2e4
ptp: ptp_clockmatrix: update to support 4.8.7 firmware

With 4.8.7 firmware, adjtime can change delta instead of absolute time,
which greately increases snap accuracy. PPS alignment doesn't have to
be set for every single TOD change. Other minor changes includes:
adding more debug logs, increasing snap accuracy for pre 4.8.7 firmware
and supporting new tcs2bin format.

Signed-off-by: Min Li <min.li.xe@renesas.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/idt8a340_reg.h
drivers/ptp/ptp_clockmatrix.c
drivers/ptp/ptp_clockmatrix.h