]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc716e7f5a6a823971c2c0ae4b8701b5ffce9e6cc
tree94c5e69d249f1095226d00aa1c1cc91036cd2407
parentd82130a797bca8cae0e6c8c0de5b1adcc0d6dced
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