lkml.org 
[lkml]   [2015]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/5] clocksource: sun5i: Support parent clock rate changes
Date
Hi,

The Allwinner HS timers have the AHB clock as their parent
clock. Since this clock is shared with other devices, we could very
well have another driver requesting a rate change of that clock,
making our timer change frequency at the same time.

This is especially true on the A31, where the DMA controller needs to
do such a rate change, making the HS timer unreliable at the time on
the A31.

This serie makes some cleanups and implements clock notifiers to be
able to reflect such rate changes and make sure that the timer is
always working.

Maxime

Changes from v2:
- Rebased on top of v4.0-rc1
- Removed the local_irq_save/restore around clockevents_update_freq

Changes from v1:
- Changed the interrupt name to its previous value

Maxime Ripard (5):
clocksource: sun5i: Switch to request_irq
clocksource: sun5i: Use of_io_request_and_map
clocksource: sun5i: Remove sched_clock
clocksource: sun5i: Refactor the current code
clocksource: sun5i: Add clock notifiers

drivers/clocksource/timer-sun5i.c | 302 ++++++++++++++++++++++++++++----------
1 file changed, 228 insertions(+), 74 deletions(-)

--
2.3.0



\
 
 \ /
  Last update: 2015-03-05 11:41    [W:0.350 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site