From patchwork Wed Jul 21 08:55:00 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kukjin Kim X-Patchwork-Id: 59419 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 A9D571007D4 for ; Wed, 21 Jul 2010 19:06:16 +1000 (EST) Received: by wwb24 with SMTP id 24sf738495wwb.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=w7apzp7qZWA7san2ecOD6472zzyf7MYvMBe5IgufB+o=; b=hmZjccazQBkYDDNbxKsoHP5NXhxaKnkCON8Aubw6KUqTXL1jVvmrJ7K+p94Rwn4Z2n oho2mNn+t7dSdb9NrTfgpvyaHlv8Oay/nsHEwnTSIVbsup0RLIbr/B+PFvXH5KcUm3Q/ eCf3lQUEEuPilOVG5xfmNNlKcF/SLf3fwtEIg= 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=BhYuJvy86HUjZQ7Wa6OQ0vIe4bZ6TeODehQAKke43Opuvf09ZT/io++VAJa1IZ86XJ chDVzVSKVuWOqT8K4Pbp6OPnaX0SJtXx2pYo0VKFVGukcVJnlSDEqArrJxS5iAPRwRaO RzzWxx0Ptoyue6GssQ6W9Rwyaaliett92Ad/c= Received: by 10.216.145.167 with SMTP id p39mr866816wej.10.1279703173647; Wed, 21 Jul 2010 02:06:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.213.45.206 with SMTP id g14ls3401660ebf.0.p; Wed, 21 Jul 2010 02:06:11 -0700 (PDT) Received: by 10.213.2.201 with SMTP id 9mr1502754ebk.1.1279703171696; Wed, 21 Jul 2010 02:06:11 -0700 (PDT) Received: by 10.213.2.201 with SMTP id 9mr1502753ebk.1.1279703171669; 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 a48si8752828eei.2.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-0005Ew-Ef; 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 1ObUTS-00028E-Di; Wed, 21 Jul 2010 17:16:18 +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 , Kukjin Kim Subject: [rtc-linux] [PATCH 1/2] ARM: S3C64XX: Move RTC clock from init_clocks to init_clocks_disable Date: Wed, 21 Jul 2010 17:55:00 +0900 Message-Id: <1279702501-6803-2-git-send-email-kgene.kim@samsung.com> X-Mailer: git-send-email 1.6.2.5 In-Reply-To: <1279702501-6803-1-git-send-email-kgene.kim@samsung.com> References: <1279702501-6803-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 RTC clock does not require to be enabled at boot time. Signed-off-by: Atul Dahiya Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c64xx/clock.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c index fbd85a9..f577eb7 100644 --- a/arch/arm/mach-s3c64xx/clock.c +++ b/arch/arm/mach-s3c64xx/clock.c @@ -133,6 +133,12 @@ static struct clk init_clocks_disable[] = { .id = -1, .parent = &clk_h, }, { + .name = "rtc", + .id = -1, + .parent = &clk_p, + .enable = s3c64xx_pclk_ctrl, + .ctrlbit = S3C_CLKCON_PCLK_RTC, + }, { .name = "adc", .id = -1, .parent = &clk_p, @@ -295,12 +301,6 @@ static struct clk init_clocks[] = { .enable = s3c64xx_pclk_ctrl, .ctrlbit = S3C_CLKCON_PCLK_UART3, }, { - .name = "rtc", - .id = -1, - .parent = &clk_p, - .enable = s3c64xx_pclk_ctrl, - .ctrlbit = S3C_CLKCON_PCLK_RTC, - }, { .name = "watchdog", .id = -1, .parent = &clk_p,