Linux Samsung SOC development
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene.kim@samsung.com>
To: linux-samsung-soc@vger.kernel.org
Cc: ben-linux@fluff.org, Sangwook Ju <sw.ju@samsung.com>,
	Sangbeom Kim <sbkim73@samsung.com>,
	Kukjin Kim <kgene.kim@samsung.com>
Subject: [PATCH V3 2/7] ARM: S5PV310: Define missing CMU register for CPUFREQ
Date: Thu, 23 Dec 2010 14:49:52 +0900	[thread overview]
Message-ID: <1293083397-15969-3-git-send-email-kgene.kim@samsung.com> (raw)
In-Reply-To: <1293083397-15969-1-git-send-email-kgene.kim@samsung.com>

From: Sangwook Ju <sw.ju@samsung.com>

This patch adds missing CMU(Clock Management Unit) registers for
updated S5PV310 CPUFREQ driver.

Signed-off-by: Sangwook Ju <sw.ju@samsung.com>
Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
---
 arch/arm/mach-s5pv310/include/mach/regs-clock.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-s5pv310/include/mach/regs-clock.h b/arch/arm/mach-s5pv310/include/mach/regs-clock.h
index 9e9e44c..b5c4ada 100644
--- a/arch/arm/mach-s5pv310/include/mach/regs-clock.h
+++ b/arch/arm/mach-s5pv310/include/mach/regs-clock.h
@@ -89,7 +89,9 @@
 #define S5P_CLKMUX_STATCPU		S5P_CLKREG(0x14400)
 
 #define S5P_CLKDIV_CPU			S5P_CLKREG(0x14500)
+#define S5P_CLKDIV_CPU1			S5P_CLKREG(0x14504)
 #define S5P_CLKDIV_STATCPU		S5P_CLKREG(0x14600)
+#define S5P_CLKDIV_STATCPU1		S5P_CLKREG(0x14604)
 
 #define S5P_CLKGATE_SCLKCPU		S5P_CLKREG(0x14800)
 
@@ -100,6 +102,7 @@
 #define S5P_APLLCON0_ENABLE_SHIFT	(31)
 #define S5P_APLLCON0_LOCKED_SHIFT	(29)
 #define S5P_APLL_VAL_1000		((250 << 16) | (6 << 8) | 1)
+#define S5P_APLL_VAL_800		((200 << 16) | (6 << 8) | 1)
 
 /* CLK_SRC_CPU */
 #define S5P_CLKSRC_CPU_MUXCORE_SHIFT	(16)
-- 
1.6.2.5

  parent reply	other threads:[~2010-12-23  6:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-23  5:49 [PATCH 0/7] ARM: S5PV310: Add support CPUFREQ driver Kukjin Kim
2010-12-23  5:49 ` [PATCH 1/7] ARM: S5PV310: Update CMU registers for CPUFREQ Kukjin Kim
2010-12-23  5:49 ` Kukjin Kim [this message]
2010-12-23  5:49 ` [PATCH 3/7] ARM: S5PV310: Add DMC registers and map_desc Kukjin Kim
2010-12-23  5:49 ` [PATCH 4/7] ARM: S5PV310: Add support CPUFREQ Kukjin Kim
2010-12-23  5:49 ` [PATCH V3 5/7] ARM: S5PV310: Update CPUFREQ Kukjin Kim
2010-12-23  5:49 ` [PATCH V3 6/7] ARM: S5PV310: Add FOUT APLL get rate function Kukjin Kim
2010-12-23  5:49 ` [PATCH 7/7] ARM: S5PV310: Update Kconfig and Makefile for supporting CPUFREQ Kukjin Kim

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=1293083397-15969-3-git-send-email-kgene.kim@samsung.com \
    --to=kgene.kim@samsung.com \
    --cc=ben-linux@fluff.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=sbkim73@samsung.com \
    --cc=sw.ju@samsung.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