From patchwork Wed Oct 23 13:11:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 3088481 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 020E59F2B8 for ; Wed, 23 Oct 2013 13:13:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DBBD5203AD for ; Wed, 23 Oct 2013 13:13:06 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9D7D9201CD for ; Wed, 23 Oct 2013 13:13:05 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VYyEd-00060D-Oa; Wed, 23 Oct 2013 13:12:27 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VYyEU-00064U-70; Wed, 23 Oct 2013 13:12:18 +0000 Received: from mail-vc0-f201.google.com ([209.85.220.201]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VYyEP-00062U-Ma for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2013 13:12:14 +0000 Received: by mail-vc0-f201.google.com with SMTP id lc6so59554vcb.4 for ; Wed, 23 Oct 2013 06:11:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ciVkCImFdLQVht3+V7tPbo3SKZNaHbJhu0tabh92PZs=; b=BKAGHuKzIUWoh03dXWPoJx+lpezkzKBL08H9zTGpf1oiD9yWRYTjbn9/Mel7BODGAz j9MI+Xv7ywDwrpUk56UKP3ayMJo9faFYiOgPttTfsCGUO/uFFoZWENBL0m51LqzYNNCt qj97Ion4sM3JPBCaQksyrIAaTlYbIvKoCPWS2O1Rg86xnZbcx9eoPP+giY9Od8qeRm8E VoKEif3Eu+tB2CUDXOzrE5FMoGfdYAKdwbE7zDy7iyfdVlQOTXFwnbJZO4tvsDCfbvsB gPMOncpqZ47+sLHDENjHxkvr74dOE4Df6Jk/geeTSDT7Bzfp1eFlwahzu+feNnAR3LtD oVlg== X-Gm-Message-State: ALoCoQkvzX4JInvJ/qeK6ab+KyKd0yA1OrnI3LEZWqPjr30CQZb/gAE/1kQcSrILkw99q4uIeYu0JCLttGjzsm/9MyvRywY90661s+o0Zk6pzH1Yz5mAFH0nvuWXQ8Mceto4D255ij65Or3bOUYq3CnvaAIkVnqrYsaKx//JlAllJG1goRos9ktC/gbZf9UFu/S9szPq0TUAyoszT/o4vjAbJPiuJ9ZmoA== X-Received: by 10.236.120.241 with SMTP id p77mr1572091yhh.30.1382533894522; Wed, 23 Oct 2013 06:11:34 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id a49si1585283yhc.5.2013.10.23.06.11.34 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Oct 2013 06:11:34 -0700 (PDT) Received: from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com [172.22.72.141]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id 5B4CD5A4174; Wed, 23 Oct 2013 06:11:34 -0700 (PDT) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id F2343805EC; Wed, 23 Oct 2013 06:11:33 -0700 (PDT) From: Doug Anderson To: Kukjin Kim Subject: [PATCH] ARM: dts: Add max77686 RTC interrupt to cros5250-common Date: Wed, 23 Oct 2013 06:11:01 -0700 Message-Id: <1382533861-12688-1-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 1.8.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131023_091213_816057_44804C6E X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -3.0 (---) Cc: Russell King , marc.zyngier@arm.com, Tomasz Figa , Doug Anderson , linux-kernel@vger.kernel.org, Olof Johansson , linux-arm-kernel@lists.infradead.org, Rahul Sharma X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Without the interrupt you'll get problems if you enable CONFIG_RTC_DRV_MAX77686. Setup the interrupt properly in the device tree. Signed-off-by: Doug Anderson Tested-by: Marc Zyngier --- arch/arm/boot/dts/cros5250-common.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/cros5250-common.dtsi b/arch/arm/boot/dts/cros5250-common.dtsi index dc259e8b..9b186ac 100644 --- a/arch/arm/boot/dts/cros5250-common.dtsi +++ b/arch/arm/boot/dts/cros5250-common.dtsi @@ -27,6 +27,13 @@ i2c2_bus: i2c2-bus { samsung,pin-pud = <0>; }; + + max77686_irq: max77686-irq { + samsung,pins = "gpx3-2"; + samsung,pin-function = <0>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; }; i2c@12C60000 { @@ -35,6 +42,11 @@ max77686@09 { compatible = "maxim,max77686"; + interrupt-parent = <&gpx3>; + interrupts = <2 0>; + pinctrl-names = "default"; + pinctrl-0 = <&max77686_irq>; + wakeup-source; reg = <0x09>; voltage-regulators {