From patchwork Wed Mar 18 00:17:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 6035671 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 6F2ABBF90F for ; Wed, 18 Mar 2015 00:20:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 816BE20444 for ; Wed, 18 Mar 2015 00:20:44 +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 A18912043C for ; Wed, 18 Mar 2015 00:20:43 +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 1YY1gc-0005jb-GR; Wed, 18 Mar 2015 00:18:14 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YY1gV-0005bg-Bh for linux-arm-kernel@lists.infradead.org; Wed, 18 Mar 2015 00:18:09 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NLD00F26STJZ960@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 18 Mar 2015 09:17:43 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.114]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 9B.5F.17016.724C8055; Wed, 18 Mar 2015 09:17:43 +0900 (KST) X-AuditID: cbfee68d-f79296d000004278-e8-5508c427228c Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id F8.DF.09430.624C8055; Wed, 18 Mar 2015 09:17: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 <0NLD004AHSTHOC20@mmp2.samsung.com>; Wed, 18 Mar 2015 09:17:42 +0900 (KST) From: Chanwoo Choi To: kgene@kernel.org Subject: [PATCH v7 4/9] arm64: dts: exynos: Add PMU dt node for Exynos5433 Date: Wed, 18 Mar 2015 09:17:31 +0900 Message-id: <1426637856-3730-5-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1426637856-3730-1-git-send-email-cw00.choi@samsung.com> References: <1426637856-3730-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNIsWRmVeSWpSXmKPExsWyRsSkSFf9CEeoQcccAYvHaxYzWfyddIzd 4v2yHkaLy/u1La5/ec5qMf/IOVaLXX/vM1pMuj+BxeLGrzZWi/7Hr5ktNj2+xmpxedccNosZ 5/cBtd75x2ax9PpFJotT1z8DxSa/ZLN4+fEEi4OQx5p5axg9fv+axOixaVUnm8fmJfUeV040 sXr0bVnF6PF5k1wAexSXTUpqTmZZapG+XQJXxr4ZPYwF53krtt49ytbAuJy7i5GTQ0LAROJA 53MmCFtM4sK99WxdjFwcQgJLGSXavuxngina9GgHK0RiOqPEtkN7oJwmJomLZ76DVbEJaEns f3EDqJ2DQ0RARGL2BS6QGmaB9cwSd56fZASpERbwklg++QCYzSKgKnGuo4MNxOYVcJE4faeB FWKbgsSy5TPBbE4BV4kTb6eA1QgB1TR/amICGSoh8JVd4tSL7ywQgwQkvk0+xAKyWEJAVmLT AWaIOZISB1fcYJnAKLyAkWEVo2hqQX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I2NzJXFeJfu2ECGB 9MSS1OzU1ILUIpg+Jg5OqQbG9ps9W9kK5qpt1nzosHGjSLSz2op9Dpsz3l04YP0uqipBQ/mF IFu8y+mTNU6pAfn9kTfe1eWnlZVxHMhiqZP/tWVC98piluwzdyRVrd8FvNtiYf2rQ1J+f5qs qGnNSVdu9gUd0cJCR5pvKjmvm8+i/PN98HSFoJD82DkPXbeUNgudO713618lluKMREMt5qLi RAAlf9Q++AIAAA== 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-20150317_171807_629819_A0905F4A X-CRM114-Status: UNSURE ( 8.09 ) 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 dbecbba..d745205 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 {