On 7/9/2024 6:53 AM, Kory Maincent wrote: > Prepare for future hardware timestamp selection by adding source and > corresponding pointers to ptp_clock structure. > Additionally, introduce helpers for registering specific phydev or netdev > PTP clocks, retrieving PTP clock information such as hwtstamp source or > phydev/netdev pointers, and obtaining the ptp_clock structure from the > phc index. > These helpers are added to a new ptp_clock_consumer.c file, built as > builtin. This is necessary because these helpers will be called by > ethtool or net timestamping, which are builtin code. > > Signed-off-by: Kory Maincent <kory.maincent@xxxxxxxxxxx> > --- Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>