From patchwork Mon Mar 30 15:21:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6122431 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 A9ADC9F32E for ; Mon, 30 Mar 2015 15:26:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C8F1720353 for ; Mon, 30 Mar 2015 15:26:36 +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 DFFF32034F for ; Mon, 30 Mar 2015 15:26:35 +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 1YcbXK-0007Jg-3a; Mon, 30 Mar 2015 15:23:34 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YcbVu-00068x-2a for linux-arm-kernel@lists.infradead.org; Mon, 30 Mar 2015 15:22:07 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NM100A5S6UXE790@mailout1.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 30 Mar 2015 16:25:45 +0100 (BST) X-AuditID: cbfec7f4-b7f126d000001e9a-16-5519695a3730 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id EB.CE.07834.A5969155; Mon, 30 Mar 2015 16:18:50 +0100 (BST) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NM1003QO6NWBU50@eusync2.samsung.com>; Mon, 30 Mar 2015 16:21:39 +0100 (BST) From: Krzysztof Kozlowski To: Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: Use define for s3c-rtc clock id Date: Mon, 30 Mar 2015 17:21:29 +0200 Message-id: <1427728889-29158-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMJMWRmVeSWpSXmKPExsVy+t/xK7pRmZKhBqcea1nMP3KO1eL1C0OL /sevmS3ONr1ht9j0+BqrxeVdc9gsZpzfx2Tx8sgPRou1R+6yO3B63LpT77FpVSebx+Yl9R59 W1YxenzeJBfAGsVlk5Kak1mWWqRvl8CVcWPmDcaChRwVF/t0Ghgb2bsYOTgkBEwkHizV6GLk BDLFJC7cW8/WxcjFISSwlFFi0fYOdginj0liw8MPjCBVbALGEpuXL2EDsUUEVjBKXGyyBCli FtjOKLFqwxJGkKnCAlYSB77VgdSwCKhKdJxawgpi8wq4S/Sv/sMMsU1O4uSxyawTGLkXMDKs YhRNLU0uKE5KzzXUK07MLS7NS9dLzs/dxAgJmC87GBcfszrEKMDBqMTDyzFTIlSINbGsuDL3 EKMEB7OSCO+tFMlQId6UxMqq1KL8+KLSnNTiQ4xMHJxSDYxdlocPT4rc+qTlapRF0NoMtryS 3qD/Zh/3u9/W36YT3xz6tU24OCr1kVl64zP26K3WOjaTSrObD74PTFnuPEk/SHTBVP8kLYOo gJKGj3fPhCZnTN4ZeaXE7dCfti0WDo4RXjmT77pnqXBlHog7Gn4+dUftoiuXgtT5Z3r2foko PvP4htqJFUosxRmJhlrMRcWJAGTKZs72AQAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150330_082206_402119_078E92B6 X-CRM114-Status: UNSURE ( 7.62 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Markus Reichl , Kyungmin Park , Krzysztof Kozlowski , Marek Szyprowski 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 Use a define instead of raw number as a ID for "rtc_src" clock. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Chanwoo Choi Reviewed-by: Javier Martinez Canillas --- Patch depends on new file "dt-bindings/clock/samsung,s2mps11.h" from: http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg43136.html --- arch/arm/boot/dts/exynos3250-rinato.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts index 3905824cac58..d2cbc95364de 100644 --- a/arch/arm/boot/dts/exynos3250-rinato.dts +++ b/arch/arm/boot/dts/exynos3250-rinato.dts @@ -16,6 +16,7 @@ #include "exynos3250.dtsi" #include #include +#include / { model = "Samsung Rinato board"; @@ -605,7 +606,7 @@ }; &rtc { - clocks = <&cmu CLK_RTC>, <&s2mps14_osc 0>; + clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>; clock-names = "rtc", "rtc_src"; status = "okay"; };