From patchwork Tue May 20 16:43:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 4211811 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E97629F1CD for ; Tue, 20 May 2014 16:47:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 22995201C8 for ; Tue, 20 May 2014 16:47:29 +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 4D665200E7 for ; Tue, 20 May 2014 16:47:28 +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 1Wmn9H-00015U-Tc; Tue, 20 May 2014 16:44:19 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wmn92-0000xx-K0 for linux-arm-kernel@lists.infradead.org; Tue, 20 May 2014 16:44:06 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5V0078ZT4NM750@mailout4.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 20 May 2014 17:43:35 +0100 (BST) X-AuditID: cbfec7f5-b7f626d000004b39-7d-537b863b936a Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 43.E8.19257.B368B735; Tue, 20 May 2014 17:43:39 +0100 (BST) Received: from AMDC1227.digital.local ([106.116.147.199]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N5V0027KT4ME150@eusync4.samsung.com>; Tue, 20 May 2014 17:43:39 +0100 (BST) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Subject: [PATCH 4/4] ARM: dts: exynos: Update PMU node with CLKOUT related data Date: Tue, 20 May 2014 18:43:31 +0200 Message-id: <1400604211-9447-5-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.9.3 In-reply-to: <1400604211-9447-1-git-send-email-t.figa@samsung.com> References: <1400604211-9447-1-git-send-email-t.figa@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCLMWRmVeSWpSXmKPExsVy+t/xa7rWbdXBBi0zdS2mPnzCZjH/yDlW i94FV9ksNj2+xmpxedccNosZ5/cxWaw9cpfdYun1i0wWTydcZLNYtPULu8WURYdZLVr3HmG3 WD/jNYvFql1/GC3a/+5lc+D3WDNvDaPHzll32T02repk87hzbQ+bx+Yl9R59W1YxenzeJBfA HsVlk5Kak1mWWqRvl8CVsal1J0vBFMmKg7N+sjYwzhbtYuTgkBAwkXh5RLeLkRPIFJO4cG89 WxcjF4eQwFJGiX/HtjFBOH1MEpO7jrGAVLEJqEl8bnjEBmKLCKhKfG5bwA5SxCwwjUVi1bJ2 dpCpwgL+Evt6rUFMFqCaG+eMQUxeAUeJv+eYIXbJSfRuewNmcwo4Sfxof8YOYgsBlTxb2sk8 gZF3ASPDKkbR1NLkguKk9FwjveLE3OLSvHS95PzcTYyQkP26g3HpMatDjAIcjEo8vBKpVcFC rIllxZW5hxglOJiVRHjtg6uDhXhTEiurUovy44tKc1KLDzEycXBKNTBG/NRd7Hwk+/HKM8fv TE0O/JH5QmXp8Y5F3rzacjJi5XMnvrizjcMwrHPqOaW9e97ylndn8pfvVD3i+fnqtbvffmlx 5dR8tsvSab0THCQ8e07nqa913xnf8D3JO5Jw8BmzkrKCZtDpyJ8uno8iS+fLP9cMbFs9vzrl rMWzq7t1pW5vYso8MkNViaU4I9FQi7moOBEAkf/pYjcCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140520_094404_819260_0B190077 X-CRM114-Status: UNSURE ( 8.38 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.7 (-----) Cc: Mark Rutland , devicetree@vger.kernel.org, Kukjin Kim , Mike Turquette , Pankaj Dubey , Rahul Sharma , linux-kernel@vger.kernel.org, Tomasz Figa , Rob Herring , Mark Brown , Tushar Behera , Tomasz Figa , linux-arm-kernel@lists.infradead.org, Marek Szyprowski 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 extends nodes of PMU system controller on Exynos4210, 4x12, 5250 and 5420 SoCs with newly defined properties used by Exynos CLKOUT driver. Signed-off-by: Tomasz Figa --- arch/arm/boot/dts/exynos4.dtsi | 1 + arch/arm/boot/dts/exynos4210.dtsi | 9 +++++++++ arch/arm/boot/dts/exynos4x12.dtsi | 6 ++++++ arch/arm/boot/dts/exynos5250.dtsi | 3 +++ arch/arm/boot/dts/exynos5420.dtsi | 3 +++ 5 files changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 5a7176d..b4c6d93 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -113,6 +113,7 @@ pmu_system_controller: system-controller@10020000 { compatible = "samsung,exynos4210-pmu", "syscon"; reg = <0x10020000 0x4000>; + #clock-cells = <1>; }; dsi_0: dsi@11C80000 { diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index ee3001f..b7956cc 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -31,6 +31,15 @@ pinctrl2 = &pinctrl_2; }; + pmu_system_controller: system-controller@10020000 { + clock-names = "clkout0", "clkout1", "clkout2", "clkout3", + "clkout4", "clkout8", "clkout9"; + clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>, + <&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>, + <&clock CLK_OUT_CPU>, <&clock CLK_XXTI>, + <&clock CLK_XUSBXTI>; + }; + sysram@02020000 { compatible = "mmio-sram"; reg = <0x02020000 0x20000>; diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi index 264a28f..d9651fa 100644 --- a/arch/arm/boot/dts/exynos4x12.dtsi +++ b/arch/arm/boot/dts/exynos4x12.dtsi @@ -139,6 +139,12 @@ pmu_system_controller: system-controller@10020000 { compatible = "samsung,exynos4212-pmu", "syscon"; + clock-names = "clkout0", "clkout1", "clkout2", "clkout3", + "clkout4", "clkout5", "clkout8", "clkout9"; + clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>, + <&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>, + <&clock CLK_OUT_CPU>, <&clock CLK_OUT_ISP>, + <&clock CLK_XXTI>, <&clock CLK_XUSBXTI>; }; g2d@10800000 { diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 68a3e6f..cb939ef 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -191,6 +191,9 @@ pmu_system_controller: system-controller@10040000 { compatible = "samsung,exynos5250-pmu", "syscon"; reg = <0x10040000 0x5000>; + #clock-cells = <0>; + clock-names = "clkout16"; + clocks = <&clock CLK_FIN_PLL>; }; watchdog@101D0000 { diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 8e7e35c..23d0ebb 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -723,6 +723,9 @@ pmu_system_controller: system-controller@10040000 { compatible = "samsung,exynos5420-pmu", "syscon"; reg = <0x10040000 0x5000>; + #clock-cells = <0>; + clock-names = "clkout16"; + clocks = <&clock CLK_FIN_PLL>; }; tmu_cpu0: tmu@10060000 {