From patchwork Wed Jul 25 06:12:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammed Afzal X-Patchwork-Id: 173112 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-gh0-f184.google.com (mail-gh0-f184.google.com [209.85.160.184]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 5342B2C0083 for ; Wed, 25 Jul 2012 16:12:55 +1000 (EST) Received: by ghbf19 with SMTP id f19sf353919ghb.11 for ; Tue, 24 Jul 2012 23:12:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:from:to:cc:subject:date:message-id :x-mailer:in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=KV7s4MN1FvjSKuBZnjFbREOs4IT9Oq8lCKL9mxBPOyQ=; b=gOoQ6JK0YaYn3tDwDcYNAdKVwItMNYRb/cnrLJKbrduM2P1I2Pj/mjFJeALPH9uJAf bTLT/kK0n/GcA0ZaC5lDwytJr72oyS6TbTWi8watagOzaoeyonvxRjYpMMpFQufrDzNr I/zA205puZ9tNMKAtIoTF0eOnEytxHpK9xIAU= Received: by 10.182.112.42 with SMTP id in10mr1014768obb.13.1343196773045; Tue, 24 Jul 2012 23:12:53 -0700 (PDT) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.231.51.106 with SMTP id c42ls184786ibg.3.gmail; Tue, 24 Jul 2012 23:12:52 -0700 (PDT) Received: by 10.42.93.141 with SMTP id x13mr10543507icm.19.1343196772621; Tue, 24 Jul 2012 23:12:52 -0700 (PDT) Received: by 10.42.93.141 with SMTP id x13mr10543506icm.19.1343196772606; Tue, 24 Jul 2012 23:12:52 -0700 (PDT) Received: from arroyo.ext.ti.com (arroyo.ext.ti.com. [192.94.94.40]) by gmr-mx.google.com with ESMTPS id j4si149024igq.2.2012.07.24.23.12.52 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Jul 2012 23:12:52 -0700 (PDT) Received-SPF: neutral (google.com: 192.94.94.40 is neither permitted nor denied by best guess record for domain of ubnuser@udx0156546) client-ip=192.94.94.40; Received: from dbdp20.itg.ti.com ([172.24.170.38]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id q6P6CPqM007646; Wed, 25 Jul 2012 01:12:32 -0500 Received: from DBDE70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id q6P6CN2a005962; Wed, 25 Jul 2012 11:42:23 +0530 (IST) Received: from dbdp33.itg.ti.com (172.24.170.252) by dbde70.ent.ti.com (172.24.170.148) with Microsoft SMTP Server id 14.1.323.3; Wed, 25 Jul 2012 11:42:22 +0530 Received: from udx0156546 (smtpvbd.itg.ti.com [172.24.170.250]) by dbdp33.itg.ti.com (8.13.8/8.13.8) with ESMTP id q6P6CDER002201; Wed, 25 Jul 2012 11:42:15 +0530 Received: from ubnuser by udx0156546 with local (Exim 4.72) (envelope-from ) id 1StupR-0003dA-Om; Wed, 25 Jul 2012 11:42:13 +0530 From: Afzal Mohammed To: , , , , , , , , , , , , , CC: Afzal Mohammed Subject: [rtc-linux] [PATCH v2 2/6] ARM: davinci: remove rtc kicker release Date: Wed, 25 Jul 2012 11:42:13 +0530 Message-ID: <2b8ac8b7d69c1629b5e4ed1e892d358add82fe1d.1343191280.git.afzal@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: References: MIME-Version: 1.0 X-Original-Sender: afzal@ti.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.94.94.40 is neither permitted nor denied by best guess record for domain of ubnuser@udx0156546) smtp.mail=ubnuser@udx0156546 Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , rtc-omap driver is now capable of handling kicker mechanism, hence remove kicker handling at platform level, instead provide proper device name so that driver can handle kicker mechanism by itself Signed-off-by: Afzal Mohammed --- v2: Use device name da830-rtc instead of am1808-rtc arch/arm/mach-davinci/devices-da8xx.c | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index d1624a3..da5e4c7 100644 --- a/arch/arm/mach-davinci/devices-da8xx.c +++ b/arch/arm/mach-davinci/devices-da8xx.c @@ -679,7 +679,7 @@ static struct resource da8xx_rtc_resources[] = { }; static struct platform_device da8xx_rtc_device = { - .name = "omap_rtc", + .name = "da830-rtc", .id = -1, .num_resources = ARRAY_SIZE(da8xx_rtc_resources), .resource = da8xx_rtc_resources, @@ -688,17 +688,6 @@ static struct platform_device da8xx_rtc_device = { int da8xx_register_rtc(void) { int ret; - void __iomem *base; - - base = ioremap(DA8XX_RTC_BASE, SZ_4K); - if (WARN_ON(!base)) - return -ENOMEM; - - /* Unlock the rtc's registers */ - __raw_writel(0x83e70b13, base + 0x6c); - __raw_writel(0x95a4f1e0, base + 0x70); - - iounmap(base); ret = platform_device_register(&da8xx_rtc_device); if (!ret)