From patchwork Tue Mar 10 01:57:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 5973841 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 02FB5BF440 for ; Tue, 10 Mar 2015 02:01:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2923F203B1 for ; Tue, 10 Mar 2015 02:01:43 +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 3D0BA2037C for ; Tue, 10 Mar 2015 02:01:42 +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 1YV9S0-0004zl-Si; Tue, 10 Mar 2015 01:59:16 +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 1YV9Qu-0004Fv-9B for linux-arm-kernel@lists.infradead.org; Tue, 10 Mar 2015 01:58:09 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NKZ004BC447G300@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 10 Mar 2015 10:57:43 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.115]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 86.47.11124.79F4EF45; Tue, 10 Mar 2015 10:57:43 +0900 (KST) X-AuditID: cbfee68e-f79b46d000002b74-d7-54fe4f977988 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id DC.EA.09430.79F4EF45; Tue, 10 Mar 2015 10:57:43 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NKZ00ETZ446UH20@mmp2.samsung.com>; Tue, 10 Mar 2015 10:57:42 +0900 (KST) From: Chanwoo Choi To: kgene@kernel.org Subject: [PATCH v6 4/9] arm64: dts: exynos: Add PMU dt node for Exynos5433 Date: Tue, 10 Mar 2015 10:57:30 +0900 Message-id: <1425952655-21654-5-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1425952655-21654-1-git-send-email-cw00.choi@samsung.com> References: <1425952655-21654-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsWyRsSkWHe6/78Qg5O7FC0er1nMZPF30jF2 i/fLehgtLu/Xtrj+5Tmrxfwj51gtdv29z2gx6f4EFosbv9pYLfofv2a22PT4GqvF5V1z2Cxm nN8H1HrnH5vF0usXmSxOXf8MFJv8ks3i5ccTLA5CHmvmrWH0+P1rEqPHplWdbB6bl9R7XDnR xOrRt2UVo8fnTXIB7FFcNimpOZllqUX6dglcGS+WlRac561YfaiBuYFxOXcXIyeHhICJxMTn V9ggbDGJC/fWA9lcHEICSxklnvR9YoEpWjG9EyoxnVHi4PFbjBBOE5PE7OX/wNrZBLQk9r+4 AWRzcIgIiEjMvsAFUsMssJ5Z4s7zk4wgNcICXhJvzv1kAqlhEVCVaDirBxLmFXCVeLh4LdQy BYlly2eygticAm4SC/Z8ZAaxhYBqVi6fBXaEhMBXdokDy14ygSRYBAQkvk0+xAIyU0JAVmLT AWaIOZISB1fcY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G5oYWRsbmSOK+SfVuIkEB6 YklqdmpqQWoRTB8TB6dUA2N8v+P2h+/7vatZ+k2Egh6ZX5EVv/so/vcCtztuYXu/Fm02rmg9 /uHOg+M+7mIHv66N9yj9m2H4zOjFPDa9q4733JpuVzI9Udvus8ONu9KmuVlH4G7RFzuBLv2P s9cd3/vtdNYMzwfvb7t9OeVRJO3wgn3T+oYQHXb190v9Cjm2Nkm9yllVWaXEUpyRaKjFXFSc CADHHLyO9gIAAA== 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-20150309_185808_556996_56E49A96 X-CRM114-Status: UNSURE ( 8.61 ) 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 cc166c0..fa27bb8 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -807,6 +807,14 @@ fifo-depth = <0x40>; 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 {