From patchwork Wed Aug 22 16:25:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1362451 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 660F040B05 for ; Wed, 22 Aug 2012 16:28:40 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T4Dkk-0004TQ-LR; Wed, 22 Aug 2012 16:25:58 +0000 Received: from mail-yx0-f177.google.com ([209.85.213.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T4DkW-0004RD-NZ for linux-arm-kernel@lists.infradead.org; Wed, 22 Aug 2012 16:25:45 +0000 Received: by yenq9 with SMTP id q9so849850yen.36 for ; Wed, 22 Aug 2012 09:25:44 -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:x-mailer:in-reply-to:references; bh=ppBiNgItYJeA+ONx+C7Wo/MeFndMcMblljRQSpmH1ww=; b=0iJK/abALpgNJxMFt7gKl7SUiDByQcRPu88Vvweuu/KrxH/mF+0DKbtUF3r+EDNPbQ ZUW4+Bh66MH7gecT6qITNvcht4g7JozN8FIGLekn8tCFTymVAjq0RxXegjGw4QEV+S3q vX2bFdNJ4iMf7gwmtHzO+Mc7pZSfzHWOFdW67gXMv4K09izBr1vFCR5e9BiljwXd7l9P Vv2M5V9nNYFBNMDH6nwVtxnKKxcWn7KWe5e40sgGEYa/ku5STuobQS8xqZx8jHEpAsTC VX4ALAIfw13gMR4gBgcxanMRueSqjlQ0PoEmrBZWDiBMPlDNf7FgFt3qYzUeuR8LY33C hgKg== Received: by 10.236.76.103 with SMTP id a67mr28839451yhe.69.1345652744285; Wed, 22 Aug 2012 09:25:44 -0700 (PDT) Received: from fabio-Latitude-E6410.cps.virtua.com.br ([201.82.136.222]) by mx.google.com with ESMTPS id c64sm8649613yhj.17.2012.08.22.09.25.42 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Aug 2012 09:25:43 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH 2/3] ARM: mxs: Let mmc0 pin detect be generic Date: Wed, 22 Aug 2012 13:25:32 -0300 Message-Id: <1345652733-13265-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1345652733-13265-1-git-send-email-festevam@gmail.com> References: <1345652733-13265-1-git-send-email-festevam@gmail.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Fabio Estevam , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Fabio Estevam Instead of assigning SSP1_DETECT inside mmc0_4bit_pins_a, let the board dts handle this setup. Not every board will use MX23_PAD_SSP1_DETECT as SSP1 functionality. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx23-evk.dts | 1 + arch/arm/boot/dts/imx23.dtsi | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23-evk.dts index 1093dd5..035c13f 100644 --- a/arch/arm/boot/dts/imx23-evk.dts +++ b/arch/arm/boot/dts/imx23-evk.dts @@ -48,6 +48,7 @@ 0x1123 /* MX23_PAD_LCD_RESET__GPIO_1_18 */ 0x11d3 /* MX23_PAD_PWM3__GPIO_1_29 */ 0x11e3 /* MX23_PAD_PWM4__GPIO_1_30 */ + 0x2010 /* MX23_PAD_SSP1_DETECT__SSP1_DETECT */ >; fsl,drive-strength = <0>; fsl,voltage = <1>; diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi index 9700872..b00f3cf 100644 --- a/arch/arm/boot/dts/imx23.dtsi +++ b/arch/arm/boot/dts/imx23.dtsi @@ -194,7 +194,6 @@ 0x2040 /* MX23_PAD_SSP1_DATA2__SSP1_DATA2 */ 0x2050 /* MX23_PAD_SSP1_DATA3__SSP1_DATA3 */ 0x2000 /* MX23_PAD_SSP1_CMD__SSP1_CMD */ - 0x2010 /* MX23_PAD_SSP1_DETECT__SSP1_DETECT */ 0x2060 /* MX23_PAD_SSP1_SCK__SSP1_SCK */ >; fsl,drive-strength = <1>;