From patchwork Tue Jun 10 10:08:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naveen Krishna Chatradhi X-Patchwork-Id: 4327501 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 3C280BEEAA for ; Tue, 10 Jun 2014 10:10:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2880E201DE for ; Tue, 10 Jun 2014 10:10:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3FF62202AE for ; Tue, 10 Jun 2014 10:10:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751611AbaFJKKv (ORCPT ); Tue, 10 Jun 2014 06:10:51 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:26702 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870AbaFJKKu (ORCPT ); Tue, 10 Jun 2014 06:10:50 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N6Y00AST6Y0EY70@mailout4.samsung.com>; Tue, 10 Jun 2014 19:10:48 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.124]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 5D.81.13369.8A9D6935; Tue, 10 Jun 2014 19:10:48 +0900 (KST) X-AuditID: cbfee690-b7fb56d000003439-8a-5396d9a8923a Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 57.B4.08203.8A9D6935; Tue, 10 Jun 2014 19:10:48 +0900 (KST) Received: from chnaveen-ubuntu.sisodomain.com ([107.108.83.161]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N6Y00CJL6XQ9T80@mmp2.samsung.com>; Tue, 10 Jun 2014 19:10:48 +0900 (KST) From: Naveen Krishna Chatradhi To: linux-arm-kernel@lists.infradead.org, spi-devel-general@lists.sourceforge.net, linux-samsung-soc@vger.kernel.org Cc: naveenkrishna.ch@gmail.com, broonie@kernel.org, grant.likely@secretlab.ca, jaswinder.singh@linaro.org, kgene.kim@samsung.com, cpgs@samsung.com, devicetree@vger.kernel.org, Javier Martinez Canillas , Doug Anderson Subject: [PATCH 2/2 v2] ARM: DTS: move "cs-gpio" from "controller-data" to under spi node Date: Tue, 10 Jun 2014 15:38:01 +0530 Message-id: <1402394881-31564-3-git-send-email-ch.naveen@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1402394881-31564-1-git-send-email-ch.naveen@samsung.com> References: <1402394881-31564-1-git-send-email-ch.naveen@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMIsWRmVeSWpSXmKPExsWyRsSkRnfFzWnBBtveaVtMffiEzeLlIU2L +UfOsVqcXXaQzeLVmY1sFpM33We0OPq7wKJ3wVU2i02Pr7FazDi/j8li0bb/zBZHpjSyO/B4 zG64yOLx9/l1Fo+ds+6ye2xa1cnmcefaHjaPzUvqPXYv+Mzk0bdlFaPHz5c6Hp83yQVwRXHZ pKTmZJalFunbJXBlrG7bzVqwR7Diz+xOtgbGv7xdjJwcEgImEguOb2OCsMUkLtxbz9bFyMUh JLCUUeLO814ghwOs6OATGYj4dEaJpgMfWCCcfiaJD2sPM4J0swmYSRxctJodpEFEoExi3oQ6 kBpmgZlMEh/P3WEDqREWiJbY/nALO4jNIqAq8arjAjOIzSvgKrHk8192iGUKEnMm2YCEOQXc JDZ//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hZlVqUH19U mpNafIgxGeioicxSosn5wNSRVxJvaGxibmpsamliYWJmSZqwkjjvgVbrQCGB9MSS1OzU1ILU IpgtTBycUg2M7j/uPZA6t8mhk7/q1z7FuQUudexec9+dVz698zK/uvdbvacVIkdjFhVl9pR5 TDoav6QzL3dmjeBGkXUHmJqtvdnYpdP+TvX+tTxxQipr3Tfe4BsBvTaPnEr1b/ab+F6MX7P/ 6yOxabOON/j3cc6ZmCmna1LMtE/p4q87vt/CpJ6/Yzz9oUJMiaU4I9FQi7moOBEAC5X5XBMD AAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected 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.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 This patch moves the "cs-gpio" field from "controller-data" child node to under the spi device node. Respective changes are preposed to spi-s3c64xx.c driver. Signed-off-by: Naveen Krishna Chatradhi Cc: Javier Martinez Canillas Cc: Doug Anderson --- Changes since v1: None arch/arm/boot/dts/exynos4210-smdkv310.dts | 2 +- arch/arm/boot/dts/exynos4412-trats2.dts | 2 +- arch/arm/boot/dts/exynos5250-smdk5250.dts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210-smdkv310.dts b/arch/arm/boot/dts/exynos4210-smdkv310.dts index 636d166..9191491 100644 --- a/arch/arm/boot/dts/exynos4210-smdkv310.dts +++ b/arch/arm/boot/dts/exynos4210-smdkv310.dts @@ -169,6 +169,7 @@ spi_2: spi@13940000 { status = "okay"; + cs-gpios = <&gpc1 2 0>; w25x80@0 { #address-cells = <1>; @@ -178,7 +179,6 @@ spi-max-frequency = <1000000>; controller-data { - cs-gpio = <&gpc1 2 0>; samsung,spi-feedback-delay = <0>; }; diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 8a558b7..204b0de 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -512,6 +512,7 @@ spi_1: spi@13930000 { pinctrl-names = "default"; pinctrl-0 = <&spi1_bus>; + cs-gpios = <&gpb 5 0>; status = "okay"; s5c73m3_spi: s5c73m3 { @@ -519,7 +520,6 @@ spi-max-frequency = <50000000>; reg = <0>; controller-data { - cs-gpio = <&gpb 5 0>; samsung,spi-feedback-delay = <2>; }; }; diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index a794a70..0c6433a 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -316,6 +316,7 @@ }; spi_1: spi@12d30000 { + cs-gpios = <&gpa2 5 0>; status = "okay"; w25q80bw@0 { @@ -326,7 +327,6 @@ spi-max-frequency = <1000000>; controller-data { - cs-gpio = <&gpa2 5 0>; samsung,spi-feedback-delay = <0>; };