From patchwork Fri Sep 7 07:46:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 146186 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp852503ljw; Fri, 7 Sep 2018 00:47:09 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYoSOWJlFageBoAD345c29s1iCP9zA/9DyBWWsXQmIz9SgYQfhAWg98HDPm0kUhlobjeIBn X-Received: by 2002:a63:ce43:: with SMTP id r3-v6mr6996671pgi.439.1536306429150; Fri, 07 Sep 2018 00:47:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536306429; cv=none; d=google.com; s=arc-20160816; b=K806qWGOGAw0d/okPfwzs25ehYk8eL9Crx7JYmHXSDpEOBxPEjza3Crk9k1l7Q+C6X nMJGqxXfaCiF9TImL88aZWkfe6Yv7FfAUuxjju6BcV8yMkX/ux2Yw8q2ShtTEHv5LCrg vOLI3eVawkUnVrq5tZVey82OX0IodBWa7LwzijM3WiFigT4wgEfDtylNsGY4PCjBu4tv pVORP0T9Nh+s/Y2EZ9b4imEoDLFgKiiYvBuLaObbQ2I44TeiosaLJQVG+/rqPh+kLcNt nznbtpE8QUUXtTdqEpkIrVxswsQ2mXvR28rr5NNW2P0PMxS4bwgLySPap+XgZWq3/zlk /nnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=pBCeFXSiSuYeK5J70V7DqALXRytVbm97EKZuOHUy3rc=; b=Ub+oD/R5X6octd9BxXPKTqpEM/2vTFdra2YF5J3CtqYV2V5TA4BcctBtVtJKG9BJdC OS1/c+g+CeFKl4aMyqK9dWT9jMU/g24QMYb96wnk1we8aKXe1wO2GOInn1o/qBx5r8nQ 0oUygv2cG2gtXAHTa6FggObUqO9W7Hzn5gTQDJgoG5yOjlJNWVU3dxzk6tfcyEWJIr76 AvPgFTXcAmjn2ZJIujgcEHz0DNCR6ujnEnk+ZLmW0AeszlzdiwuerNRGkmYWWYDD9D9b SZzX2WEYpg8fELcRgwacMJpMnSEnfAxKeH9OeH0EvG4MD9Hpme5I6lwXr8TsY4bw+Yhf m1EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=CxXpGG5V; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v18-v6si7550727pgl.171.2018.09.07.00.47.08; Fri, 07 Sep 2018 00:47:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=CxXpGG5V; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727865AbeIGM0t (ORCPT + 3 others); Fri, 7 Sep 2018 08:26:49 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:50809 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727864AbeIGM0s (ORCPT ); Fri, 7 Sep 2018 08:26:48 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180907074706euoutp01ba88c453ce1b3b2e0713ae3dfd54b116~SDo4MoLMS2394723947euoutp01d; Fri, 7 Sep 2018 07:47:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180907074706euoutp01ba88c453ce1b3b2e0713ae3dfd54b116~SDo4MoLMS2394723947euoutp01d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1536306426; bh=pBCeFXSiSuYeK5J70V7DqALXRytVbm97EKZuOHUy3rc=; h=From:To:Cc:Subject:Date:References:From; b=CxXpGG5V+SFSi5pqgPA6NrSWTISD3JSv5OVesewJl/dNYo3sOeIBu/3RHUTEGdGsm kNkvYsyXpAnzRsvBNSxmOrHVYRUbhOZMtOSpSjKD8hBnDUY2v/C7AS7jCOAadMzznz BPgFXzkrJAMFyJvxs2Zts276Buk6/4atR5jpyhAA= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180907074705eucas1p1c8423d152d5691fa307c76e819995b52~SDo3tbg5p2615726157eucas1p15; Fri, 7 Sep 2018 07:47:05 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id E5.90.04294.9FC229B5; Fri, 7 Sep 2018 08:47:05 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180907074704eucas1p1ae3f3a8224d338bd2d7259ec207bdadf~SDo22sCwP2247722477eucas1p18; Fri, 7 Sep 2018 07:47:04 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-d0-5b922cf91616 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 1B.C7.04284.8FC229B5; Fri, 7 Sep 2018 08:47:04 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PEO0077PDMDU480@eusync3.samsung.com>; Fri, 07 Sep 2018 08:47:04 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH] ARM: dts: exynos: Disable pull control for PMIC IRQ line on Artik5 board Date: Fri, 07 Sep 2018 09:46:59 +0200 Message-id: <20180907074659.4297-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplkeLIzCtJLcpLzFFi42LZduzned2fOpOiDQ6dF7bYOGM9q8X58xvY LWac38dksfbIXXYHFo9NqzrZPPq2rGL0+LxJLoA5issmJTUnsyy1SN8ugSvj5/V/zAXfOSrm 9L9ha2Bcz97FyMkhIWAi8fDJZqYuRi4OIYEVjBKdb5dBOZ8ZJQ4vm8MCU7Vqwg52iMQyRom3 Td2MEE4Dk8TBxlVgs9gEDCW63naxgdgiAqoSn9sWgHUwC/QxSlzfO5e5i5GDQ1ggWqJjSwFI DQtQzffDUxhBbF4BG4m5r2dBbZOXWL3hADNIr4TASVaJOVMWQx3rInH+2SomCFtY4tXxLVBx GYnOjoNMEA3NjBLtM2axQzg9jBJb5+xgg6iyljh8/CIriM0swCcxadt0sIskBHglOtqEIEo8 JM5O+8UMYgsJxEqcfvaBZQKjxAJGhlWM4qmlxbnpqcVGeanlesWJucWleel6yfm5mxiBkXP6 3/EvOxh3/Uk6xCjAwajEw/vAaGK0EGtiWXFl7iFGCQ5mJRFeJoVJ0UK8KYmVValF+fFFpTmp xYcYpTlYlMR5+bTSooUE0hNLUrNTUwtSi2CyTBycUg2MBnECWQ7b9J2MJVS45dW4Exae3cG3 JuyQ6Au3J+7S++6kuXxqfLmcL//gG5aPffXuTWtzhBWLXJUN1dTfFda3Mqz/UHO6vPTPPMWH F+5d4zDsKH//ZebNj+F5KrPial3P6JtLpU3rSyqw+p6webXlhLJTBm+lN1z1nHrnxLcoXvmQ wAkPOKYqsRRnJBpqMRcVJwIAbFdOiZgCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKJMWRmVeSWpSXmKPExsVy+t/xq7o/dCZFGyyfqmGxccZ6Vovz5zew W8w4v4/JYu2Ru+wOLB6bVnWyefRtWcXo8XmTXABzFJdNSmpOZllqkb5dAlfGz+v/mAu+c1TM 6X/D1sC4nr2LkZNDQsBEYtWEHWC2kMASRon3Z227GLmA7CYmiaZ3h1hAEmwChhJdb7vYQGwR AVWJz20L2EGKmAUmMEqsXjiLtYuRg0NYIFqiY0sBSA0LUM33w1MYQWxeARuJua9nsUAsk5dY veEA8wRGrgWMDKsYRVJLi3PTc4sN9YoTc4tL89L1kvNzNzECPbvt2M/NOxgvbQw+xCjAwajE w2thOjFaiDWxrLgy9xCjBAezkggvk8KkaCHelMTKqtSi/Pii0pzU4kOM0hwsSuK85w0qo4QE 0hNLUrNTUwtSi2CyTBycUg2MybH/z+WlpV/ebfpc+/vTtK1v/k5Z7OfiKGBt9GJBleJcqWvq Cfs2sK/Vi2dczjSHgdVfgMvAole2xK3ype7aNXwRu6XFpldePt1ctKXjYO7Fv1Z1rD6F3A8U /vMXrTn0a+uXaZNCdxR86OgNf21wSPxw/64nW1Rz+Fz3TdwafF6048NlvtYCJZbijERDLeai 4kQAetTG3OgBAAA= X-CMS-MailID: 20180907074704eucas1p1ae3f3a8224d338bd2d7259ec207bdadf X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180907074704eucas1p1ae3f3a8224d338bd2d7259ec207bdadf References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org S2MPS14 PMIC interrupt line on Exynos3250-based Artik5 evaluation board has external pull-up resistors, so disable any pull control for it in controller node. This fixes support for S2MPS14 PMIC interrupts and enables operation of wakeup from S2MPS14 RTC alarm. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos3250-artik5.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/exynos3250-artik5.dtsi b/arch/arm/boot/dts/exynos3250-artik5.dtsi index 620b50c19ead..7c22cbf6f3d4 100644 --- a/arch/arm/boot/dts/exynos3250-artik5.dtsi +++ b/arch/arm/boot/dts/exynos3250-artik5.dtsi @@ -69,6 +69,8 @@ compatible = "samsung,s2mps14-pmic"; interrupt-parent = <&gpx3>; interrupts = <5 IRQ_TYPE_NONE>; + pinctrl-names = "default"; + pinctrl-0 = <&s2mps14_irq>; reg = <0x66>; s2mps14_osc: clocks { @@ -350,6 +352,11 @@ samsung,pin-drv = ; samsung,pin-val = <1>; }; + + s2mps14_irq: s2mps14-irq { + samsung,pins = "gpx3-5"; + samsung,pin-pud = ; + }; }; &rtc {