From patchwork Thu Apr 2 11:03:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6146931 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 B74E89F1BE for ; Thu, 2 Apr 2015 11:06:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DF1882038F for ; Thu, 2 Apr 2015 11:06:17 +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 91D7F2038C for ; Thu, 2 Apr 2015 11:06:16 +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 1Ydcuv-0005ST-DQ; Thu, 02 Apr 2015 11:04:09 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ydcuc-0005Ca-Hv for linux-arm-kernel@lists.infradead.org; Thu, 02 Apr 2015 11:03:51 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NM6004GVEWFVM70@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 02 Apr 2015 12:07:27 +0100 (BST) X-AuditID: cbfec7f5-b7fc86d0000066b7-bf-551d214f8c79 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 36.2A.26295.F412D155; Thu, 02 Apr 2015 12:00:31 +0100 (BST) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NM600LD0EPKAI70@eusync3.samsung.com>; Thu, 02 Apr 2015 12:03:23 +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 1/2] ARM: dts: Use define for s3c-rtc clock id Date: Thu, 02 Apr 2015 13:03:07 +0200 Message-id: <1427972588-6573-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMJMWRmVeSWpSXmKPExsVy+t/xq7r+irKhBjvOylvMP3KO1eLo7wKL 1y8MLfofv2a22PT4GqvF5V1z2CxmnN/HZPHyyA9GBw6Pv8+vs3jculPvsWlVJ5vH5iX1Hn1b VjF6fN4kF8AWxWWTkpqTWZZapG+XwJVx5+xXloJDHBWTf91lamCcwt7FyMkhIWAi0b39LJQt JnHh3nq2LkYuDiGBpYwSRw/9ZIRw+pgkrj3awARSxSZgLLF5+RI2EFtEYAWjxMUmS5AiZoGZ jBJtu5azgCSEBewkLp1sBbI5OFgEVCV6ZheCmLwCbhJXplpCLJOTOHlsMusERu4FjAyrGEVT S5MLipPSc430ihNzi0vz0vWS83M3MUIC5usOxqXHrA4xCnAwKvHwNljLhAqxJpYVV+YeYpTg YFYS4f0jLhsqxJuSWFmVWpQfX1Sak1p8iJGJg1OqgVHh7LtzC8Jm+7fMOfHiQ//+PXVfV4RM MEmbLHm81ml5S6Tb7ddM+47J7jTQ2v7xtLKku/CMWps3OfvWfvuxY6WbZK/wM/3r+gpfrjxx NN+mVsoSbsb4xbiW++/D/k9FVvsbtoVqmGWf/rPEfW6Fs5Iqw1fhw/U9TXyH/WsPWWgV/Tcu yi+QPqjEUpyRaKjFXFScCACkJMAQ9gEAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150402_040350_763949_2E8F7BE4 X-CRM114-Status: UNSURE ( 8.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Markus Reichl , Krzysztof Kozlowski , Javier Martinez Canillas 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: Javier Martinez Canillas --- Patch depends on new file "dt-bindings/clock/samsung,s2mps11.h" from: 1. ARM: dts: Add bindings for 32kHz clocks from s2mps11 http://www.spinics.net/lists/linux-samsung-soc/msg43345.html --- arch/arm/boot/dts/exynos3250-monk.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos3250-monk.dts b/arch/arm/boot/dts/exynos3250-monk.dts index 1d483c1c8b48..a5863acc5fff 100644 --- a/arch/arm/boot/dts/exynos3250-monk.dts +++ b/arch/arm/boot/dts/exynos3250-monk.dts @@ -16,6 +16,7 @@ #include "exynos3250.dtsi" #include #include +#include / { model = "Samsung Monk board"; @@ -432,7 +433,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"; };