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.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -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 | ||
| 95 | struct ptp_extts_request { | 97 | struct ptp_extts_request { |