From patchwork Tue May 5 04:07:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 6333811 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 12CF99F32E for ; Tue, 5 May 2015 04:08:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3B31720173 for ; Tue, 5 May 2015 04:08:25 +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 502FD2015A for ; Tue, 5 May 2015 04:08:24 +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 1YpU7I-0005TT-Oi; Tue, 05 May 2015 04:05:56 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YpU7F-0005Lq-Jb for linux-arm-kernel@lists.infradead.org; Tue, 05 May 2015 04:05:54 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NNU004T7ZD6OBD0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 05 May 2015 13:05:30 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.124]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id C9.79.24422.98148455; Tue, 5 May 2015 13:05:30 +0900 (KST) X-AuditID: cbfee68f-f793b6d000005f66-a9-55484189bac1 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 91.9C.25346.98148455; Tue, 5 May 2015 13:05:29 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NNU00HSMZCTGR70@mmp2.samsung.com>; Tue, 05 May 2015 13:05:29 +0900 (KST) From: Pankaj Dubey To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [RESEND-PATCH] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250 Date: Tue, 05 May 2015 09:37:35 +0530 Message-id: <1430798855-27271-1-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.2.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLLMWRmVeSWpSXmKPExsWyRsSkRrfL0SPU4HEfi8X8I+dYLZ7/+8Fu 8fqFoUX/49fMFpseX2O1mHF+H5NF694j7BZzfzeyWsyZ/o7JgdNj56y77B6bVnWyeWxeUu/R t2UVo8fnTXIBrFFcNimpOZllqUX6dglcGS+m7GEruMdTsb3rA2sD43GuLkZODgkBE4lLdzay QthiEhfurWfrYuTiEBJYyijxddYjdpiiIxNaGSES0xklbtzvZYZwWpkk3nfMYgOpYhPQlXjy fi4ziC0ikCmx6e42sA5mgcWMElfe3gTbISwQIrHj8SkWEJtFQFViy47dYM28Ah4SHw8tZIZY Jyex5RbIai4gu5td4u/2q0wQDQIS3yYfAmrmAErISmw6AFUvKXFwxQ2WCYyCCxgZVjGKphYk FxQnpRcZ6xUn5haX5qXrJefnbmIEhvLpf8/6dzDePWB9iFGAg1GJhzeCyyNUiDWxrLgy9xCj KdCGicxSosn5wIjJK4k3NDYzsjA1MTU2Mrc0UxLnXSj1M1hIID2xJDU7NbUgtSi+qDQntfgQ IxMHp1QD47HzF/9HybfvtAn74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PGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150504_210553_791161_7ACBF269 X-CRM114-Status: UNSURE ( 8.84 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: k.kozlowski@samsung.com, yadi.brar01@gmail.com, Yadwinder Singh Brar , robh+dt@kernel.org, kgene@kernel.org, k.kozlowski.k@gmail.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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 From: Yadwinder Singh Brar This patch adds pinctrl configuration for using configuring gpx3-2 as an external interrupt from max77686. Though max77686 RTC is enabled and gets probed by default, it doesnt work as its unable to get interrupt. This patch makes max77686 RTC work and also configures it as wakeup source. Signed-off-by: Yadwinder Singh Brar Reviewed-by: Javier Martinez Canillas Tested-by: Pankaj Dubey Acked-by: Krzysztof Kozlowski --- Initial version of this patch was part of following series, though they are not dependent on each other, resubmitting after rebasing and detaching second one from first patch in the series [1] [1]: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/303652.html arch/arm/boot/dts/exynos5250-smdk5250.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index bc27cc2..4fe186d 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -131,6 +131,9 @@ reg = <0x09>; interrupt-parent = <&gpx3>; interrupts = <2 IRQ_TYPE_NONE>; + pinctrl-names = "default"; + pinctrl-0 = <&max77686_irq>; + wakeup-source; voltage-regulators { ldo1_reg: LDO1 { @@ -410,3 +413,12 @@ }; }; }; + +&pinctrl_0 { + max77686_irq: max77686-irq { + samsung,pins = "gpx3-2"; + samsung,pin-function = <0xf>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; +};