Thread (74 messages) 74 messages, 16 authors, 2015-04-22

[PATCH 0/3] clk: divider: three exactness fixes (and a rant)

From: p.zabel@pengutronix.de (Philipp Zabel)
Date: 2015-03-12 08:58:03
Also in: lkml

Hi Stephen,

Am Mittwoch, den 11.03.2015, 18:21 -0700 schrieb Stephen Boyd:
[...]
Why does Philipp like 110Hz the most? Where is the desire for that rate
coming from?
quoted
And the lower
abs(1 / 110 - 1 / r) the better. 
Similarly, where is this requirement coming from? Some datasheet? Or is
it just some arbitrary decision we've made that may not hold true for
all consumers?
In my panel example the datasheet usually documents the typical pixel
clock and vertical and horizontal timings that exactly result in the
nominal panel refresh rate, currently most often 60 Hz.

In this use case, the driver doesn't want the pixel clock to stay below
a hard frequency limit, but to get as close as possible to the target
frequency, either above or below, so the relative error to the nominal
panel refresh rate stays as small as possible. Thus for a fictional
target rate of 110 Hz, I'd like to minimize abs((round_rate / 110) - 1).

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