From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Maxime Ripard <maxime.ripard@free-electrons.com>
Subject: [PATCH 0/5] clocksource: sun5i: Support parent clock rate changes
Date: Sun, 11 Jan 2015 12:40:05 +0100 [thread overview]
Message-ID: <1420976410-7826-1-git-send-email-maxime.ripard@free-electrons.com> (raw)
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
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.1
next reply other threads:[~2015-01-11 11:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-11 11:40 Maxime Ripard [this message]
2015-01-11 11:40 ` [PATCH 1/5] clocksource: sun5i: Switch to request_irq Maxime Ripard
2015-01-18 18:40 ` Daniel Lezcano
2015-01-21 9:17 ` Maxime Ripard
2015-01-11 11:40 ` [PATCH 2/5] clocksource: sun5i: Use of_io_request_and_map Maxime Ripard
2015-01-11 11:40 ` [PATCH 3/5] clocksource: sun5i: Remove sched_clock Maxime Ripard
2015-01-11 11:40 ` [PATCH 4/5] clocksource: sun5i: Refactor the current code Maxime Ripard
2015-01-11 11:40 ` [PATCH 5/5] clocksource: sun5i: Add clock notifiers Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1420976410-7826-1-git-send-email-maxime.ripard@free-electrons.com \
--to=maxime.ripard@free-electrons.com \
--cc=daniel.lezcano@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®