From: Koen Martens <linuxarm@metro.cx>
To: linux-arm-kernel@lists.arm.linux.org.uk, ben@simtec.co.uk,
linux-kernel@vger.kernel.org
Subject: [patch 10/14] s3c2412/s3c2413 support
Date: Fri, 03 Mar 2006 12:06:08 +0100 [thread overview]
Message-ID: <44082320.3030804@metro.cx> (raw)
Added TICNT0/TICNT1 for s3c2412.
Signed-off-by: Koen Martens <gmc@sonologic.nl>
--- linux-2.6.15.4/include/asm-arm/arch-s3c2410/regs-rtc.h 2006-02-10
08:22:48.000000000 +0100
+++ golinux/include/asm-arm/arch-s3c2410/regs-rtc.h 2006-03-03
11:18:40.000000000 +0100
@@ -13,6 +13,7 @@
* 19-06-2003 BJD Created file
* 12-03-2004 BJD Updated include protection
* 15-01-2005 LCVR Changed S3C2410_VA to S3C24XX_VA (s3c2400
support)
+ * 17-02-2006 KM Added S3C2412 / S3C2413 registers
*/
#ifndef __ASM_ARCH_REGS_RTC_H
@@ -62,5 +63,18 @@
#define S3C2410_RTCMON S3C2410_RTCREG(0x84)
#define S3C2410_RTCYEAR S3C2410_RTCREG(0x88)
+#ifdef CONFIG_CPU_S3C2412
+
+#define S3C2412_RTCCON_TICSEL (1<<4)
+
+#define S3C2412_TICNT0 S3C2410_RTCREG(0x44)
+#define S3C2412_TICNT0_ENABLE (1<<7)
+
+#define S3C2412_TICNT1 S3C2410_RTCREG(0x4C)
+#define S3C2412_TICNT1_ENABLE (1<<7)
+
+#define S3C2412_RTCALM_XTBSEL (1<<7)
+
+#endif /* CONFIG_CPU_S3C2412 */
#endif /* __ASM_ARCH_REGS_RTC_H */
--
K.F.J. Martens, Sonologic, http://www.sonologic.nl/
Networking, hosting, embedded systems, unix, artificial intelligence.
Public PGP key: http://www.metro.cx/pubkey-gmc.asc
Wondering about the funny attachment your mail program
can't read? Visit http://www.openpgp.org/
reply other threads:[~2006-03-03 11:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=44082320.3030804@metro.cx \
--to=linuxarm@metro.cx \
--cc=ben@simtec.co.uk \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome