From patchwork Wed Sep 5 14:44:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 146005 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp5025888ljw; Wed, 5 Sep 2018 07:44:56 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZfkgJIoPumLcfY3olHHZr59zE37eGV7seRE9PMySWo3+l5Dkp4KVvAKqvWrUKv9ChO/pip X-Received: by 2002:a63:f:: with SMTP id 15-v6mr37074192pga.430.1536158695989; Wed, 05 Sep 2018 07:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536158695; cv=none; d=google.com; s=arc-20160816; b=0VCCUZXafAUbNpLa7McgYET15qa0KpGSDS8vbaUnOVmUUPlWWZwDfk8YUKX9jf0KIA biQZd9ChiES782KX5VDIDsrGjwQdAvovESgkMiIWZwjJfFz2gHj69XPHH9GmFiRVQIkw 9mdodPAq7kL+DDzn8vRJgPF+UwuOf3at21b06sqXc2faOq9O/RTPXCg1uGGtDqrGMfgU NcqiT0RlB8SetZFrQLznZU3/J1SZANEeDYGNgOwnM/utrPkTkVj4COu02vQHKOBICSZG nQTRpTMajdWQC7TJNJlJRpr2EpMrEwCyHobBx2Hk5iUw5xv77zEO5yn2T1K4iXIxqjFK gP0A== 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=DneD6fsFrnJUerZI2x5PjNMjFfWgTG1CbYgUIqdfXSs=; b=fYB9soLy0dPIj/nLfYjGCUrdcZLz3lrfXLZKGuywrpUR1siG2BNKfS8V/WrvOIYyPf LosoC7TcDIGytNzYbOLfeFwFmPAF/7iWiM47RjIv7ZojN2XGRa+aZcAVujL49Wmb6iO3 HwPaiIXEibKvU3vhPtMBtJ9ozfjqMbdOEV07VfK0XLEJWqmtjaiDcOoYTu1/CBuSpRoG k3mOMuJs62TXkbc4btJAdc0q/nDtmx9sSVGW0Q54B9BAoyQ6jo6m87W5CBCM+KWqk0j/ oBATouclysfIhWRXoHWSO0dyY4i4y21Cswgl2U3ntqAH7MpPWAVWa7ib3qsbGc+AYkA7 3jfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=IliF4AdZ; 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 v132-v6si2262960pfc.193.2018.09.05.07.44.55; Wed, 05 Sep 2018 07:44:55 -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=IliF4AdZ; 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 S1727364AbeIETPZ (ORCPT + 3 others); Wed, 5 Sep 2018 15:15:25 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:48310 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbeIETPZ (ORCPT ); Wed, 5 Sep 2018 15:15:25 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180905144452euoutp0203fc6dd133b79f404b36d4a78efa87df~RiDEoon9H1481514815euoutp02k; Wed, 5 Sep 2018 14:44:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180905144452euoutp0203fc6dd133b79f404b36d4a78efa87df~RiDEoon9H1481514815euoutp02k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1536158692; bh=DneD6fsFrnJUerZI2x5PjNMjFfWgTG1CbYgUIqdfXSs=; h=From:To:Cc:Subject:Date:References:From; b=IliF4AdZf5P7ccvRxSp5Z2XFQEG7qbGVHEl48nKYynRxMM/Am/PFICX+D29uQmd/B R0S5o4SI/4q3hHvZ5VEI2DPdJTZ41fNRKsQ3BvG90Xj8ItvNaON/+fBLjBkf4GXvev MuGwYjwe8MUVl1GMKHTIqEIZ9gMx+1wdNAsstBWs= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180905144451eucas1p19b58993da022f03a1751cf4bd13d588c~RiDD_oBFr2820228202eucas1p1s; Wed, 5 Sep 2018 14:44:51 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id D4.E9.04294.3EBEF8B5; Wed, 5 Sep 2018 15:44:51 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180905144451eucas1p13c47b1ac2d0e3f69d5d8e5e31a8f0759~RiDDSsMkT2429024290eucas1p1R; Wed, 5 Sep 2018 14:44:51 +0000 (GMT) X-AuditID: cbfec7f4-84fff700000010c6-0e-5b8febe3305e Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 36.B4.04128.3EBEF8B5; Wed, 5 Sep 2018 15:44:51 +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 <0PEL00L327MNHK10@eusync3.samsung.com>; Wed, 05 Sep 2018 15:44:51 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH] ARM: dts: exynos: Add missing PMIC interrupts on UniversalC210 board Date: Wed, 05 Sep 2018 16:44:43 +0200 Message-id: <20180905144443.6160-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphkeLIzCtJLcpLzFFi42LZduzned3Hr/ujDe7cUrHYOGM9q8X58xvY LWac38dksfbIXXYHFo9NqzrZPPq2rGL0+LxJLoA5issmJTUnsyy1SN8ugSvj1IlJLAWtXBXL GpawNzCu5Ohi5OSQEDCR+D7vMDOILSSwglFixW8lCPszo8Tefw4wNaf/T2DqYuQCii9jlOhv OcYC4TQwSSxueMMIUsUmYCjR9baLDcQWEVCV+Ny2gB2kiFmgj1Hi+t65YCuEBcIlmo7eAmtg ASrasn0yC4jNK2Ajsf81SAPIOnmJ1RsOMIM0SwgcZJWY23yPGSLhIrGg5y0bhC0s8er4FqgG GYnLk7tZIBqaGSXaZ8xih3B6GCW2ztkB1WEtcfj4RVYQm1mAT2LStulAUzmA4rwSHW1CECUe EucX7GWCBECsxMGOv6wTGCUWMDKsYhRPLS3OTU8tNspLLdcrTswtLs1L10vOz93ECIyb0/+O f9nBuOtP0iFGAQ5GJR7eBef6o4VYE8uKK3MPMUpwMCuJ8BqdBArxpiRWVqUW5ccXleakFh9i lOZgURLn5dNKixYSSE8sSc1OTS1ILYLJMnFwSjUwssm88px24PfydTwsD6ptQn1cOe/9tNbq YLw0rU7FoikqVOJVtQHTX47S33qJ7m1XXrMvrznqZM10l2n3lff6c7b9tJxhp7J4y49pe2rf S6/e9cAv5rQh72t27v1Kv/b77jmRfuPB0ftJN1+dXR3AfSdgV9PcX0F+LTuaXZia9Eyq5VU4 FvX7K7EUZyQaajEXFScCAGSk7w6XAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKJMWRmVeSWpSXmKPExsVy+t/xq7qPX/dHG7zcwmWxccZ6Vovz5zew W8w4v4/JYu2Ru+wOLB6bVnWyefRtWcXo8XmTXABzFJdNSmpOZllqkb5dAlfGqROTWApauSqW NSxhb2BcydHFyMkhIWAicfr/BCYQW0hgCaNE/+FACLuJSWLtG34Qm03AUKLrbRcbiC0ioCrx uW0BexcjFwezwARGidULZ7GCJIQFwiUa+j+ygNgsQEVbtk8Gs3kFbCT2vwZpAFkmL7F6wwHm CYxcCxgZVjGKpJYW56bnFhvpFSfmFpfmpesl5+duYgR6dtuxn1t2MHa9Cz7EKMDBqMTD63Gm P1qINbGsuDL3EKMEB7OSCK/RSaAQb0piZVVqUX58UWlOavEhRmkOFiVx3vMGlVFCAumJJanZ qakFqUUwWSYOTqkGxqml3/h5hf9zGk+S5j6ySvmOWn5Xxtv8vxySKxT5GGaLbLS+r6vfMO/+ l9RZFUeiDx1iKDNT+dXGZ6ARm2bFFxNR3LFBxd1myp7UY1lhhvsbog/93n7s7rxOp52v+OLl 3dfeip/YV983rT/mdJGH8uxXFres8n9Hludu4kq5u9WrcMfN//NfKbEUZyQaajEXFScCAEgv S0voAQAA X-CMS-MailID: 20180905144451eucas1p13c47b1ac2d0e3f69d5d8e5e31a8f0759 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180905144451eucas1p13c47b1ac2d0e3f69d5d8e5e31a8f0759 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org PMIC node requires external interrupts for proper operation. Lack of them was probably caused by a limited support for interrupts from more than one parent, which was not possible to define when support for this board was added. Fix this by adding 'interrupt-extended' property and properly define both interrupt lines for PMIC node. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4210-universal_c210.dts | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index 4e6ff97e1ec4..a341ac3547cc 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -310,6 +310,9 @@ pmic@66 { compatible = "national,lp3974"; + interrupts-extended = <&gpx0 7 0>, <&gpx2 7 0>; + pinctrl-names = "default"; + pinctrl-0 = <&lp3974_irq>; reg = <0x66>; max8998,pmic-buck1-default-dvs-idx = <0>; @@ -507,6 +510,11 @@ samsung,pins = "gpx3-7"; samsung,pin-pud = ; }; + + lp3974_irq: lp3974-irq { + samsung,pins = "gpx0-7", "gpx2-7"; + samsung,pin-pud = ; + }; }; &pinctrl_0 {