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
8989 int n_pins; /* Number of input/output pins. */
9090 /* Whether the clock supports precise system-device cross timestamps */
9191 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. */
9395 };
9496
9597 struct ptp_extts_request {