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: 6122371 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 AB08CBF4A6 for ; Mon, 30 Mar 2015 15:21:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D75D22035B for ; Mon, 30 Mar 2015 15:21:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 94A9E202F8 for ; Mon, 30 Mar 2015 15:21:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753179AbbC3PVn (ORCPT ); Mon, 30 Mar 2015 11:21:43 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:43461 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752847AbbC3PVm (ORCPT ); Mon, 30 Mar 2015 11:21:42 -0400 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>; 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 Cc: Kyungmin Park , Marek Szyprowski , Markus Reichl , Krzysztof Kozlowski 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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"; };