Received: by 10.223.176.5 with SMTP id f5csp1007476wra; Tue, 30 Jan 2018 23:30:33 -0800 (PST) X-Google-Smtp-Source: AH8x227syCsqrjcV7qFLWWlNDGRcSOi6ozsgeyw1CwtLSggWXsWA1tolsXmG5pX2RYXzUIfThITv X-Received: by 2002:a17:902:9044:: with SMTP id w4-v6mr27941623plz.354.1517383833543; Tue, 30 Jan 2018 23:30:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517383833; cv=none; d=google.com; s=arc-20160816; b=z+dnMoOltRL1F5lvBYwVcRoyEcJVQZljonnwvcZqDMZrDONAKGzcU+uV+8U5/v5xtG nLVGsGilCLrgJDivoa/++NwEk0/+K5cLt7d8wiq70o97ThaG0ZBFZtEPc7JdeDyJ/T7C kxQC7bvz+/GrpOig0vcxJCP5vANvOEu72g8yMbWdWgFp4XtDwy0q++VPFdTX+CIfmS2x 0N+273+hhxtmZN/s1zvUW6+RgoqUXtEUPkKE1KNUnEKloraDCYjihjFKG6Elg/ToNPgP d3NqmjRWQpjqbwLIDxt5K3rCPxABjQskr5n/DW/6zlYqeE1DnBXtalyGD6ikpu/bP6Jo VvdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=deK0lLy5uFzPlY2xk/PPXsxawux3gKxeblF3chI8qrw=; b=zYp2psKK+0skuKrfUPkGigMk1UgtvBP3oHvE2cE4iuEfRbJGeIbwuwaVoblBOpoiLj T+aBZpSShpfV623CDzGeQ2oYsnHsbGlNxJjkf5DUsfeOUnH6C+US/g49bBeK73dMyANv t1cLW74yjVSvUe/ixkksiFgmSFeU2N8B+3RuYDt9hUrmvtfBP0vdZXhpJSCZv/wUJxhV 4oPJoEwODlv0z+l7gSyoUqHpTAbBaMRgVqGo8tJhEmqLAg3UhhZPE7+7vejVcz1eQcY3 tWj3p6r10Klii33UrNy80k4w5G51RwaugqZtctI18L4vYlnO4DRdxAUie0ayFUdbl//9 6o8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t17-v6si1663681plo.620.2018.01.30.23.30.18; Tue, 30 Jan 2018 23:30:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753009AbeAaH3g (ORCPT + 99 others); Wed, 31 Jan 2018 02:29:36 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:52673 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752987AbeAaH3d (ORCPT ); Wed, 31 Jan 2018 02:29:33 -0500 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1egmpo-0002Ls-0K; Wed, 31 Jan 2018 08:29:32 +0100 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1egmpn-000340-GM; Wed, 31 Jan 2018 08:29:31 +0100 Date: Wed, 31 Jan 2018 08:29:31 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: =?iso-8859-1?Q?Beno=EEt_Th=E9baudeau?= Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King , Mark Rutland , Rob Herring , Fabio Estevam , Sascha Hauer , Shawn Guo , Michael Nazzareno Trimarchi Subject: Re: [PATCH v2 2/2] ARM: dts: imx25-pinfunc: Always set SION for eSDHC CMD Message-ID: <20180131072931.2hymk6xzerplfhcr@pengutronix.de> References: <20180131000514.5286-1-benoit.thebaudeau.dev@gmail.com> <20180131000514.5286-2-benoit.thebaudeau.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180131000514.5286-2-benoit.thebaudeau.dev@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Beno?t, On Wed, Jan 31, 2018 at 01:05:14AM +0100, Beno?t Th?baudeau wrote: > The eSDHC does not work properly if the SION bit is not set for the > bidirectional CMD signal, whatever the eSDHC instance and the selected > pad. Therefore, setting SION is mandatory for all eSDHC CMD ports. Do > this for MX25_PAD_*__ESDHCn_CMD in imx25-pinfunc.h in order to enforce > this behavior for all boards. > > This had already been done for eSDHC1, but not for eSDHC2. Also, define > MX25_PAD_FEC_MDC__ESDHC2_CMD so that all the possible cases are covered > from now on. > > Cc: Uwe Kleine-K?nig > Signed-off-by: Beno?t Th?baudeau > Reviewed-by: Fabio Estevam > --- > Changes v1 -> v2: > - Update eSDHC instance and port naming following the addition of "ARM: > dts: imx25-pinfunc: Use consistent naming for eSDHC". > - Reference the more verbose comment for MX25_PAD_SD1_CMD__ESDHC1_CMD > instead of copying the same less detailed comment everywhere > (suggested by Uwe). > --- > arch/arm/boot/dts/imx25-pinfunc.h | 18 +++++++++++------- > 1 file changed, 11 insertions(+), 7 deletions(-) > > diff --git a/arch/arm/boot/dts/imx25-pinfunc.h b/arch/arm/boot/dts/imx25-pinfunc.h > index 2915c65a13c9..71a61c4c984f 100644 > --- a/arch/arm/boot/dts/imx25-pinfunc.h > +++ b/arch/arm/boot/dts/imx25-pinfunc.h > @@ -236,7 +236,8 @@ > #define MX25_PAD_LD8__LD8 0x0e8 0x2e0 0x000 0x00 0x000 > #define MX25_PAD_LD8__UART4_RXD 0x0e8 0x2e0 0x570 0x02 0x000 > #define MX25_PAD_LD8__FEC_TX_ERR 0x0e8 0x2e0 0x000 0x05 0x000 > -#define MX25_PAD_LD8__ESDHC2_CMD 0x0e8 0x2e0 0x4e0 0x06 0x000 > +/* See the comment for MX25_PAD_SD1_CMD__ESDHC1_CMD. */ I'd write: /* SION must be set, see the comment for MX25_PAD_SD1_CMD__ESDHC1_CMD. */ to at least mention SION here. Other than that the commit looks fine. Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |