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: 4565621 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 96EC19F295 for ; Wed, 16 Jul 2014 08:50:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE5E12018E for ; Wed, 16 Jul 2014 08:50:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AC1BA201B9 for ; Wed, 16 Jul 2014 08:50:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756955AbaGPIuN (ORCPT ); Wed, 16 Jul 2014 04:50:13 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:40362 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751091AbaGPIuM (ORCPT ); Wed, 16 Jul 2014 04:50:12 -0400 Received: by mail-wg0-f46.google.com with SMTP id m15so553543wgh.29 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=hwvob/1bcDEh0Xg8YmIeakrYy1DyZxiRkLUhPxiYkXgM+c5bpF4YVaj1gSzV9OI+ao eDr8PeYeAYCTCo2Oy3cGShvNTpXCeCeh2pU4cEkP3hJBKjauXOw8i7kTkdQASWHxyw/h 5+oznbhszdNjUOY1M90XNvdIz6MOvLYKDXi4n2b75RPRnDnbU+DC7qu5kQR3pxHqSqnX uRUUK8YFEE+WpauMP0WFYcopMMc+/PXK7hmhh1nWThcWyun1cuRxIbQ9Lp6bQCOsZTKm H40Ioz5JmD0nEJabN52JX5mEEiiL9/8hnhMh7xTUcr/ThBtw2lfhZu6TRfVAf7mOahBw mCrA== X-Gm-Message-State: ALoCoQkK4nybztv2XqKqjhrhGx8XU735Bf4s+5Ev3d7i7jERrry7DwDaJr4HYK4pbn9QXY5piEoX 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 Cc: linux-samsung-soc@vger.kernel.org, liquid.acid@gmx.net, m.szyprowski@samsung.com, linux-arm-kernel@lists.infradead.org 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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>; + }; };