From patchwork Tue Feb 24 05:16:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 5870071 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 43E9E9F373 for ; Tue, 24 Feb 2015 05:20:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 541492064E for ; Tue, 24 Feb 2015 05:20:08 +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 F35F820644 for ; Tue, 24 Feb 2015 05:20:06 +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 1YQ7sa-0006qA-KP; Tue, 24 Feb 2015 05:17:56 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQ7s0-0006cK-Vk for linux-arm-kernel@lists.infradead.org; Tue, 24 Feb 2015 05:17:22 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NK90004IG096HD0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 24 Feb 2015 14:16:57 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.113]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 65.FE.18167.9490CE45; Tue, 24 Feb 2015 14:16:57 +0900 (KST) X-AuditID: cbfee690-f79ab6d0000046f7-05-54ec0949c9eb Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 0C.61.20081.8490CE45; Tue, 24 Feb 2015 14:16:57 +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 <0NK90093PG07ZU90@mmp1.samsung.com>; Tue, 24 Feb 2015 14:16:56 +0900 (KST) From: Chanwoo Choi To: kgene@kernel.org Subject: [PATCH v4 5/8] arm64: dts: exynos: Add PMU dt node for Exynos5433 Date: Tue, 24 Feb 2015 14:16:48 +0900 Message-id: <1424755011-15999-6-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1424755011-15999-1-git-send-email-cw00.choi@samsung.com> References: <1424755011-15999-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprGIsWRmVeSWpSXmKPExsWyRsSkUNeT802Iwfo1vBaP1yxmsvg76Ri7 xftlPYwWl/drW1z/8pzVYv6Rc6wWu/7eZ7SYdH8Ci8WNX22sFv2PXzNbbHp8jdXi8q45bBYz zu8Dar3zj81i6fWLTBanrn8Gik1+yWbx8uMJFgchjzXz1jB6/P41idFj06pONo/NS+o9rpxo YvXo27KK0ePzJrkA9igum5TUnMyy1CJ9uwSujAWbdQu+8Vbs2+HUwHicu4uRg0NCwERiySnD LkZOIFNM4sK99WxdjFwcQgJLGSXOXHzCDpEwkfh9/CILRGIRo0T/gi4mCKeJSeJtQw9YFZuA lsT+FzfYQKaKCIhIzL7ABVLDLLCeWeLO85OMIDXCAl4St/cfYgepYRFQldg/WQokzCvgKvGz 9SgjxDIFiWXLZ7KC2JwCbhL7Gj+BlQsB1UyfEAEyUkLgK7vE4weTwGpYBAQkvk0+xALxjKzE pgPMEGMkJQ6uuME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SRWUo0OR+YWPJK4g2NTcyMLI3MDS2MjM2VxHmV7NtChATS E0tSs1NTC1KLYPqYODilGhij58ox7L3xen1mvP99qVkq/h0HJxlwHpr3tGPTzXPFEknravf6 HueZVGJlO8O43kxgo5fl7MDVUkfnufyfeiz99hLtujP/FvxR0BDxebTpGc87V0PhxzKXX9eI RvnGskb0c9Y1bp5em8yvfumeoMzEfxe9PieoOOT+9LuzctYuHpE1Lw5MUr6vxFKckWioxVxU nAgAwBm8s/QCAAA= 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-20150223_211721_215060_A98D4A6A X-CRM114-Status: UNSURE ( 8.81 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: mark.rutland@arm.com, jh80.chung@samsung.com, linux-samsung-soc@vger.kernel.org, arnd@arndb.de, cw00.choi@samsung.com, marc.zyngier@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, a.kesavan@samsung.com, inki.dae@samsung.com, sw0312.kim@samsung.com, devicetree@vger.kernel.org, olof@lixom.net, chanho61.park@samsung.com, linux-arm-kernel@lists.infradead.org, ideal.song@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 adds PMU (Power Management Unit) dt node for Exynos5433 SoC and set the source clock for CLKOUT register as xxti . Cc: Kukjin Kim Signed-off-by: Chanwoo Choi [ideal.song: Add the setting of CLKOUT register] Signed-off-by: Inha Song Acked-by: Inki Dae --- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 1 + arch/arm64/boot/dts/exynos/exynos5433.dtsi | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.txt b/Documentation/devicetree/bindings/arm/samsung/pmu.txt index 67b2113..a87fc43 100644 --- a/Documentation/devicetree/bindings/arm/samsung/pmu.txt +++ b/Documentation/devicetree/bindings/arm/samsung/pmu.txt @@ -10,6 +10,7 @@ Properties: - "samsung,exynos5260-pmu" - for Exynos5260 SoC. - "samsung,exynos5410-pmu" - for Exynos5410 SoC, - "samsung,exynos5420-pmu" - for Exynos5420 SoC. + - "samsung,exynos5433-pmu" - for Exynos5433 SoC. - "samsung,exynos7-pmu" - for Exynos7 SoC. second value must be always "syscon". diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 1b18fd3..84be8e2 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -844,6 +844,14 @@ status = "disabled"; }; + pmu_system_controller: system-controller@105c0000 { + compatible = "samsung,exynos5433-pmu", "syscon"; + reg = <0x105c0000 0x5008>; + #clock-cells = <1>; + clock-names = "clkout16"; + clocks = <&xxti>; + }; + timer { compatible = "arm,armv8-timer"; interrupts = <1 13 0xff04>,