From patchwork Fri Dec 23 12:24:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 88938 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp3296159qgi; Fri, 23 Dec 2016 04:25:23 -0800 (PST) X-Received: by 10.98.69.133 with SMTP id n5mr13756461pfi.160.1482495923669; Fri, 23 Dec 2016 04:25:23 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y67si34013481pfb.71.2016.12.23.04.25.23; Fri, 23 Dec 2016 04:25:23 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761005AbcLWMZV (ORCPT + 4 others); Fri, 23 Dec 2016 07:25:21 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:55857 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755883AbcLWMZU (ORCPT ); Fri, 23 Dec 2016 07:25:20 -0500 Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OIN00OS31655YA0@mailout4.samsung.com>; Fri, 23 Dec 2016 21:25:17 +0900 (KST) Received: from epsmges5p5.samsung.com (unknown [182.195.42.89]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20161223122517epcas5p3165951dc8ee712112368f5c077375e70~S4i6-_2BH1356313563epcas5p3v; Fri, 23 Dec 2016 12:25:17 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p5.samsung.com (EPCPMTA) with SMTP id A9.13.12277.DA71D585; Fri, 23 Dec 2016 21:25:17 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20161223122516epcas5p41c9d3f1e805293ee7f000d614452ba6f~S4i6DaKOA3096730967epcas5p4A; Fri, 23 Dec 2016 12:25:16 +0000 (GMT) X-AuditID: b6c32a59-f79486d000002ff5-a0-585d17ade5db Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 00.F0.28332.CA71D585; Fri, 23 Dec 2016 21:25:16 +0900 (KST) Received: from AMDC2765.digital.local ([106.116.147.25]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OIN00JTK15R7DD0@mmp2.samsung.com>; Fri, 23 Dec 2016 21:25:16 +0900 (KST) From: Marek Szyprowski To: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Linus Walleij , Tomasz Figa , Ulf Hansson , Bartlomiej Zolnierkiewicz Subject: [PATCH 1/9] ARM: dts: exynos: Add PMU syscon to pinctrl nodes Date: Fri, 23 Dec 2016 13:24:41 +0100 Message-id: <1482495889-6201-2-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1482495889-6201-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEIsWRmVeSWpSXmKPExsWy7bCmpu5a8dgIg4lvdSw2zljPanH+/AZ2 iyl/ljNZbHp8jdVi8/w/jBafe48wWsw4v4/JYu2Ru+wWh9+0s1qs2gWUOL423IHbY+esu+we m1Z1snncubaHzWPzknqPvi2rGD0+b5ILY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glHk9YyAySYBMwlOh628UGkhARaGaU aFjSC+YwC+xgkph8dg1YlbCAm8SvXRBjWQRUJdonngMbyyvgLvH+xQRmiHVyEiePTWYFsTkF PCS2bnjFDrHaXeLC9ofsExh5FzAyrGKUSC1ILihOSs81ykst1ytOzC0uzUvXS87P3cQIjoJn 0jsYD+9yP8QowMGoxMN74mxMhBBrYllxZe4hRgkOZiUR3inCsRFCvCmJlVWpRfnxRaU5qcWH GE2BDpvILCWanA+M0LySeEMTcxNzYwMLc0tLEyMlcd7G2c/ChQTSE0tSs1NTC1KLYPqYODil Ghg33nlTXpTlHNk0vyNp94efEudu7jqg7sRxzu9cnbNR4Nlr3tNuu189eeeIycefa5hnzS05 x8ZsfLTl7aJZ3+Y96tC0uyQpsVlr2a37L3UzersUbeJWt59Juc143MyQnZeztz7r1t4vEZN6 2bq5bx+Nyj25MEi+bu2rqb9l1z1qaudlc1pZy6+uxFKckWioxVxUnAgA+ELp5ZgCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161223122516epcas5p41c9d3f1e805293ee7f000d614452ba6f X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRs=?= =?UTF-8?B?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRtT?= =?UTF-8?B?YW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 105P X-HopCount: 7 X-CMS-RootMailID: 20161223122516epcas5p41c9d3f1e805293ee7f000d614452ba6f X-RootMTR: 20161223122516epcas5p41c9d3f1e805293ee7f000d614452ba6f References: <1482495889-6201-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Access to PMU regmap is needed to properly release pad retention after suspend/resume cycle. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos3250.dtsi | 2 ++ arch/arm/boot/dts/exynos4210.dtsi | 3 +++ arch/arm/boot/dts/exynos4x12.dtsi | 3 +++ arch/arm/boot/dts/exynos5250.dtsi | 4 ++++ arch/arm/boot/dts/exynos5420.dtsi | 5 +++++ 5 files changed, 17 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index ba17ee1eb749..3614b7953fac 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -260,6 +260,7 @@ compatible = "samsung,exynos3250-pinctrl"; reg = <0x11000000 0x1000>; interrupts = ; + samsung,pmu-syscon = <&pmu_system_controller>; wakeup-interrupt-controller { compatible = "samsung,exynos4210-wakeup-eint"; @@ -271,6 +272,7 @@ compatible = "samsung,exynos3250-pinctrl"; reg = <0x11400000 0x1000>; interrupts = ; + samsung,pmu-syscon = <&pmu_system_controller>; }; jpeg: codec@11830000 { diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index 7f3a18c8f60f..c719aaf50f3b 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -128,12 +128,14 @@ compatible = "samsung,exynos4210-pinctrl"; reg = <0x11400000 0x1000>; interrupts = ; + samsung,pmu-syscon = <&pmu_system_controller>; }; pinctrl_1: pinctrl@11000000 { compatible = "samsung,exynos4210-pinctrl"; reg = <0x11000000 0x1000>; interrupts = ; + samsung,pmu-syscon = <&pmu_system_controller>; wakup_eint: wakeup-interrupt-controller { compatible = "samsung,exynos4210-wakeup-eint"; @@ -145,6 +147,7 @@ pinctrl_2: pinctrl@03860000 { compatible = "samsung,exynos4210-pinctrl"; reg = <0x03860000 0x1000>; + samsung,pmu-syscon = <&pmu_system_controller>; }; tmu: tmu@100C0000 { diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi index 85a7122658f1..54b65c4accd6 100644 --- a/arch/arm/boot/dts/exynos4x12.dtsi +++ b/arch/arm/boot/dts/exynos4x12.dtsi @@ -546,12 +546,14 @@ compatible = "samsung,exynos4x12-pinctrl"; reg = <0x11400000 0x1000>; interrupts = ; + samsung,pmu-syscon = <&pmu_system_controller>; }; &pinctrl_1 { compatible = "samsung,exynos4x12-pinctrl"; reg = <0x11000000 0x1000>; interrupts = ; + samsung,pmu-syscon = <&pmu_system_controller>; wakup_eint: wakeup-interrupt-controller { compatible = "samsung,exynos4210-wakeup-eint"; @@ -565,6 +567,7 @@ reg = <0x03860000 0x1000>; interrupt-parent = <&combiner>; interrupts = <10 0>; + samsung,pmu-syscon = <&pmu_system_controller>; }; &pinctrl_3 { diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index b6d7444d8585..ffff28f89589 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -196,6 +196,7 @@ compatible = "samsung,exynos5250-pinctrl"; reg = <0x11400000 0x1000>; interrupts = ; + samsung,pmu-syscon = <&pmu_system_controller>; wakup_eint: wakeup-interrupt-controller { compatible = "samsung,exynos4210-wakeup-eint"; @@ -208,18 +209,21 @@ compatible = "samsung,exynos5250-pinctrl"; reg = <0x13400000 0x1000>; interrupts = ; + samsung,pmu-syscon = <&pmu_system_controller>; }; pinctrl_2: pinctrl@10d10000 { compatible = "samsung,exynos5250-pinctrl"; reg = <0x10d10000 0x1000>; interrupts = ; + samsung,pmu-syscon = <&pmu_system_controller>; }; pinctrl_3: pinctrl@03860000 { compatible = "samsung,exynos5250-pinctrl"; reg = <0x03860000 0x1000>; interrupts = ; + samsung,pmu-syscon = <&pmu_system_controller>; }; pmu_system_controller: system-controller@10040000 { diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 906a1a42a7ea..832cb56c514e 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -321,6 +321,7 @@ compatible = "samsung,exynos5420-pinctrl"; reg = <0x13400000 0x1000>; interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>; + samsung,pmu-syscon = <&pmu_system_controller>; wakeup-interrupt-controller { compatible = "samsung,exynos4210-wakeup-eint"; @@ -333,24 +334,28 @@ compatible = "samsung,exynos5420-pinctrl"; reg = <0x13410000 0x1000>; interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>; + samsung,pmu-syscon = <&pmu_system_controller>; }; pinctrl_2: pinctrl@14000000 { compatible = "samsung,exynos5420-pinctrl"; reg = <0x14000000 0x1000>; interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>; + samsung,pmu-syscon = <&pmu_system_controller>; }; pinctrl_3: pinctrl@14010000 { compatible = "samsung,exynos5420-pinctrl"; reg = <0x14010000 0x1000>; interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>; + samsung,pmu-syscon = <&pmu_system_controller>; }; pinctrl_4: pinctrl@03860000 { compatible = "samsung,exynos5420-pinctrl"; reg = <0x03860000 0x1000>; interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>; + samsung,pmu-syscon = <&pmu_system_controller>; }; amba {