From patchwork Sat Dec 21 04:49:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3393161 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C4263C0D4A for ; Sat, 21 Dec 2013 04:53:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B21C420719 for ; Sat, 21 Dec 2013 04:53:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C9FE020710 for ; Sat, 21 Dec 2013 04:53:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753841Ab3LUExS (ORCPT ); Fri, 20 Dec 2013 23:53:18 -0500 Received: from mail-pa0-f43.google.com ([209.85.220.43]:51226 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753560Ab3LUExR (ORCPT ); Fri, 20 Dec 2013 23:53:17 -0500 Received: by mail-pa0-f43.google.com with SMTP id bj1so3445792pad.16 for ; Fri, 20 Dec 2013 20:53:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=WZA8dqSTLelC1FMNfQUgHvGu85YottPOTkmpe5od+us=; b=LmUhp+L0X7CMrcdR8TH3x9ZRqXt2U0mgncudkKBVTaA0xYoT65Gd0m1oxDeZY4uQFT x7TIk2Z9WceUUCgyUauLq4pLEueHXrycbZNKYy6RSTqDDzNWoOckcejJlfTArRz8mIgS rg2YyLYjX8/m2oCDclwvOTwjB9LTwtGG6ip6tX31nplAsbhYt0M7bhwipZ/8hXsdtHU/ HdyXv4X2j8MhUDd61G+ocinmjkCMpmnfNT4TspGHqdrOd5ARAP/P042P8V4us1SWhIqb tSlJgN65SGdGasawxUOdFUn5CNH1fjpk2yv4qQe55gMTD9HVkP8L0DR7P+ZXnAJVo8WI oFDQ== X-Gm-Message-State: ALoCoQkL8Vc8SoI+8gq3oA/ZuTr86v26LfJKpyhsdmszvgmiEWoReHuyrnvKB/ntN+w0DuIBpmCl X-Received: by 10.68.106.98 with SMTP id gt2mr12925542pbb.61.1387601597034; Fri, 20 Dec 2013 20:53:17 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id m2sm18165250pbn.19.2013.12.20.20.53.13 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Dec 2013 20:53:16 -0800 (PST) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org Subject: [PATCH 1/1] ARM: dts: Re-organize RTC status for 5250 Date: Sat, 21 Dec 2013 10:19:59 +0530 Message-Id: <1387601399-31991-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 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=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Some boards might not have RTC xtal, so RTC shouldn't really be enabled by default. Enable it in the required board files. For now enable it for all board files to maintain the enabled status exisitng prior to this patch. Signed-off-by: Sachin Kamat --- arch/arm/boot/dts/exynos5250-arndale.dts | 4 ++++ arch/arm/boot/dts/exynos5250-smdk5250.dts | 4 ++++ arch/arm/boot/dts/exynos5250-snow.dts | 4 ++++ arch/arm/boot/dts/exynos5250.dtsi | 2 +- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index b42e658..56c4078 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -25,6 +25,10 @@ bootargs = "console=ttySAC2,115200"; }; + rtc@101E0000 { + status = "okay"; + }; + codec@11000000 { samsung,mfc-r = <0x43000000 0x800000>; samsung,mfc-l = <0x51000000 0x800000>; diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index 3e69837..0837dd8 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -27,6 +27,10 @@ bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; }; + rtc@101E0000 { + status = "okay"; + }; + i2c@12C60000 { samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <20000>; diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 7e45eea..b13bf49 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -20,6 +20,10 @@ i2c104 = &i2c_104; }; + rtc@101E0000 { + status = "okay"; + }; + pinctrl@11400000 { sd3_clk: sd3-clk { samsung,pin-drv = <0>; diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index c341e55..077e531 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -190,7 +190,7 @@ rtc@101E0000 { clocks = <&clock 337>; clock-names = "rtc"; - status = "okay"; + status = "disabled"; }; tmu@10060000 {