From patchwork Fri Sep 21 14:22:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 1491761 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 1B53BDF28C for ; Fri, 21 Sep 2012 14:27:05 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TF49n-0002T1-4i; Fri, 21 Sep 2012 14:24:39 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TF497-0002G9-0p for linux-arm-kernel@lists.infradead.org; Fri, 21 Sep 2012 14:24:02 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MAP006UFENQR600@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 21 Sep 2012 23:23:55 +0900 (KST) X-AuditID: cbfee61b-b7f2b6d000000f14-33-505c787b7696 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 48.DB.03860.B787C505; Fri, 21 Sep 2012 23:23:55 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MAP0020KEMM3N30@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 21 Sep 2012 23:23:55 +0900 (KST) From: Tomasz Figa To: linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH 6/6] ARM: dts: exynos4210: Update pin bank nodes to reflect per-bank GPIO chips and IRQ domains Date: Fri, 21 Sep 2012 16:22:57 +0200 Message-id: <1348237377-21299-7-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.7.10 In-reply-to: <1348237377-21299-1-git-send-email-t.figa@samsung.com> References: <1348237377-21299-1-git-send-email-t.figa@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEJMWRmVeSWpSXmKPExsVy+t9jAd3qipgAgz1HjS02Pb7G6sDosXlJ fQBjFJdNSmpOZllqkb5dAlfGjR+XGAtaoyum3b3J3sB426mLkZNDQsBEomfCDWYIW0ziwr31 bF2MXBxCAosYJbpOz2WCcDYzSbTM3swGUsUmoCbxueERmC0ioCExpesxO4jNLDCZSeLYgnQQ W1igVGJm0xGwOIuAqsTDuYfB6nkFnCSO73rJBrFNXuLp/T4wm1PAWeLmrg6weiGgmu8LO5gn MPIuYGRYxSiaWpBcUJyUnmukV5yYW1yal66XnJ+7iRHs82fSOxhXNVgcYhTgYFTi4V3xLTpA iDWxrLgy9xCjBAezkgjvoxigEG9KYmVValF+fFFpTmrxIUZpDhYlcV7hT4EBQgLpiSWp2amp BalFMFkmDk6pBsbWpfNqXz/0um7+mv3+xAd3l/1JfPx7X0zZH4/HrbIS4pvDsmP+J77rs2Rz +nXjyGyjlHMWT+OqW1plFr00Ff/T+XDxv05rpwW3mUJmG+VOm3evdOH8aaYZN2bt4H0yk3WV asetvYcEN/oZX/T1/3vlsrLoqcZHHi79HDOfy3tPOmrbEOvpLi2kxFKckWioxVxUnAgARL5e kPUBAAA= X-Spam-Note: CRM114 invocation failed X-Spam-Score: -7.4 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.34 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.5 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, swarren@wwwdotorg.org, devicetree-discuss@lists.ozlabs.org, tomasz.figa@gmail.com, t.figa@samsung.com, kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org, thomas.abraham@linaro.org, linus.walleij@linaro.org, m.szyprowski@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch modifies device tree sources of Exynos4210 to match the changes done to pinctrl-samsung driver. Signed-off-by: Tomasz Figa --- arch/arm/boot/dts/exynos4210-pinctrl-banks.dtsi | 72 +++++++++++++++++++++++++ arch/arm/boot/dts/exynos4210.dtsi | 4 -- 2 files changed, 72 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210-pinctrl-banks.dtsi b/arch/arm/boot/dts/exynos4210-pinctrl-banks.dtsi index cac7f71..c3795e4 100644 --- a/arch/arm/boot/dts/exynos4210-pinctrl-banks.dtsi +++ b/arch/arm/boot/dts/exynos4210-pinctrl-banks.dtsi @@ -24,9 +24,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x00>; + #interrupt-cells = <2>; }; gpa1: pin-bank@1 { @@ -39,9 +41,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x04>; + #interrupt-cells = <2>; }; gpb: pin-bank@2 { @@ -54,9 +58,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x08>; + #interrupt-cells = <2>; }; gpc0: pin-bank@3 { @@ -69,9 +75,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x0C>; + #interrupt-cells = <2>; }; gpc1: pin-bank@4 { @@ -84,9 +92,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x10>; + #interrupt-cells = <2>; }; gpd0: pin-bank@5 { @@ -99,9 +109,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x14>; + #interrupt-cells = <2>; }; gpd1: pin-bank@6 { @@ -114,9 +126,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x18>; + #interrupt-cells = <2>; }; gpe0: pin-bank@7 { @@ -129,9 +143,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x1C>; + #interrupt-cells = <2>; }; gpe1: pin-bank@8 { @@ -144,9 +160,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x20>; + #interrupt-cells = <2>; }; gpe2: pin-bank@9 { @@ -159,9 +177,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x24>; + #interrupt-cells = <2>; }; gpe3: pin-bank@10 { @@ -174,9 +194,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x28>; + #interrupt-cells = <2>; }; gpe4: pin-bank@11 { @@ -189,9 +211,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x2C>; + #interrupt-cells = <2>; }; gpf0: pin-bank@12 { @@ -204,9 +228,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x30>; + #interrupt-cells = <2>; }; gpf1: pin-bank@13 { @@ -219,9 +245,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x34>; + #interrupt-cells = <2>; }; gpf2: pin-bank@14 { @@ -234,9 +262,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x38>; + #interrupt-cells = <2>; }; gpf3: pin-bank@15 { @@ -249,9 +279,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x3C>; + #interrupt-cells = <2>; }; }; @@ -266,9 +298,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x00>; + #interrupt-cells = <2>; }; gpj1: pin-bank@1 { @@ -281,9 +315,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x04>; + #interrupt-cells = <2>; }; gpk0: pin-bank@2 { @@ -296,9 +332,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x08>; + #interrupt-cells = <2>; }; gpk1: pin-bank@3 { @@ -311,9 +349,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x0C>; + #interrupt-cells = <2>; }; gpk2: pin-bank@4 { @@ -326,9 +366,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x10>; + #interrupt-cells = <2>; }; gpk3: pin-bank@5 { @@ -341,9 +383,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x14>; + #interrupt-cells = <2>; }; gpl0: pin-bank@6 { @@ -356,9 +400,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x18>; + #interrupt-cells = <2>; }; gpl1: pin-bank@7 { @@ -371,9 +417,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x1C>; + #interrupt-cells = <2>; }; gpl2: pin-bank@8 { @@ -386,9 +434,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x20>; + #interrupt-cells = <2>; }; gpm0: pin-bank@9 { @@ -401,9 +451,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x24>; + #interrupt-cells = <2>; }; gpm1: pin-bank@10 { @@ -416,9 +468,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x28>; + #interrupt-cells = <2>; }; gpm2: pin-bank@11 { @@ -431,9 +485,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x2C>; + #interrupt-cells = <2>; }; gpm3: pin-bank@12 { @@ -446,9 +502,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x30>; + #interrupt-cells = <2>; }; gpm4: pin-bank@13 { @@ -461,9 +519,11 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; interrupt-controller; samsung,eint-offset = <0x34>; + #interrupt-cells = <2>; }; gpy0: pin-bank@14 { @@ -476,6 +536,7 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; }; gpy1: pin-bank@15 { @@ -488,6 +549,7 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; }; gpy2: pin-bank@16 { @@ -500,6 +562,7 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; }; gpy3: pin-bank@17 { @@ -512,6 +575,7 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; }; gpy4: pin-bank@18 { @@ -524,6 +588,7 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; }; gpy5: pin-bank@19{ @@ -536,6 +601,7 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; }; gpy6: pin-bank@20 { @@ -548,6 +614,7 @@ samsung,drv-width = <2>; samsung,conpdn-width = <2>; samsung,pudpdn-width = <2>; + #gpio-cells = <2>; }; gpx0: pin-bank@21 { @@ -558,6 +625,7 @@ samsung,func-width = <4>; samsung,pud-width = <2>; samsung,drv-width = <2>; + #gpio-cells = <2>; }; gpx1: pin-bank@22 { @@ -568,6 +636,7 @@ samsung,func-width = <4>; samsung,pud-width = <2>; samsung,drv-width = <2>; + #gpio-cells = <2>; }; gpx2: pin-bank@23 { @@ -578,6 +647,7 @@ samsung,func-width = <4>; samsung,pud-width = <2>; samsung,drv-width = <2>; + #gpio-cells = <2>; }; gpx3: pin-bank@24 { @@ -588,6 +658,7 @@ samsung,func-width = <4>; samsung,pud-width = <2>; samsung,drv-width = <2>; + #gpio-cells = <2>; }; }; @@ -600,6 +671,7 @@ samsung,func-width = <4>; samsung,pud-width = <2>; samsung,drv-width = <2>; + #gpio-cells = <2>; }; }; }; diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index 0e93717..de6308b 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -58,24 +58,20 @@ compatible = "samsung,pinctrl-exynos4210"; reg = <0x11400000 0x1000>; interrupts = <0 47 0>; - interrupt-controller; samsung,geint-con = <0x700>; samsung,geint-mask = <0x900>; samsung,geint-pend = <0xA00>; samsung,svc = <0xB08>; - #interrupt-cells = <2>; }; pinctrl_1: pinctrl@11000000 { compatible = "samsung,pinctrl-exynos4210"; reg = <0x11000000 0x1000>; interrupts = <0 46 0>; - interrupt-controller; samsung,geint-con = <0x700>; samsung,geint-mask = <0x900>; samsung,geint-pend = <0xA00>; samsung,svc = <0xB08>; - #interrupt-cells = <2>; wakup_eint: wakeup-interrupt-controller { compatible = "samsung,exynos4210-wakeup-eint";