[RFC PATCH 1/2] macb: Add 1588 support in Cadence GEM.

From: Rafal Ozieblo
Date: Fri Nov 18 2016 - 07:06:02 EST


Hello Andrei,

>+static struct ptp_clock_info macb_ptp_caps = {
>+ .owner = THIS_MODULE,
>+ .name = GMAC_TIMER_NAME,
>+ .max_adj = 250000000,
>+ .n_alarm = 0,
>+ .n_ext_ts = 0,
>+ .n_per_out = 0,
>+ .n_pins = 0,
>+ .pps = 0,
>+ .adjfreq = macb_ptp_adjfreq,
>+ .adjtime = macb_ptp_adjtime,
>+ .gettime64 = macb_ptp_gettime,
>+ .settime64 = macb_ptp_settime,
>+ .enable = macb_ptp_enable,
>+};

I'm wondering, how did you count max_adj ?

Best regards,

Rafal Ozieblo   |   Firmware System Engineer,
phone nbr.: +48 32 5085469


www.cadence.com