Home
last modified time | relevance | path

Searched hist:c942081c (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/ux500/
H A Dclk-sysctrl.cc942081c Thu Apr 11 06:04:11 CDT 2019 Nicholas Mc Guire <hofrat@opentech.at> clk: ux500: add range to usleep_range

Providing a range for usleep_range() allows the hrtimer subsystem to
coalesce timers - the delay is runtime configurable so a factor 2
is taken to provide the range. With the expected range for
enable_delay_us being milliseconds, the range should lie in the 250us
range which is sufficient for hrtimer optimization.

Signed-off-by: Nicholas Mc Guire <hofrat@opentech.at>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
c942081c Thu Apr 11 06:04:11 CDT 2019 Nicholas Mc Guire <hofrat@opentech.at> clk: ux500: add range to usleep_range

Providing a range for usleep_range() allows the hrtimer subsystem to
coalesce timers - the delay is runtime configurable so a factor 2
is taken to provide the range. With the expected range for
enable_delay_us being milliseconds, the range should lie in the 250us
range which is sufficient for hrtimer optimization.

Signed-off-by: Nicholas Mc Guire <hofrat@opentech.at>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>