From patchwork Mon Mar 30 14:16:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Reichl X-Patchwork-Id: 6121441 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 395E29F32E for ; Mon, 30 Mar 2015 14:16:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 64ACD20373 for ; Mon, 30 Mar 2015 14:16:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D22CB203AD for ; Mon, 30 Mar 2015 14:16:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753238AbbC3OQN (ORCPT ); Mon, 30 Mar 2015 10:16:13 -0400 Received: from wp126.webpack.hosteurope.de ([80.237.132.133]:57982 "EHLO wp126.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752735AbbC3OQK (ORCPT ); Mon, 30 Mar 2015 10:16:10 -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 1YcaU3-0005YU-5Q; Mon, 30 Mar 2015 16:16:07 +0200 X-Virus-Scanned: by amavisd-new 2.9.1 using newest ClamAV at linuxbbg.five-lan.de Received: from [192.168.34.101] (reichl-x64.fritz.box [192.168.34.101]) (authenticated bits=0) by linuxbbg.five-lan.de (8.14.9/8.14.5/SuSE Linux 0.8) with ESMTP id t2UEG42C004723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 30 Mar 2015 16:16:05 +0200 Message-ID: <55195AA4.9060205@fivetechno.de> Date: Mon, 30 Mar 2015 16:16:04 +0200 From: Markus Reichl Organization: five technologies GmbH User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: linux-samsung-soc@vger.kernel.org CC: Krzysztof Kozlowski , Anand Moon Subject: [PATCH V2 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node X-bounce-key: webpack.hosteurope.de; m.reichl@fivetechno.de; 1427724970; 2b0e71be; 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 in v4.0-rc2. Tested-by: Anand Moon Signed-off-by: Markus Reichl --- Changes since v1: 1. Dropped Documentation. 2. Split into 2 parts. --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index a519c86..ac663ec 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" / { @@ -44,7 +45,7 @@ hsi2c_4: i2c@12CA0000 { status = "okay"; - s2mps11_pmic@66 { + s2mps11: s2mps11_pmic@66 { compatible = "samsung,s2mps11-pmic"; reg = <0x66>; s2mps11,buck2-ramp-delay = <12>; @@ -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"; +};