From patchwork Wed Sep 5 10:02:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 145981 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4731619ljw; Wed, 5 Sep 2018 03:03:46 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdab1XQ8I0BpzAqHC0G7ev0jIBs1kHZWuPN6+Wo+sgcKFVIXajPQp+gosTGDAaZaWbzrLAAY X-Received: by 2002:a17:902:a716:: with SMTP id w22-v6mr38257275plq.334.1536141826399; Wed, 05 Sep 2018 03:03:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536141826; cv=none; d=google.com; s=arc-20160816; b=vgKupsUuSaxSQ8vdi3kRp9K/7CrnSM/a5Zo/imBebtRBM/yAnZNNIEFYrce4p178jE HfrcfkkWqi5tiHKtO+khaUfSbNp0s0L9ndGSVCPE21tEsxP/9Wroxms5WdoithCe9AlX f2VrUB469S3GjPc5Fm00CbT3G8UXOGAQDuGxSK5VmkcK89Zlz1Qb2qOsc/UBCGF0k4Jg 3CQYYffqA/qKhmXFzrX7vnsq3JDIovr919wU66MC1ObAD++KHgDuNDc6Rf7Za57rxX3a zubW1PLY2GHzdQm7bJurYu5r4bFB7qojrVL4/vJ+t75lnCrTTGGtUC5a7SfAawTFdMEJ /XNg== 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=KhfGCTk4l2JuSX9wSutFR/Jx1U3ZC6F6xSUe4pfharM=; b=s8Nb0B4x7/HRnCsSADrXRt+0b11tZX9jyBDlINWPrlOBnqJ1Ap0wOzb7waEmBslTJg 4/fhzL3N36Uhxrm/Ohq8MjKaE1wMGo2N7g4WiaA+b8xjnahxFDEfoyYKuGgTzMfXBpfn qka1OMVMDx22NpWdvpuULXm3mFmxWBSROexvBQHDJvHrb/hB2oNeoPf5C5JYp0R+WiNz K+pzm3Vxbfsy4Zzc5Dklzq4iqTcKVqpYdyDveKaWjszrrSRpTXF5Whakh526fSgp/oUT CU4131gqPLAR6apIBwb8eWVWYAQKC+/4ixabbLaS09NeE/U9I27LGL2QvgcFGLy/dBw3 3J1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=e894EyhL; 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 139-v6si1611121pfb.45.2018.09.05.03.03.46; Wed, 05 Sep 2018 03:03:46 -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=e894EyhL; 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 S1726528AbeIEOdO (ORCPT + 3 others); Wed, 5 Sep 2018 10:33:14 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:40432 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725891AbeIEOdO (ORCPT ); Wed, 5 Sep 2018 10:33:14 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180905100342euoutp01ca16069211bd1f7c6a5948aea9ba4811~ReNlkhQvR0966509665euoutp01i; Wed, 5 Sep 2018 10:03:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180905100342euoutp01ca16069211bd1f7c6a5948aea9ba4811~ReNlkhQvR0966509665euoutp01i DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1536141823; bh=KhfGCTk4l2JuSX9wSutFR/Jx1U3ZC6F6xSUe4pfharM=; h=From:To:Cc:Subject:Date:References:From; b=e894EyhLjjVAO8NaIO7oQAVQ95Z1xNx7rsKRf4Zhv2cS9x1VglL8pNxOFrzg6F0C3 +5DvwBoo0+PzwVN/BSrI/cuD+zRXP+ZlZ2joqknl6IZ5508WLEEt+tdM7I03Li/7Pj 6POtoA6gPjXKQErHLHX0rX/ljc3JVomLfRTkIJ8Q= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180905100342eucas1p1bce73d880db45e5bf585ea29db97b8f3~ReNk5R7Wl2865528655eucas1p1Y; Wed, 5 Sep 2018 10:03:42 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id FA.8C.04806.DF9AF8B5; Wed, 5 Sep 2018 11:03:41 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180905100341eucas1p2e207755a21c19d572ebdc950f78ae4a0~ReNj6Yet20327303273eucas1p2T; Wed, 5 Sep 2018 10:03:41 +0000 (GMT) X-AuditID: cbfec7f5-367ff700000012c6-64-5b8fa9fdc9ab Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id AE.BE.04284.DF9AF8B5; Wed, 5 Sep 2018 11:03:41 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PEK00CQ5UM20L80@eusync4.samsung.com>; Wed, 05 Sep 2018 11:03:41 +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 MAX8997 interrupts on Origen Date: Wed, 05 Sep 2018 12:02:15 +0200 Message-id: <20180905100215.7701-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjkeLIzCtJLcpLzFFi42LZduznOd2/K/ujDRZfMrXYOGM9q8X58xvY LWac38dksfbIXXYHFo9NqzrZPPq2rGL0+LxJLoA5issmJTUnsyy1SN8ugSujefIdpoLrnBUv vvUxNjC2cnQxcnJICJhIrPh6h62LkYtDSGAFo8TGfUuYIJzPjBLTXqxgh6l6u/AaM0RiGaPE nMuHWCGcBiaJ87fms4FUsQkYSnS97QKzRQRUJT63LWAHKWIW6GOUuL53LjNIQlggSmLR7M8s IDYLUFHTyZ1gK3gFbCReXP7KCrFOXmL1hgNg6yQETrJK9GxaBpVwkXh0+jyULSzx6vgWqPtk JDo7DjJBNDQzSrTPmMUO4fQwSmyds4MNospa4vDxi2DdzAJ8EpO2TQdawQEU55XoaBOCKPGQ +DJ7H1iJkECsxPGpB1gnMEosYGRYxSieWlqcm55abJyXWq5XnJhbXJqXrpecn7uJERg7p/8d /7qDcd+fpEOMAhyMSjy8Gi190UKsiWXFlbmHGCU4mJVEeFW4+qOFeFMSK6tSi/Lji0pzUosP MUpzsCiJ8/JppUULCaQnlqRmp6YWpBbBZJk4OKUaGBVW8mlm2/BZ3ZhYp7fk0GUet86g0x4/ ztTuWWIprmqqfGL25hX1UpubTN1WTpwVvl/Fk9WZw3z1fnb29cJJnG8e7IpgVfnIfv3Uuupg 2ez4W5+LTgkLR+Y/WLVtBx9Hz8bdT2WL+aazm/EFLrn/QX2+QIHe0f7061vePzh4wCSE06N+ t0LGPSWW4oxEQy3mouJEAHRxg0eZAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOJMWRmVeSWpSXmKPExsVy+t/xa7p/V/ZHG6x8zWmxccZ6Vovz5zew W8w4v4/JYu2Ru+wOLB6bVnWyefRtWcXo8XmTXABzFJdNSmpOZllqkb5dAldG8+Q7TAXXOSte fOtjbGBs5ehi5OSQEDCReLvwGnMXIxeHkMASRoljky6yQDhNTBKX9l5jBKliEzCU6HrbxQZi iwioSnxuW8AOUsQsMIFRYvXCWawgCWGBKImGO7/AGliAippO7mQHsXkFbCReXP7KCrFOXmL1 hgPMExi5FjAyrGIUSS0tzk3PLTbUK07MLS7NS9dLzs/dxAj07rZjPzfvYLy0MfgQowAHoxIP r0ZLX7QQa2JZcWXuIUYJDmYlEV4Vrv5oId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rznDSqjhATS E0tSs1NTC1KLYLJMHJxSDYyJ4rtfJFnsOHR0LZtmUP7yHE8vJe9Nu47d+Fe19e3fA9UT8psn PT4Ytfzh/FczC+ZfPrj8/zmXqOczv3y80Cy2Jqt7Ys+xRxL5sqHvROYt25zlvPrdGo8iY67T 09PK9N/k9n0u3xtZH/v/1qGes+evOdk+7Zfjc3/hUs3n7taxZ9nkGEa24Hd1SizFGYmGWsxF xYkAfPY2pOoBAAA= X-CMS-MailID: 20180905100341eucas1p2e207755a21c19d572ebdc950f78ae4a0 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180905100341eucas1p2e207755a21c19d572ebdc950f78ae4a0 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org PMIC_IRQB and PMIC_KEYINB lines on Exynos4210-based Origen board have external pull-up resistors, so disable any pull control for those lines in respective pin controller node. This fixes support for MAX8997 interrupts and enables operation of wakeup from MAX8997 RTC alarm. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4210-origen.dts | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts index 2ab99f9f3d0a..dd9ec05eb0f7 100644 --- a/arch/arm/boot/dts/exynos4210-origen.dts +++ b/arch/arm/boot/dts/exynos4210-origen.dts @@ -151,6 +151,8 @@ reg = <0x66>; interrupt-parent = <&gpx0>; interrupts = <4 IRQ_TYPE_NONE>, <3 IRQ_TYPE_NONE>; + pinctrl-names = "default"; + pinctrl-0 = <&max8997_irq>; max8997,pmic-buck1-dvs-voltage = <1350000>; max8997,pmic-buck2-dvs-voltage = <1100000>; @@ -288,6 +290,13 @@ }; }; +&pinctrl_1 { + max8997_irq: max8997-irq { + samsung,pins = "gpx0-3", "gpx0-4"; + samsung,pin-pud = ; + }; +}; + &sdhci_0 { bus-width = <4>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;