Re: [PATCH net-next v5 9/9] net: dsa: microchip: ksz9477: add periodic output support

From: Christian Eggers
Date: Thu Dec 03 2020 - 11:22:12 EST


On Thursday, 3 December 2020, 16:52:46 CET, Vladimir Oltean wrote:
> On Thu, 3 Dec 2020 at 17:36, Christian Eggers <ceggers@xxxxxxx> wrote:
> > Should ptp_sysfs be extended with a "pulse" attribute with calls
> > enable() with only PTP_PEROUT_DUTY_CYCLE set?
>
> Use tools/testing/selftests/ptp/testptp.

Thanks for the hint. Last time I looked at it (5.4), it used to have
no "pulse" feature (as the ioctl() interface).

Maybe I should also add support for PTP_PEROUT_PHASE to the KSZ driver.

regards
Christian