• Yangbo Lu's avatar
    net: mscc: ocelot: support 4 PTP programmable pins · cc2d87bb
    Yangbo Lu authored
    Support 4 PTP 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.
    
    Since the hardware is not able to support absolute start time,
    the periodic clock request only allows start time 0 0. But nsec
    could be accepted for PPS case for phase adjustment.
    Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    cc2d87bb
ocelot_ptp.h 1.74 KB