From patchwork Mon Jun 11 15:25:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9205 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 77ABD23EB4 for ; Mon, 11 Jun 2012 15:25:50 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 47D86A186CC for ; Mon, 11 Jun 2012 15:25:50 +0000 (UTC) Received: by ghbz12 with SMTP id z12so2827798ghb.11 for ; Mon, 11 Jun 2012 08:25:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=QK4jQu7dITrNpltBDoO2DpRmDnKUCFvQC4aMydXFKAo=; b=KStK5a1W/9z1idU/xTqoiaFbedV1d25jZzPYf5bna9f5AkIuJ278uua8p1Ae7A9akW yZRVnjp4sZ9tWypDLeeY0Pf7Pz9Zcemf9j3E7MhhSq44VEPNoVO6bcQ3uazZ8cAq+BGn Ys7d1119vY2Ax8w6Lxg33WxYK7ghrAG2iXLopKi+8Vf2tlrTuRU9a9bNaJelnMTFchGP SiN9yxmrO5ZNgq1CGlOK1cOOmF0z3lY9KbguzSfVF4i6OHNfgjFbuwt1S/I9ytyfhk37 qnAH08x5cxpkvwiCIH7P1Vspvrk4ANCoVFW2HZ4WVvGBsPILeWaLXxBZ+x5scPGXv/Ik 7HgA== Received: by 10.50.203.39 with SMTP id kn7mr6525098igc.53.1339428349614; Mon, 11 Jun 2012 08:25:49 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp115748ibb; Mon, 11 Jun 2012 08:25:48 -0700 (PDT) Received: by 10.14.37.2 with SMTP id x2mr6464164eea.72.1339428347585; Mon, 11 Jun 2012 08:25:47 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id a59si24387284wel.52.2012.06.11.08.25.47 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:25:47 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wg0-f50.google.com with SMTP id ds11so3345557wgb.31 for ; Mon, 11 Jun 2012 08:25:47 -0700 (PDT) Received: by 10.216.227.101 with SMTP id c79mr2761417weq.188.1339428346946; Mon, 11 Jun 2012 08:25:46 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id ch9sm39413606wib.8.2012.06.11.08.25.45 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:25:46 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: linus.walleij@stericsson.com, arnd@arndb.de, grant.likely@secretlab.ca, Lee Jones Subject: [PATCH 13/14] ARM: ux500: Enable the AB8500 RTC for all DT:ed DB8500 based devices Date: Mon, 11 Jun 2012 16:25:06 +0100 Message-Id: <1339428307-3850-14-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1339428307-3850-1-git-send-email-lee.jones@linaro.org> References: <1339428307-3850-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkIcQvBf2TzFzGGAbeuOAuJjOtQ3ROL1PMygubr5hW4JW9bufdnuqlGK3HRILUlwUwj7Agd Here we add a node for the AB8500 Real Time Clock in all devices supporting the DB8500. The AB8500 RTC driver makes use of named interrupts we provide support for this too. Signed-off-by: Lee Jones --- arch/arm/boot/dts/db8500.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/db8500.dtsi b/arch/arm/boot/dts/db8500.dtsi index 55a36ae..26f895f 100644 --- a/arch/arm/boot/dts/db8500.dtsi +++ b/arch/arm/boot/dts/db8500.dtsi @@ -315,6 +315,13 @@ interrupt-controller; #interrupt-cells = <2>; + ab8500-rtc { + compatible = "stericsson,ab8500-rtc"; + interrupts = <17 0x4 + 18 0x4>; + interrupt-names = "60S", "ALARM"; + }; + ab8500-gpadc { compatible = "stericsson,ab8500-gpadc"; interrupts = <32 0x4