From patchwork Wed Jul 21 08:57:44 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kukjin Kim X-Patchwork-Id: 59415 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ww0-f56.google.com (mail-ww0-f56.google.com [74.125.82.56]) by ozlabs.org (Postfix) with ESMTP id AEABA1007D6 for ; Wed, 21 Jul 2010 19:06:16 +1000 (EST) Received: by wwb24 with SMTP id 24sf738497wwb.11 for ; Wed, 21 Jul 2010 02:06:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:mime-version:x-beenthere:received :received:received:received:received-spf:received:received:from:to :cc:subject:date:message-id:x-mailer:in-reply-to:references :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; bh=xklQob7xJbwE4CKOn/WI054u26ywhm3EKwAg5y9+oAg=; b=Vt8SyoyIGEt6NIcya3qwgs8pOV8VszK3ad6C0WFj5yHH6PK5sy06wXNhQySYZMxmaU jRUr7W7vexbaplCoR00AnepS/9OANj9BED3mehR2zEx7BcADARvEbu+yP3WmlB25zau9 u8UyLoSSgOzAQ+Re7bWK/aaswyDp2XyQyTSkM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=mime-version:x-beenthere:received-spf:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; b=oGUVjaMt8HpefR/qlDKBIlwYOG4GOQMRhvkpaleMvFHqElsoQTDqS6XRhXcSRtclij k0ptHAbJ5w61noBr1Js9I3OHGB4icqDsyJlOwiw6V4iDcXu8olgZ348o3bXgcKJfFOQ5 PZH5scZb3RPfrNPpyzsypKg6ham88gx0J0ISI= Received: by 10.216.145.132 with SMTP id p4mr854639wej.5.1279703173842; Wed, 21 Jul 2010 02:06:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.213.41.69 with SMTP id n5ls3402300ebe.2.p; Wed, 21 Jul 2010 02:06:11 -0700 (PDT) Received: by 10.213.10.138 with SMTP id p10mr1453600ebp.14.1279703171880; Wed, 21 Jul 2010 02:06:11 -0700 (PDT) Received: by 10.213.10.138 with SMTP id p10mr1453599ebp.14.1279703171854; Wed, 21 Jul 2010 02:06:11 -0700 (PDT) Received: from ganesha.gnumonks.org (ganesha.gnumonks.org [213.95.27.120]) by gmr-mx.google.com with ESMTP id r57si8754507eeh.1.2010.07.21.02.06.11; Wed, 21 Jul 2010 02:06:11 -0700 (PDT) Received-SPF: neutral (google.com: 213.95.27.120 is neither permitted nor denied by best guess record for domain of kgene.kim@samsung.com) client-ip=213.95.27.120; Received: from uucp by ganesha.gnumonks.org with local-bsmtp (Exim 4.69) (envelope-from ) id 1ObVFg-0005F2-Hk; Wed, 21 Jul 2010 11:06:08 +0200 Received: from [12.23.102.184] (helo=localhost.localdomain) by jackpot.kr.gnumonks.org with esmtp (Exim 4.69) (envelope-from ) id 1ObUW7-00028k-52; Wed, 21 Jul 2010 17:19:03 +0900 From: Kukjin Kim To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, rtc-linux@googlegroups.com Cc: ben-linux@fluff.org, p_gortmaker@yahoo.com, a.zummo@towertech.it, Atul Dahiya , Taekgyun Ko , Kukjin Kim Subject: [rtc-linux] [PATCH 1/3] ARM: SAMSUNG: Updates RTC register for support Alarm IRQ and Time Tick. Date: Wed, 21 Jul 2010 17:57:44 +0900 Message-Id: <1279702666-13021-2-git-send-email-kgene.kim@samsung.com> X-Mailer: git-send-email 1.6.2.5 In-Reply-To: <1279702666-13021-1-git-send-email-kgene.kim@samsung.com> References: <1279702666-13021-1-git-send-email-kgene.kim@samsung.com> X-Original-Sender: kgene.kim@samsung.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 213.95.27.120 is neither permitted nor denied by best guess record for domain of kgene.kim@samsung.com) smtp.mail=kgene.kim@samsung.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , From: Atul Dahiya This patch updates RTC registers for support Alarm IRQ and Time Tick. Signed-off-by: Atul Dahiya Signed-off-by: Taekgyun Ko Signed-off-by: Kukjin Kim --- arch/arm/plat-samsung/include/plat/regs-rtc.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-samsung/include/plat/regs-rtc.h b/arch/arm/plat-samsung/include/plat/regs-rtc.h index 65c190d..30b7cc1 100644 --- a/arch/arm/plat-samsung/include/plat/regs-rtc.h +++ b/arch/arm/plat-samsung/include/plat/regs-rtc.h @@ -14,6 +14,9 @@ #define __ASM_ARCH_REGS_RTC_H __FILE__ #define S3C2410_RTCREG(x) (x) +#define S3C2410_INTP S3C2410_RTCREG(0x30) +#define S3C2410_INTP_ALM (1 << 1) +#define S3C2410_INTP_TIC (1 << 0) #define S3C2410_RTCCON S3C2410_RTCREG(0x40) #define S3C2410_RTCCON_RTCEN (1<<0)