Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752315AbbDBLD3 (ORCPT ); Thu, 2 Apr 2015 07:03:29 -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 X-AuditID: cbfec7f5-b7fc86d0000066b7-bf-551d214f8c79 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1298 Lines: 42 Use a define instead of raw number as a ID for "rtc_src" clock. Signed-off-by: Krzysztof Kozlowski --- 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"; }; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/