From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: tglx@linutronix.de
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, Barry.Song@csr.com,
baruch@tkos.co.il, linux@rempel-privat.de,
rob.herring@linaro.org, thierry.reding@gmail.com
Subject: [PATCH 8/9] clocksource: versatile: Adapt for Versatile AB and PB boards
Date: Thu, 29 Jan 2015 14:08:18 +0100 [thread overview]
Message-ID: <1422536899-16609-8-git-send-email-daniel.lezcano@linaro.org> (raw)
In-Reply-To: <1422536899-16609-1-git-send-email-daniel.lezcano@linaro.org>
From: Rob Herring <robh@kernel.org>
The same 24MHz counter is also present on Versatile AB and PB boards, so
add the compatible string for them.
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
drivers/clocksource/versatile.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/clocksource/versatile.c b/drivers/clocksource/versatile.c
index 2798e74..0a26d3d 100644
--- a/drivers/clocksource/versatile.c
+++ b/drivers/clocksource/versatile.c
@@ -36,5 +36,7 @@ static void __init versatile_sched_clock_init(struct device_node *node)
sched_clock_register(versatile_sys_24mhz_read, 32, 24000000);
}
-CLOCKSOURCE_OF_DECLARE(versatile, "arm,vexpress-sysreg",
+CLOCKSOURCE_OF_DECLARE(vexpress, "arm,vexpress-sysreg",
+ versatile_sched_clock_init);
+CLOCKSOURCE_OF_DECLARE(versatile, "arm,versatile-sysreg",
versatile_sched_clock_init);
--
1.9.1
next prev parent reply other threads:[~2015-01-29 13:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-29 13:06 [GIT PULL]: clockevents: new material for 3.20 Daniel Lezcano
2015-01-29 13:08 ` [PATCH 1/9] clocksource: sirf: Remove unused variable Daniel Lezcano
2015-01-29 13:08 ` [PATCH 2/9] clocksource: marco: Rename marco to atlas7 Daniel Lezcano
2015-01-29 13:08 ` [PATCH 3/9] ARM: clocksource: Add asm9260_timer driver Daniel Lezcano
2015-01-29 13:08 ` [PATCH 4/9] clockevents: rockchip: Add rockchip timer for rk3288 Daniel Lezcano
2015-01-29 13:08 ` [PATCH 5/9] clocksource: devicetree: Document Conexant Digicolor timer binding Daniel Lezcano
2015-01-29 13:08 ` [PATCH 6/9] clocksource: Driver for Conexant Digicolor SoC timer Daniel Lezcano
2015-01-29 13:37 ` Paul Bolle
2015-01-29 13:52 ` Daniel Lezcano
2015-01-29 14:26 ` Baruch Siach
2015-01-29 14:33 ` Paul Bolle
2015-01-29 13:08 ` [PATCH 7/9] dt/bindings: Add binding for Versatile system registers Daniel Lezcano
2015-01-29 13:08 ` Daniel Lezcano [this message]
2015-01-29 13:08 ` [PATCH 9/9] dts: versatile: Add sysregs node Daniel Lezcano
2015-02-02 21:38 ` [GIT PULL]: clockevents: new material for 3.20 Daniel Lezcano
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=1422536899-16609-8-git-send-email-daniel.lezcano@linaro.org \
--to=daniel.lezcano@linaro.org \
--cc=Barry.Song@csr.com \
--cc=baruch@tkos.co.il \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rempel-privat.de \
--cc=rob.herring@linaro.org \
--cc=tglx@linutronix.de \
--cc=thierry.reding@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).