History

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.

Vincent Cheng committed 6 years ago

Commit d3f1cbd1 parent 184ecc93 files · +8 −3Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/ptp_clock.h+3−1
@@ -89,7 +89,9 @@ struct ptp_clock_caps { · 88 unmodified lines
89 int n_pins; /* Number of input/output pins. */89 int n_pins; /* Number of input/output pins. */
90 /* Whether the clock supports precise system-device cross timestamps */90 /* Whether the clock supports precise system-device cross timestamps */
91 int cross_timestamping;91 int cross_timestamping;
92 int rsv[13]; /* Reserved for future use. */92 /* Whether the clock supports adjust phase */
93 int adjust_phase;
94 int rsv[12]; /* Reserved for future use. */
93};95};
94 96
95struct ptp_extts_request {97struct ptp_extts_request {