From patchwork Thu Feb 12 06:55:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 5817391 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 6D323BF440 for ; Thu, 12 Feb 2015 07:01:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 98A4A2017E for ; Thu, 12 Feb 2015 07:01:34 +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 AC46C201BB for ; Thu, 12 Feb 2015 07:01:33 +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 1YLnjg-0000nM-Tm; Thu, 12 Feb 2015 06:58:52 +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 1YLniB-0008Vl-MT for linux-arm-kernel@lists.infradead.org; Thu, 12 Feb 2015 06:57:22 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NJN0091FCMVMZ90@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 12 Feb 2015 15:56:55 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.112]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id FF.45.18167.7BE4CD45; Thu, 12 Feb 2015 15:56:55 +0900 (KST) X-AuditID: cbfee690-f79ab6d0000046f7-0b-54dc4eb74c25 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id B5.AA.09430.7BE4CD45; Thu, 12 Feb 2015 15:56:55 +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 <0NJN00MJFCMUFV80@mmp1.samsung.com>; Thu, 12 Feb 2015 15:56:54 +0900 (KST) From: Chanwoo Choi To: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 5/8] arm64: dts: exynos: Add PMU dt node for Exynos5433 Date: Thu, 12 Feb 2015 15:55:55 +0900 Message-id: <1423724158-23632-6-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1423724158-23632-1-git-send-email-cw00.choi@samsung.com> References: <1423724158-23632-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAIsWRmVeSWpSXmKPExsWyRsSkQHe7350Qg9XHNS0er1nMZPF30jF2 i/fLehgtLu/Xtrj+5Tmrxfwj51gtdv29z2gx6f4EFosbv9pYLfofv2a22PT4GqvF5V1z2Cxm nN8H1HrnH5vF0usXmSxOXf/MZnH800EWixmTX7JZvPx4gsVB2GPNvDWMHr9/TWL02LSqk81j 85J6jysnmlg9+rasYvT4vEkugD2KyyYlNSezLLVI3y6BK2NNcyd7wTfeio/dO5gaGI9zdzFy ckgImEi8PHeRGcIWk7hwbz1bFyMXh5DAUkaJBQtnMcIUTb87hREisYhR4tXDHhaQhJBAE5PE 35VKIDabgJbE/hc32EBsEQFniYapjUwgDcwCy5kl7q0+CtYgLOAl8f7GYzCbRUBV4l/7IXYQ m1fAVWLm9BUsENsUJJYtn8kKYnMKuElM6vjCBLHMVeLK/ftg50kI/GWX2L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piRWVqUW5ccXleakFh9iNAW6aiKzlGhyPjDV5JXEGxqbmBlZGpkbWhgZmyuJ AzW1hQgJpCeWpGanphakFsH0MXFwSjUwxtUpZNYxJ9yqFWxf4vI16Lb2gXXn67Y/jLqkteak 2CXnS74NDH9e1CdFNb11Y3yRKxyVfOzBcvctQfav2Q8xeajeXH/M++rXf4m31L7z1ATFy6rL 87yT62ZME3W41vyTuV6to/juY99HEnacS30tV/A0fLXuflM7V8qjbE//nfNiJyeq3olXYinO SDTUYi4qTgQAUp3tYv0CAAA= 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-20150211_225719_952302_3310ACA4 X-CRM114-Status: UNSURE ( 8.28 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: mark.rutland@arm.com, jh80.chung@samsung.com, arnd@arndb.de, cw00.choi@samsung.com, marc.zyngier@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, a.kesavan@samsung.com, inki.dae@samsung.com, sw0312.kim@samsung.com, devicetree@vger.kernel.org, kgene@kernel.org, sangbae90.lee@samsung.com, olof@lixom.net, chanho61.park@samsung.com, linux-arm-kernel@lists.infradead.org, Inha Song 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 5477630..0168786 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>,