]> 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)
commit533e185f31fd7e829d4d3d57f854e5135a65c037
tree94c5e69d249f1095226d00aa1c1cc91036cd2407
parentc8c25f74bedfc0e83671df720bc02c0de8c085fa
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