Re: [PATCH net v3] net: ti: icssg-prueth: Fix 1 PPS sync

From: Malladi, Meghana
Date: Wed Nov 06 2024 - 01:48:24 EST




On 11/6/2024 2:30 AM, Andrew Lunn wrote:
I think you need to write a custom one. Example:
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/tree/drivers/net/ethernet/meta/fbnic/fbnic_time.c#n40
Ok thank you. I will add custom function for this and update the patch.

Maybe look around and see if they could be reused by other drivers. If
so, they should be put somewhere central.

Andrew
I have looked into it, and seems like wherever this is getting used it is written as a custom function for that driver. Seems like writing our own is inevitable.

- Meghana.