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: 6146891 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 259849F1BE for ; Thu, 2 Apr 2015 11:03:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4C84120395 for ; Thu, 2 Apr 2015 11:03:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53BA92038F for ; Thu, 2 Apr 2015 11:03:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751272AbbDBLD1 (ORCPT ); Thu, 2 Apr 2015 07:03:27 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:41562 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750747AbbDBLD0 (ORCPT ); Thu, 2 Apr 2015 07:03:26 -0400 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>; 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 Cc: Javier Martinez Canillas , Markus Reichl , Krzysztof Kozlowski 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== 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: 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"; };