From patchwork Tue Nov 18 12:08:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yadwinder Singh Brar X-Patchwork-Id: 5327971 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 BB1999F1E1 for ; Tue, 18 Nov 2014 12:10:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 880A82018E for ; Tue, 18 Nov 2014 12:10:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A14820176 for ; Tue, 18 Nov 2014 12:10:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754142AbaKRMKV (ORCPT ); Tue, 18 Nov 2014 07:10:21 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:55383 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753266AbaKRMKS (ORCPT ); Tue, 18 Nov 2014 07:10:18 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NF8004YPHT4Q790@mailout1.samsung.com>; Tue, 18 Nov 2014 21:10:16 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.122]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 71.74.17016.8273B645; Tue, 18 Nov 2014 21:10:16 +0900 (KST) X-AuditID: cbfee68d-f79296d000004278-bf-546b3728aafd Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 90.AC.09430.8273B645; Tue, 18 Nov 2014 21:10:16 +0900 (KST) Received: from localhost.localdomain ([107.108.83.81]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NF800CAYHQVZ8O0@mmp1.samsung.com>; Tue, 18 Nov 2014 21:10:16 +0900 (KST) From: Yadwinder Singh Brar To: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, kgene.kim@samsung.com, yadi.brar01@gmail.com, Yadwinder Singh Brar Subject: [PATCH 2/2] ARM: dts: Add missing irq pinctrl for max77686 on smdk5250 Date: Tue, 18 Nov 2014 17:38:29 +0530 Message-id: <1416312509-11530-2-git-send-email-yadi.brar@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1416312509-11530-1-git-send-email-yadi.brar@samsung.com> References: <1416312509-11530-1-git-send-email-yadi.brar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOLMWRmVeSWpSXmKPExsWyRsSkSlfDPDvE4N0PU4v5R86xWvQuuMpm senxNVaLGef3MVm07j3CbjH3dyOrxZzp75gc2D12zrrL7rFpVSebx+Yl9R59W1YxenzeJBfA GsVlk5Kak1mWWqRvl8CVcffUSuaCBZwV79auZGtgPMLexcjBISFgInGwx6iLkRPIFJO4cG89 WxcjF4eQwFJGiafPX7BCJEwkrjf2MkMkFjFKLDx7nRkkISTQxiSx/Gk4yCA2ASOJV8fsQMIi ApkSl1rXMIHYzAIlEl3ndoOVCwv4S6y8/44FxGYRUJVYPOcM2HxeAVeJs0t/MkHsUpBoXXaI HcTmFHCT2PtxOhPEKleJ7c/Os0DUTGeXOPgrC2KOgMS3yYdYIH6Rldh0gBmiRFLi4IobLBMY hRcwMqxiFE0tSC4oTkovMtQrTswtLs1L10vOz93ECAzv0/+e9e5gvH3A+hCjAAejEg9vwtSs ECHWxLLiytxDjKZAGyYyS4km5wOjKK8k3tD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nHPJ+t4Wb9bX/v1RsvNhJLufXflbJZbijERDLeai4kQAq3iZZLYCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected 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, 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 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 --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index 95b5b51..19cd918 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 { @@ -411,3 +414,12 @@ }; }; }; + +&pinctrl_0 { + max77686_irq: max77686-irq { + samsung,pins = "gpx3-2"; + samsung,pin-function = <0xf>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; +};