From patchwork Wed Aug 21 06:37:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuvaraj CD X-Patchwork-Id: 2847517 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3484F9F239 for ; Wed, 21 Aug 2013 06:37:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 489632044A for ; Wed, 21 Aug 2013 06:37:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3854B20165 for ; Wed, 21 Aug 2013 06:37:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752278Ab3HUGh4 (ORCPT ); Wed, 21 Aug 2013 02:37:56 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:46499 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752202Ab3HUGh4 (ORCPT ); Wed, 21 Aug 2013 02:37:56 -0400 Received: by mail-pa0-f42.google.com with SMTP id lj1so471449pab.29 for ; Tue, 20 Aug 2013 23:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=D5gJL9ffc/Fq79jkmS9cRaVegZGSnot+RxkIKKhVkIk=; b=UY+RlJVwEIzpeSVZ/dLerWdvG3n+bg0AOW6EPIwnJgXeZTYkiHcNvS21V+XW99A4iK nAZM3fBBCPkOB46Jy69/Cw/T32ZM9Ua/fZXGP1MjjF4gUir0yEGhKvYcyOAN6AxAmaxS qIf1JOQWWWyVygpO17R3OhdP1oHVCUWWpn+OMN7bfvPV5upEUYSzIfqUVvyijHWvmqVL bVEiKcuVWJyfme2WvRa77d4/OrX+OQDMqpUvI1VFktCq6pXr3iYW7vBzzIo8D+DY1l9x q5buypHmgYIplPrhKJqwg1Rwb6/r57EoDbyZ86dJrYBjudHGfJrbS+CfcNJVu/3vtuCh ZaJw== X-Received: by 10.66.165.106 with SMTP id yx10mr7722293pab.159.1377067075608; Tue, 20 Aug 2013 23:37:55 -0700 (PDT) Received: from yuvaraj-ubuntu.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id iu7sm6288835pbc.45.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 20 Aug 2013 23:37:55 -0700 (PDT) From: yuvaraj.cd@gmail.com To: linux-samsung-soc@vger.kernel.org, linux-mmc@vger.kernel.org, kgene.kim@samsung.com Cc: ks.giri@samsung.com, Yuvaraj Kumar C D Subject: [PATCH V2 2/2] ARM: dts: Add dwmmc nodes in SOC specific dts file Date: Wed, 21 Aug 2013 12:07:39 +0530 Message-Id: <52146043.87c5440a.4207.5b07@mx.google.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1377067059-28096-1-git-send-email-a> References: <1377067059-28096-1-git-send-email-a> 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=-9.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 From: Yuvaraj Kumar C D Exynos5 series SOC's have different versions of DWMMC controller. So dwmmc device nodes moved from Exynos5 SOC's common dts file to SOC specific dts file. changes since V1: 1.disable node by status = disabled in SOC file 2.enable node by status = okay in board specific file Signed-off-by: Yuvaraj Kumar C D --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 10 ++-------- arch/arm/boot/dts/exynos5250.dtsi | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index 2538b32..bd19d55d 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -141,6 +141,7 @@ }; dwmmc0@12200000 { + status = "okay"; num-slots = <1>; supports-highspeed; broken-cd; @@ -158,11 +159,8 @@ }; }; - dwmmc1@12210000 { - status = "disabled"; - }; - dwmmc2@12220000 { + status = "okay"; num-slots = <1>; supports-highspeed; fifo-depth = <0x80>; @@ -180,10 +178,6 @@ }; }; - dwmmc3@12230000 { - status = "disabled"; - }; - spi_0: spi@12d20000 { status = "disabled"; }; diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 1eec646..b1b6f61 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -387,21 +387,36 @@ }; dwmmc_0: dwmmc0@12200000 { + compatible = "samsung,exynos5250-dw-mshc"; + interrupts = <0 75 0>; + #address-cells = <1>; + #size-cells = <0>; reg = <0x12200000 0x1000>; clocks = <&clock 280>, <&clock 139>; clock-names = "biu", "ciu"; + status = "disabled"; }; dwmmc_1: dwmmc1@12210000 { + compatible = "samsung,exynos5250-dw-mshc"; + interrupts = <0 76 0>; + #address-cells = <1>; + #size-cells = <0>; reg = <0x12210000 0x1000>; clocks = <&clock 281>, <&clock 140>; clock-names = "biu", "ciu"; + status = "disabled"; }; dwmmc_2: dwmmc2@12220000 { + compatible = "samsung,exynos5250-dw-mshc"; + interrupts = <0 77 0>; + #address-cells = <1>; + #size-cells = <0>; reg = <0x12220000 0x1000>; clocks = <&clock 282>, <&clock 141>; clock-names = "biu", "ciu"; + status = "disabled"; }; dwmmc_3: dwmmc3@12230000 { @@ -412,6 +427,7 @@ #size-cells = <0>; clocks = <&clock 283>, <&clock 142>; clock-names = "biu", "ciu"; + status = "disabled"; }; i2s0: i2s@03830000 {