]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: Add adjust_phase to ptp_clock_caps capability.
authorVincent Cheng <vincent.cheng.xh@renesas.com>
Sat, 2 May 2020 03:35:37 +0000 (23:35 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 May 2020 23:31:45 +0000 (16:31 -0700)
commit2bb960cbdf263ffcd7e4ea5b741d2130d842d64c
treec8fa140f0d9e04e6f045ff5831a8a060295c981d
parent9c3e0a7e1bab9db1167d61bd6ee35b7eb45acc4a
ptp: Add adjust_phase to ptp_clock_caps capability.

Add adjust_phase to ptp_clock_caps capability to allow
user to query if a PHC driver supports adjust phase with
ioctl PTP_CLOCK_GETCAPS command.

Signed-off-by: Vincent Cheng <vincent.cheng.xh@renesas.com>
Reviewed-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_chardev.c
include/uapi/linux/ptp_clock.h
tools/testing/selftests/ptp/testptp.c