From patchwork Wed Jul 16 08:50:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Drake X-Patchwork-Id: 4565651 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6C882C0514 for ; Wed, 16 Jul 2014 08:52:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A5148201B9 for ; Wed, 16 Jul 2014 08:52:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D23B02018E for ; Wed, 16 Jul 2014 08:52:27 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X7KvB-0002Q1-5T; Wed, 16 Jul 2014 08:50:41 +0000 Received: from mail-wg0-f41.google.com ([74.125.82.41]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X7Kv5-0002HJ-9v for linux-arm-kernel@lists.infradead.org; Wed, 16 Jul 2014 08:50:35 +0000 Received: by mail-wg0-f41.google.com with SMTP id z12so556888wgg.0 for ; Wed, 16 Jul 2014 01:50:11 -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=7uVC/1E0VFkbV89/2f+sqgC583eHd6gv28hOYWzB1Bc=; b=gAbk/o8yF+Rp0fhbz7YOt/zK5qBMzAeNG/GOJGIisTWbQRkCD0Ys14PHwATlU2US8/ oCOpQt7fOKr/rxS+itbUgdx1HkTXwm2soyVAlop5HWZUW5gM2P64xcV/YgoixEMWWug2 KSWlg9h65upsfhXxCaX6kO5REabubRwgHaDk8LijFJhpsFcZL40OF+Ts2Ag9Xgm/A2mk 2Pnud5a35FwdM8u7SbdMLgf4/ZgtjpNoSU+PSCnCD4FokGO53Rot6tx2xtjRj5LPZ18i gcdrs+WtljsKcKx44p5PadTAe+3OTej12aWTXCMvDmG/GXdcH9BNTz8s4wEK+Qom2U0S aBcg== X-Gm-Message-State: ALoCoQlXFpbPIHWKY5q4AS4p7HSFAA5qKH/1aVK2GGSpYR+7KlT8X9EoqeabCoMPKQnXqvJkKs/l X-Received: by 10.194.89.138 with SMTP id bo10mr34312005wjb.22.1405500611443; Wed, 16 Jul 2014 01:50:11 -0700 (PDT) Received: from dsd-ubuntu.endlessm-sf.com (host-89-241-152-157.as13285.net. [89.241.152.157]) by mx.google.com with ESMTPSA id fs17sm38334206wjc.6.2014.07.16.01.50.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Jul 2014 01:50:10 -0700 (PDT) From: Daniel Drake To: kgene.kim@samsung.com Subject: [PATCH 1/2] ARM: dts: Enable PMIC interrupts on ODROID Date: Wed, 16 Jul 2014 09:50:05 +0100 Message-Id: <1405500606-5752-1-git-send-email-drake@endlessm.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140716_015035_494611_643545E4 X-CRM114-Status: GOOD ( 10.25 ) X-Spam-Score: -0.7 (/) Cc: liquid.acid@gmx.net, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-1.9 required=5.0 tests=BAYES_00,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 The ODROID kernel shows that the PMIC interrupt line is hooked up to pin GPX3-2. This is needed for the max77686-irq driver to create the PMIC IRQ domain, which is needed by max77686-rtc. Signed-off-by: Daniel Drake Reviewed-by: Tomasz Figa Tested-by: Tomeu Vizoso --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index 6d6d23c..cb6f55f 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -148,6 +148,10 @@ max77686: pmic@09 { compatible = "maxim,max77686"; + interrupt-parent = <&gpx3>; + interrupts = <2 0>; + pinctrl-names = "default"; + pinctrl-0 = <&max77686_irq>; reg = <0x09>; #clock-cells = <1>; @@ -368,4 +372,11 @@ samsung,pins = "gpx1-3"; samsung,pin-pud = <0>; }; + + max77686_irq: max77686-irq { + samsung,pins = "gpx3-2"; + samsung,pin-function = <0>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; };