Files
linux/Documentation
Giuseppe CAVALLARO 5566401f2f stmmac: ptp: fix the reference clock
The PTP reference clock, used for setting the addend in the Timestamp Addend
Register, was erroneously hard-coded (as reported in the databook just as
example).

The patch removes the macro named: STMMAC_SYSCLOCK and allows to use a
reference clock (clk_ptp_ref_i) that can be passed from the platform.

If not passed, the main driver clock will be used as default; note that
this can be fine on some platforms.

Note that, prior this patch, using the old STMMAC_SYSCLOCK on some platforms,
as side effect, the ptp clock can move faster/slower than the system clock.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-08-29 19:54:36 -07:00
..
2014-08-04 07:01:38 -07:00
2014-08-06 23:36:12 -07:00
2014-07-28 15:23:15 +02:00
2014-08-08 15:57:24 -07:00
2014-07-09 16:05:42 -07:00
2014-06-19 17:45:14 -07:00
2014-08-08 15:57:24 -07:00