Re: [Linuxptp-devel] [PATCH v4 0/4] add get_pins_cfg command to display pin functions

2023-11-15 Thread Richard Cochran
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

[Linuxptp-devel] [PATCH v4 0/4] add get_pins_cfg command to display pin functions

2023-06-26 Thread Jacob Keller
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