linux_old1/arch/c6x/platforms
Nicolai Stange e1e5fc150d c6x/timer64: Set ->min_delta_ticks and ->max_delta_ticks
In preparation for making the clockevents core NTP correction aware,
all clockevent device drivers must set ->min_delta_ticks and
->max_delta_ticks rather than ->min_delta_ns and ->max_delta_ns: a
clockevent device's rate is going to change dynamically and thus, the
ratio of ns to ticks ceases to stay invariant.

Make the c6x arch's clockevent driver initialize these fields properly.

This patch alone doesn't introduce any change in functionality as the
clockevents core still looks exclusively at the (untouched) ->min_delta_ns
and ->max_delta_ns. As soon as this has changed, a followup patch will
purge the initialization of ->min_delta_ns and ->max_delta_ns from this
driver.

Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Mark Salter <msalter@redhat.com>
Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
Cc: linux-c6x-dev@linux-c6x.org
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-04-14 13:11:18 -07:00
..
Kconfig C6X: add basic support for TMS320C6678 SoC 2012-07-18 23:52:31 -04:00
Makefile c6x: Remove unnecessary of_platform_populate with default match table 2016-06-23 14:59:39 -05:00
cache.c c6x: Fix misspellings in comments. 2016-04-18 12:45:53 +02:00
dscr.c C6X: DSCR - Device State Configuration Registers 2011-10-06 19:48:36 -04:00
emif.c C6X: fix layout of EMIFA registers 2012-01-08 15:12:09 -05:00
megamod-pic.c irqdomain: Use irq_domain_get_of_node() instead of direct field access 2015-10-13 19:01:23 +02:00
pll.c C6X: clocks 2011-10-06 19:48:07 -04:00
plldata.c C6X: add basic support for TMS320C6678 SoC 2012-07-18 23:52:31 -04:00
timer64.c c6x/timer64: Set ->min_delta_ticks and ->max_delta_ticks 2017-04-14 13:11:18 -07:00