From patchwork Sun May 3 16:34:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Reichl X-Patchwork-Id: 6321231 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 ABD2FBEEE1 for ; Sun, 3 May 2015 16:34:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BB3F5203AF for ; Sun, 3 May 2015 16:34:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2D4C0203AA for ; Sun, 3 May 2015 16:34:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750912AbbECQeq (ORCPT ); Sun, 3 May 2015 12:34:46 -0400 Received: from wp126.webpack.hosteurope.de ([80.237.132.133]:53599 "EHLO wp126.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750899AbbECQep (ORCPT ); Sun, 3 May 2015 12:34:45 -0400 Received: from p5098d998.dip0.t-ipconnect.de ([80.152.217.152] helo=linuxbbg.five-lan.de); authenticated by wp126.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1Yowqm-0001In-NW; Sun, 03 May 2015 18:34:40 +0200 X-Virus-Scanned: by amavisd-new 2.9.1 using newest ClamAV at linuxbbg.five-lan.de Received: from dell2.five-lan.de (p5B22D7E2.dip0.t-ipconnect.de [91.34.215.226]) (authenticated bits=0) by linuxbbg.five-lan.de (8.14.9/8.14.5/SuSE Linux 0.8) with ESMTP id t43GYTN8028521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 3 May 2015 18:34:39 +0200 From: Markus Reichl To: Krzysztof Kozlowski Reply-To: m.reichl@fivetechno.de Cc: linux-samsung-soc@vger.kernel.org, Anand Moon , Javier Martinez Canillas , cw00.choi@samsung.com, Kukjin Kim Subject: [RESEND] [PATCH V4 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node Date: Sun, 03 May 2015 18:34:29 +0200 Message-ID: <18118883.KTZmm2WyxS@dell2.five-lan.de> Organization: five technologies GmbH User-Agent: KMail/4.14.6 (Linux/3.16.7-21-desktop; KDE/4.14.6; x86_64; ; ) In-Reply-To: <55445D2C.7030204@samsung.com> References: <551A8991.7080706@fivetechno.de> <55445D2C.7030204@samsung.com> MIME-Version: 1.0 X-bounce-key: webpack.hosteurope.de; m.reichl@fivetechno.de; 1430670885; 3115e345; 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=ham 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 The Exynos5422 SoC has a s3c6410 RTC where the source clock is now a mandatory property. This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards. It is based on v4.0-rc2. Signed-off-by: Markus Reichl Reviewed-by: Krzysztof Kozlowski Reviewed-by: Chanwoo Choi Reviewed-by: Javier Martinez Canillas --- Added accumulated reviews for RESEND Changes since v3: 1. Readded slipped #include statement. Sorry for the mess. Changes since v2: 1. Dropped unused phandle. Changes since v1: 1. Dropped Documentation. 2. Split into 2 parts. --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index a519c86..d086398 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts @@ -11,6 +11,7 @@ */ /dts-v1/; +#include #include "exynos5800.dtsi" / { @@ -274,10 +275,6 @@ reg = <0x50>; }; }; - - rtc@101E0000 { - status = "okay"; - }; }; &hdmi { @@ -369,3 +366,9 @@ shunt-resistor = <10000>; }; }; + +&rtc { + status = "okay"; + clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>; + clock-names = "rtc", "rtc_src"; +};