Extend phc_ctl with a new get_pins_cfg command which calls the
PTP_PIN_GETFUNC ioctl on a PHC clock and prints the pin configuration for
each pin.
Changes since v3:
* remove use of PTP_PIN_SETFUNC2 and PTP_PIN_GETFUNC2 at Erez's request
* avoid converting PTP_PF_NONE in pin_func_string()
* check c
On Mon, Jun 26, 2023 at 12:03:29PM -0700, Jacob Keller wrote:
> Extend phc_ctl with a new get_pins_cfg command which calls the
> PTP_PIN_GETFUNC ioctl on a PHC clock and prints the pin configuration for
> each pin.
>
> Changes since v3:
> * remove use of PTP_PIN_SETFUNC2 and PTP_PIN_GETFUNC2 at Er