Received: by 10.223.176.5 with SMTP id f5csp2239584wra; Mon, 5 Feb 2018 00:13:11 -0800 (PST) X-Google-Smtp-Source: AH8x227sbmUdjU6pDZXWfRZmCR42inDb7/4L/LXi6hDdgTjITYum5X51xZD6ssEDQLCU5OBxARHF X-Received: by 10.99.67.66 with SMTP id q63mr7825807pga.175.1517818391860; Mon, 05 Feb 2018 00:13:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517818391; cv=none; d=google.com; s=arc-20160816; b=0wq5AFgmxMaAMYvNfUaYjkB3zhkT5u+jyaRRj0Iccpd+Oi1c5z7op0q3d7GtuqoYFo efqT3QHdHtsqXltFetDV+36TLYvsBoCNkLXzT27FqCH3Tw9gETne50smCVCCIX4KjG5D 0MsMPJnZEcIhysn4MNhVe7cghTgVJ3aOXRGZ7RDEtlBTdEkkojygg4f/Gu6W44o2wNK9 +i25QWLiGO64AANmexskT92YOi/xH1mfVfMbaQK3b+HCzX2jIOcLG3bnHoD60NTmwCpC 52BrpKiCaemA4GFQ8wcN5bS2cdboou3N+h8WDm8p20T2ymD1e9B6xW1wpAV10q1ea4x8 Du3w== 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:dmarc-filter :arc-authentication-results; bh=MD3tuSyDofKqCCWiDlOgOoY/zxb1hM3jJraL/cBMYkY=; b=yRwoFYm+PBTQ9UTzYV9vhoeFvcUfCw+vmXos9EqX7lWc8Nfisv32Oc5hnPTCKdlGod 2XcyN+RsTdz8hDAAWti9YPNzBfm53MHfzTtuz85hRKb8Cs+aC+x3KsLTEF5phpFO2uqd OFK5vxgGy51/I7yHyiiXTkRv22gqPKkI+kaoKAFWTD5Sujhlj3vbI1WT+8XxxsA20Shw jBf+rINe4jxBll14HWkvRxei0nPuR4o1GCflq0HE4cQpN29RZc5MmyvhR83zkDll7u7d ncIr1BpF9zG9onk1SFV+len6sxlBlOVHKeSh9D0Xs5wEl5b7M7+kp7MUlpAeKruoxeAq VKKg== 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 r3si3618171pfg.58.2018.02.05.00.12.29; Mon, 05 Feb 2018 00:13:11 -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 S1752294AbeBEIKn (ORCPT + 99 others); Mon, 5 Feb 2018 03:10:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:43198 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750943AbeBEIKi (ORCPT ); Mon, 5 Feb 2018 03:10:38 -0500 Received: from dragon (unknown [104.237.91.104]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DED5B217AA; Mon, 5 Feb 2018 08:10:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DED5B217AA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=shawnguo@kernel.org Date: Mon, 5 Feb 2018 16:10:20 +0800 From: Shawn Guo To: =?iso-8859-1?Q?Beno=EEt_Th=E9baudeau?= Cc: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , linux-kernel , devicetree@vger.kernel.org, linux-arm-kernel , Russell King , Mark Rutland , Rob Herring , Fabio Estevam , Sascha Hauer , Michael Nazzareno Trimarchi Subject: Re: [PATCH] ARM: dts: imx25-pinfunc: Always set SION for SD CMD Message-ID: <20180205081018.GQ31354@dragon> References: <20180127000752.2879-1-benoit.thebaudeau.dev@gmail.com> <20180127153733.7ziaq6frli3jemc7@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 27, 2018 at 09:37:11PM +0100, Beno?t Th?baudeau wrote: > On Sat, Jan 27, 2018 at 4:37 PM, Uwe Kleine-K?nig > wrote: > > On Sat, Jan 27, 2018 at 01:07:52AM +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_*__SD*_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__SDHC2_CMD so that all the possible cases are covered > >> from now on. > > > > There is an inconsistency in the naming. The eSDHC1 CMD constants are > > named: > > > > MX25_PAD_SD1_CMD__SD1_CMD > > > > The reference calls this: > > > > CMD of instance: esdhc1. > > > > The register name is correct though. Not sure it's worth to fix this to > > use consistent naming (which would result in: > > > > MX25_PAD_SD1_CMD__ESDHC1_CMD > > > > which looks ugly, too). > > Indeed. I had also noticed this. I can send a patch to apply before > this one. But that would break the out-of-tree DT files using these > definitions. Would that be OK? That's OK, I would say. It could be a reminder of that they should upstream their files. Shawn