Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754172AbbG3QZi (ORCPT ); Thu, 30 Jul 2015 12:25:38 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:54110 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752925AbbG3QZb (ORCPT ); Thu, 30 Jul 2015 12:25:31 -0400 Message-ID: <1438273506.26075.2.camel@pengutronix.de> Subject: Re: [PATCH v3 2/6] mmc: sdhci-esdhc-imx: add tuning-step seting support From: Jan =?ISO-8859-1?Q?L=FCbbe?= Reply-To: jlu@pengutronix.de To: Haibo Chen Cc: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, shawnguo@kernel.org, kernel@pengutronix.de, linux@arm.linux.org.uk, ulf.hansson@linaro.org, aisheng.dong@freescale.com, fabio.estevam@freescale.com, devicetree@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, johan.derycke@barco.com, b29396@freescale.com, linux-arm-kernel@lists.infradead.org Date: Thu, 30 Jul 2015 18:25:06 +0200 In-Reply-To: <1438160637-28061-3-git-send-email-haibo.chen@freescale.com> References: <1438160637-28061-1-git-send-email-haibo.chen@freescale.com> <1438160637-28061-3-git-send-email-haibo.chen@freescale.com> Organization: Pengutronix Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: jlu@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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1146 Lines: 25 On Mi, 2015-07-29 at 17:03 +0800, Haibo Chen wrote: > tuning-step is the delay cell steps in tuning procedure. The default > value of tuning-step is 1. For imx6 series usdhc, tuning procedure can > be passed when the tuning-step value is 1. But imx7d usdhc need the > tuning-step value as 2, otherwise it can't pass the tuning procedure. > > So this patch add the tuning-step setting in driver, so that user can > set the tuning-step value in dts. >From your description, the correct tuning-step value only depends on the SoC. Why not derive it from the compatible string? Regards, Jan Lübbe -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/