From patchwork Tue May 5 04:39:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 6333941 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 661AABEEE1 for ; Tue, 5 May 2015 04:39:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6E813202BE for ; Tue, 5 May 2015 04:39:37 +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 2892B201BC for ; Tue, 5 May 2015 04:39:36 +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 1YpUc4-0000Dz-K4; Tue, 05 May 2015 04:37:44 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YpUbz-00084M-1T for linux-arm-kernel@lists.infradead.org; Tue, 05 May 2015 04:37:40 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NNV009YQ0U46670@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 05 May 2015 13:37:16 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.123]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 79.2D.17770.CF848455; Tue, 5 May 2015 13:37:16 +0900 (KST) X-AuditID: cbfee691-f79ca6d00000456a-56-554848fc26a8 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 29.C3.03871.CF848455; Tue, 5 May 2015 13:37:16 +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 <0NNV00BQ60TYDUD0@mmp2.samsung.com>; Tue, 05 May 2015 13:37:15 +0900 (KST) From: Pankaj Dubey To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [RESEND-v2-PATCH] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250 Date: Tue, 05 May 2015 10:09:56 +0530 Message-id: <1430800796-30960-1-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.2.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrILMWRmVeSWpSXmKPExsWyRsSkWvePh0eoQcsJIYv5R86xWjz/94Pd 4vULQ4v+x6+ZLTY9vsZqMeP8PiaLRVu/sFu07j3CbjH3dyOrxZzp75gcuDx2zrrL7rFpVSeb x+Yl9R59W1YxenzeJBfAGsVlk5Kak1mWWqRvl8CVceLoRpaCX3wV/7qPsDQw7uPpYuTkkBAw kdh99gw7hC0mceHeerYuRi4OIYGljBKnlsxngyn6NukfVGI6o8TH38eYIZxWJonz13YyglSx CehKPHk/lxnEFhHIlNh0dxsjSBGzwDlGidPNh1m7GDk4hAXCJXr+moPUsAioSrRcOQBWzyvg IbHy7h1WiG1yEltuPWIH6ZUQmMwusXXCOxaIBgGJb5MPsYDMkRCQldgE0SshIClxcMUNlgmM ggsYGVYxiqYWJBcUJ6UXmeoVJ+YWl+al6yXn525iBIb06X/PJu5gvH/A+hCjAAejEg9vBJdH qBBrYllxZe4hRlOgDROZpUST84GRk1cSb2hsZmRhamJqbGRuaaYkzqsj/TNYSCA9sSQ1OzW1 ILUovqg0J7X4ECMTB6dUA+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ijERDLeai4kQAoCg9o64CAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150504_213739_273176_85F90095 X-CRM114-Status: UNSURE ( 9.08 ) 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, Pankaj Dubey 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 [pankaj.dubey: resubmitted after rebasing to latest kgene tree] Signed-off-by: Pankaj Dubey 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 v2: -Included my Signed-off-by for touching this patch. -Included Acked-by from Krzysztof Kozlowski. 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>; + }; +};