All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] clocksource: sun5i: Support parent clock rate changes
@ 2015-01-26  9:50 ` Maxime Ripard
  0 siblings, 0 replies; 26+ messages in thread
From: Maxime Ripard @ 2015-01-26  9:50 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner
  Cc: linux-kernel, linux-arm-kernel, Maxime Ripard

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 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 | 306 +++++++++++++++++++++++++++++---------
 1 file changed, 232 insertions(+), 74 deletions(-)

-- 
2.2.2


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2015-03-04 20:36 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-26  9:50 [PATCH v2 0/5] clocksource: sun5i: Support parent clock rate changes Maxime Ripard
2015-01-26  9:50 ` Maxime Ripard
2015-01-26  9:50 ` [PATCH v2 1/5] clocksource: sun5i: Switch to request_irq Maxime Ripard
2015-01-26  9:50   ` Maxime Ripard
2015-01-26  9:50 ` [PATCH v2 2/5] clocksource: sun5i: Use of_io_request_and_map Maxime Ripard
2015-01-26  9:50   ` Maxime Ripard
2015-01-26  9:50 ` [PATCH v2 3/5] clocksource: sun5i: Remove sched_clock Maxime Ripard
2015-01-26  9:50   ` Maxime Ripard
2015-01-26  9:50 ` [PATCH v2 4/5] clocksource: sun5i: Refactor the current code Maxime Ripard
2015-01-26  9:50   ` Maxime Ripard
2015-01-26  9:50 ` [PATCH v2 5/5] clocksource: sun5i: Add clock notifiers Maxime Ripard
2015-01-26  9:50   ` Maxime Ripard
2015-01-26 11:22   ` Daniel Lezcano
2015-01-26 11:22     ` Daniel Lezcano
2015-01-26 14:35     ` Maxime Ripard
2015-01-26 14:35       ` Maxime Ripard
2015-03-03  8:52       ` Maxime Ripard
2015-03-03  8:52         ` Maxime Ripard
2015-03-03 11:16         ` Daniel Lezcano
2015-03-03 11:16           ` Daniel Lezcano
2015-03-04  9:32           ` Maxime Ripard
2015-03-04  9:32             ` Maxime Ripard
2015-03-04 11:43             ` Daniel Lezcano
2015-03-04 11:43               ` Daniel Lezcano
2015-03-04 20:36       ` Daniel Lezcano
2015-03-04 20:36         ` Daniel Lezcano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.