Received: by 10.223.176.5 with SMTP id f5csp2255814wra; Mon, 5 Feb 2018 00:34:22 -0800 (PST) X-Google-Smtp-Source: AH8x225VGpxtPoHDmF8iZwOkJmPAYkvsaqZrKYHE9r27SDIxu7rSohzXnPo3hvSrcIfZzVykNjqP X-Received: by 2002:a17:902:a985:: with SMTP id bh5-v6mr22986903plb.230.1517819661890; Mon, 05 Feb 2018 00:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517819661; cv=none; d=google.com; s=arc-20160816; b=wGfBvRXZ96q6XAGJk5C7JFf4rIUfNV9k2fXPu8QVcX75WzGM8eeSY4iRXKLaO8+MiX LTIzn6J5fbEFsmjt9Pb/tBmN++DdaOfcGp2LVWqXIHjec+5bL4IcCbxNqIpGPKE9L7Zd A1ygC2uB98y5L/hPSUIEW05r/qofCpDsn92Gl5XfbIOMMt1kMq5sP30YZffYE83XbbXA pcILsbR4zSWIuz007F/6y913ZeHQknddh12h4YQTPJmd6pkBK8jPBbrHnm1kLMdNlJAv ao0W2PNuxQ47jY5m7L6os80k/ShWW3KBIrRYChuuMuZS0fD59KAYQZbIoCu84cCODdU6 v9pQ== 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=On0nGNlxfj86AkGP2ApJYAnLlpHT10ojxWE9TfBRNsg=; b=X6Xm1dFEzKIpgb8egMB5Hq2pEDp5VUwDPebBvTPY6gmS5geF+ZPntB7z3QlpSP7RLC pAK/xIBDL6D5XPJZDY03CTUVbu8BaK17EMKuRwKkLraIqHcuqfG6LrJDbcHAjn0guT3B ID25SjUe/MfRRe+knNeP/sLP7pr+2jj+51Fe8XP63i2I4RR9ktBl+1l+yoFu66pCVTye fCkZS+RZcj4cduXn+aqaaqXBpsBiz7TKQxahUpuVz9kXfsOvrNrpaonWPU0chA5HZXRr E7fRUt/HyC1ywY06PF581aNq5OITMjV24Aw+Q6oTsBwhZ/dWdt2FGsI+gsmKP9L5BJil N35g== 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 bc10-v6si4571462plb.190.2018.02.05.00.34.06; Mon, 05 Feb 2018 00:34:21 -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 S1752607AbeBEIcs (ORCPT + 99 others); Mon, 5 Feb 2018 03:32:48 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:57667 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751938AbeBEIcn (ORCPT ); Mon, 5 Feb 2018 03:32:43 -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 1eicCc-0002Vq-9C; Mon, 05 Feb 2018 09:32:38 +0100 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1eicCZ-0006fM-Gw; Mon, 05 Feb 2018 09:32:35 +0100 Date: Mon, 5 Feb 2018 09:32:35 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Shawn Guo Cc: =?iso-8859-1?Q?Beno=EEt_Th=E9baudeau?= , Mark Rutland , devicetree@vger.kernel.org, Russell King , linux-kernel , Rob Herring , Sascha Hauer , Fabio Estevam , Michael Nazzareno Trimarchi , linux-arm-kernel Subject: Re: [PATCH] ARM: dts: imx25-pinfunc: Always set SION for SD CMD Message-ID: <20180205083235.okfm2rjk3uskdbrh@pengutronix.de> References: <20180127000752.2879-1-benoit.thebaudeau.dev@gmail.com> <20180127153733.7ziaq6frli3jemc7@pengutronix.de> <20180205081018.GQ31354@dragon> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180205081018.GQ31354@dragon> 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 On Mon, Feb 05, 2018 at 04:10:20PM +0800, Shawn Guo wrote: > 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. I assume you saw v2 which introduced some defines to give those guys a bit of time, which IMHO is still better. Then we can remove these compat defines in (say) a year and so trigger this reminder. Also one of the advantages of dt that was advertised when ARM was converted to dt was, that upstreaming the dt isn't necessary any more. I personally like this and still consider not upstreaming the dtb part of a machine a sane approach. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |