From patchwork Mon May 26 06:29:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 4239701 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F2B0BBF90B for ; Mon, 26 May 2014 06:32:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 36B59201D3 for ; Mon, 26 May 2014 06:32:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 50488201CE for ; Mon, 26 May 2014 06:32:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WooQB-0002If-06; Mon, 26 May 2014 06:30:07 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WooQ7-0001Cp-Ut for linux-arm-kernel@lists.infradead.org; Mon, 26 May 2014 06:30:05 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N6600GV24PF7NB0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 26 May 2014 15:29:39 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.115]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 8B.D8.24374.35FD2835; Mon, 26 May 2014 15:29:39 +0900 (KST) X-AuditID: cbfee68d-b7fd46d000005f36-4d-5382df534a6f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id D4.92.07139.25FD2835; Mon, 26 May 2014 15:29:38 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N6600AEO4PE6VF0@mmp1.samsung.com>; Mon, 26 May 2014 15:29:38 +0900 (KST) From: Chanwoo Choi To: kgene.kim@samsung.com Subject: [PATCH] ARM: dts: Add pmu sysreg node to Exynos3250 Date: Mon, 26 May 2014 15:29:36 +0900 Message-id: <1401085776-14212-1-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrIIsWRmVeSWpSXmKPExsWyRsSkWDf4flOwwdn3HBaT1h1gsri8X9vi +pfnrBbzj5xjteh/s5DV4tyrlYwWvQuuslmcbXrDbrFzyw02i02Pr7FaLGxbwmJxedccNosZ 5/cxWdy+zGux9PpFJosJ09eyWLy9M53FonXvEXaL9TNeszgIe6yZt4bRo6W5h83jcl8vk8ff VS+YPVYu/8LmsXmFlsemVZ1AxpJ6j74tqxg9Pm+SC+CK4rJJSc3JLEst0rdL4Mo4uPova8El noobF1+zNjDu5+pi5OSQEDCRaNq7lQ3CFpO4cG89kM3FISSwlFHizdIWZpiiG8efs0IkFjFK dM/7yA7hNDFJvG35yApSxSagJbH/xQ2wUSICkhJNDX+YQYqYBW4zS+y9tZYRJCEsYCOx5cMC JhCbRUBV4ujp7WANvAKuEkdmX4daJyfxYc8jsA0SAj/ZJX53v2GGaBCQ+Db5EEsXIwdQQlZi 0wGoekmJgytusExgFFzAyLCKUTS1ILmgOCm9yFCvODG3uDQvXS85P3cTIzC6Tv971ruD8fYB 60OMyUDjJjJLiSbnA6MzryTe0NjMyMLUxNTYyNzSjDRhJXHepId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+mh8R/1Ey3OO6wYv6dNr0DdiI7uESvprmIPqt7PbWmJS76z3a7J8EiLSUdqYLXGU0M jmTqt2VN5d9wbaWzwZ/TIW7TXRP0GarTD1Zdndi2tH/1imMm0jcuKeSrel6rsfRWYinOSDTU Yi4qTgQAW+Ff8iEDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140525_233004_169016_5B9A607A X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.7 (-----) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux@arm.linux.org.uk, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, l.krishna@samsung.com, t.figa@samsung.com, rdunlap@infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, robh+dt@kernel.org, ben-linux@fluff.org, galak@codeaurora.org, chanho61.park@samsung.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch add pmusysreg node for Exynos3250 to access PMU (Power Management Unit) register in a centralized way using syscon driver. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Reviewed-by: Tomasz Figa --- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 1 + arch/arm/boot/dts/exynos3250.dtsi | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.txt b/Documentation/devicetree/bindings/arm/samsung/pmu.txt index b562634..2a4ab04 100644 --- a/Documentation/devicetree/bindings/arm/samsung/pmu.txt +++ b/Documentation/devicetree/bindings/arm/samsung/pmu.txt @@ -2,6 +2,7 @@ SAMSUNG Exynos SoC series PMU Registers Properties: - compatible : should contain two values. First value must be one from following list: + - "samsung,exynos3250-pmu" - for Exynos3250 SoC, - "samsung,exynos4210-pmu" - for Exynos4210 SoC, - "samsung,exynos4212-pmu" - for Exynos4212 SoC, - "samsung,exynos4412-pmu" - for Exynos4412 SoC, diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index ca28eac..3e678fa 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -125,6 +125,11 @@ reg = <0x10010000 0x400>; }; + pmu_system_controller: system-controller@10020000 { + compatible = "samsung,exynos3250-pmu", "syscon"; + reg = <0x10020000 0x4000>; + }; + pd_cam: cam-power-domain@10023C00 { compatible = "samsung,exynos4210-pd"; reg = <0x10023C00 0x20>;