From: jassisinghbrar@gmail.com (jassisinghbrar at gmail.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] ARM: S3C6410: Declare IISv4 audio-bus clock
Date: Tue, 9 Mar 2010 15:10:34 +0900 [thread overview]
Message-ID: <1268115034-5998-4-git-send-email-jassisinghbrar@gmail.com> (raw)
In-Reply-To: <1268115034-5998-3-git-send-email-jassisinghbrar@gmail.com>
From: Jassi Brar <jassi.brar@samsung.com>
Declare 'audio-bus' clock for IISv4 controller of S3C6410.
Even though the name is same as that for IISv3, the id is
set to -1(just one instance of the controller is available)
which helps always fetch the correct clock.
Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
---
arch/arm/mach-s3c64xx/clock.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c
index 6c286d5..da83595 100644
--- a/arch/arm/mach-s3c64xx/clock.c
+++ b/arch/arm/mach-s3c64xx/clock.c
@@ -670,6 +670,16 @@ static struct clksrc_clk clksrcs[] = {
.sources = &clkset_audio1,
}, {
.clk = {
+ .name = "audio-bus",
+ .id = -1, /* There's only one IISv4 port */
+ .ctrlbit = S3C6410_CLKCON_SCLK_AUDIO2,
+ .enable = s3c64xx_sclk_ctrl,
+ },
+ .reg_src = { .reg = S3C6410_CLK_SRC2, .shift = 0, .size = 3 },
+ .reg_div = { .reg = S3C_CLK_DIV2, .shift = 24, .size = 4 },
+ .sources = &clkset_audio2,
+ }, {
+ .clk = {
.name = "irda-bus",
.id = 0,
.ctrlbit = S3C_CLKCON_SCLK_IRDA,
--
1.6.2.5
next prev parent reply other threads:[~2010-03-09 6:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-09 6:10 [PATCH 1/4] ARM: S3C6410: Define clk_src2 register jassisinghbrar at gmail.com
2010-03-09 6:10 ` [PATCH 2/4] ARM: S3C6410: Declare IISCDCLK_V4 Clock jassisinghbrar at gmail.com
2010-03-09 6:10 ` [PATCH 3/4] ARM: S3C6410: Declare possible sources of audio-bus2 jassisinghbrar at gmail.com
2010-03-09 6:10 ` jassisinghbrar at gmail.com [this message]
2010-03-31 1:26 ` [PATCH 4/4] ARM: S3C6410: Declare IISv4 audio-bus clock Ben Dooks
2010-05-11 1:10 ` Ben Dooks
2010-03-31 1:26 ` [PATCH 1/4] ARM: S3C6410: Define clk_src2 register Ben Dooks
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=1268115034-5998-4-git-send-email-jassisinghbrar@gmail.com \
--to=jassisinghbrar@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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).