Re: [v3, 0/7] Support programmable pins for Ocelot PTP driver

From: David Miller
Date: Tue Apr 21 2020 - 18:39:31 EST


From: Yangbo Lu <yangbo.lu@xxxxxxx>
Date: Mon, 20 Apr 2020 10:46:44 +0800

> The Ocelot PTP clock driver had been embedded into ocelot.c driver.
> It had supported basic gettime64/settime64/adjtime/adjfine functions
> by now which were used by both Ocelot switch and Felix switch.
>
> This patch-set is to move current ptp clock code out of ocelot.c driver
> maintaining as a single ocelot_ptp.c driver, and to implement 4
> programmable pins with only PTP_PF_PEROUT function for now.
> The PTP_PF_EXTTS function will be supported in the future, and it should
> be implemented separately for Felix and Ocelot, because of different
> hardware interrupt implementation in them.
> ---
> Changes for v2:
> - Put PTP driver under drivers/net/ethernet/mscc/.
> - Dropped MAINTAINERS patch. Kept original maintaining.
> - Initialized PTP separately in ocelot/felix platforms.
> - Supported PPS case in programmable pin.
> - Supported disabling pin function since deadlock is fixed by Richard.
> - Returned -EBUSY if not finding pin available.
> Changes for v3:
> - Re-sent.

Series applied to net-next, thanks.