Thread (37 messages) 37 messages, 2 authors, 2016-09-15

Re: [PATCH 7/9] net: ethernet: ti: cpts: calc mult and shift from refclk freq

flat view

From: Richard Cochran <richardcochran@gmail.com>
Date: 2016-09-15 13:49:55
Also in: linux-omap, lkml

On Thu, Sep 15, 2016 at 01:58:15PM +0200, Richard Cochran wrote:
Can the input clock be higher than 1 GHz?  If not, I suggest using
clocks_calc_mult_shift() with maxsec=4 and a setting the watchdog also
to 4*HZ.
On second thought, with the new 12% timer batching, using 4*HZ for 32
bits of 1 GHz is cutting it too close.  So just keep it like you had
it, with maxsec=mask/freq and timeout=maxsec/2, to stay on the safe
side.

Thanks,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help