Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2090172imm; Thu, 9 Aug 2018 07:11:33 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzQSvWuFVzuHLitVo/l2tEMty6osu0jaNXsrut3DdF6SuRgW/DnMzd4c7Th6QrtiYVltXjT X-Received: by 2002:a65:5907:: with SMTP id f7-v6mr2320050pgu.83.1533823893130; Thu, 09 Aug 2018 07:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533823893; cv=none; d=google.com; s=arc-20160816; b=DgmjW2s73Oab+uvbbnYFznnIDDZ7kVd+K7zdyNL8I4jOTICgRMuNWpPY9J+nR6dMVz 8Q0mdRyzV7syj/c1Qq49hbqdPoWgR7Sql7pXX+i4M1xq8rJUOMKTQdu2CE3W09d8KOmv VW5R3hj2xslT72PJ8WOWAsL6O84ZeUz28TegB9RC91TKxsZTKWv4Usua5euOqTi9K0Rn 2h7DBhQwTJven+e3Z1YnqyVux7tPmktyGLTH6WSJRlaher471vmLpmCVDOx4daUjASk+ VG7A0oxN5ZpZshaiz5LmRJAcMePXnDmhjvsYEB1BY8HcnsXeSLa13NPCq3fCf+pw7Ixw YpVg== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=eNOgxjB8T7M0ZdOrGi/tjWm0iMuidXJC7ZmtkULxL8g=; b=e4axLKCclzU3Kmra98RFq0nBOITE03CS0nzFLyeBYcPYWtD8G7aovFsOiCefsJnWf1 5sK4eTXd3v7a2fmPGwB5LSMnxWi0BXlmCUuHxsYmLi1GjrDKo+FnkYagCqi6o7qKRr6M yKDBLKnBeL9RUcZudVu9rCCX571So/aaOHtP7Pye82stcsyqf2RlfW82MmqFxiarAnLo IGYpCeWWIIHgMgMNizXJ/n4LP61G91Wb77cJTqaB8qT8pV2Ll6UGmfhx0ok+0QxG8SEV RTru8pFffJHJdEq0gA6zZC4f5y2U6+3U1x+GaFOhu+6x4NLix4uTunJkYXSb79HYt2I+ 6N8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="rl5c/0Iw"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9-v6si5447209plo.206.2018.08.09.07.11.18; Thu, 09 Aug 2018 07:11:33 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="rl5c/0Iw"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732329AbeHIQe4 (ORCPT + 99 others); Thu, 9 Aug 2018 12:34:56 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37337 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730813AbeHIQe4 (ORCPT ); Thu, 9 Aug 2018 12:34:56 -0400 Received: by mail-wr1-f65.google.com with SMTP id u12-v6so5278863wrr.4; Thu, 09 Aug 2018 07:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eNOgxjB8T7M0ZdOrGi/tjWm0iMuidXJC7ZmtkULxL8g=; b=rl5c/0IwLgr8IrS1q+2WQEi8QmVqLQeB5i2T7N2e4F76krN8Diy7Yu6WWWTgxJtJgV sMiw+4QnlB2Mpp5PlYf6Gd5/wTRKJH+bLLeEjpGUhMQapelqt04Wq4icDrBd3G+35ZxI Vrmy/frgaxEpiI5KzdA9nOYC1/D5/0//gVoyp+kleidRP7+Y1rUw7KR0sGGESJb2lTWo PkGbMlt6wMaagxMgBVAomGs7BlWpDkUpre4xdgRJFEi/2yQn77JK+BtcLa9skLvIdpBN KFQ7QcdrvreZTHghRnA7dfZJzWecVUlrtFgrWqNMrPD7qxtQ0q6NdfhvAAd6Ha7CupZI OQKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eNOgxjB8T7M0ZdOrGi/tjWm0iMuidXJC7ZmtkULxL8g=; b=ckUgstYwIrI7pMjJAmq6XKb5d5uhXMhMIuzJ+erkQ6VrbXNujbxr4QSLUOQNO1lJ+x OXquaLcVaLNe1RCSAzZEdTaR/fIEiLmVpWhYrfFkqIkLLyf2GYFv7Noj62rfQoXvVwr3 1jgR+OpNnQvgeDBt2sf306ib9hteu8hjpAF+x4sj3IW/gFxID3XjP+5IEzCabUJ3KRvt BlGyLLP46/7tPrjgf1jqTnQNggcMjZg7u0WlnpmPATH6CnZk1ZS7ouJ5WrWgGeWKiF/J y+T0H8DI+dLZb8JqTt0Ycnj+T+sW7AJ7LbgxMjbabhq8ONFO7kBiLduYRYBox0OVB2kd MpMQ== X-Gm-Message-State: AOUpUlGFdBLQCPIAmMYJdCN/UMPpggtfEjt9PfkRQJ9rQ5rZNUkEEfYI TPuTtnZoYFDFAZr8BTS8ro4= X-Received: by 2002:adf:e3c5:: with SMTP id k5-v6mr1650500wrm.94.1533823789886; Thu, 09 Aug 2018 07:09:49 -0700 (PDT) Received: from localhost (pD9E51C80.dip0.t-ipconnect.de. [217.229.28.128]) by smtp.gmail.com with ESMTPSA id v14-v6sm4347016wmh.41.2018.08.09.07.09.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Aug 2018 07:09:48 -0700 (PDT) Date: Thu, 9 Aug 2018 16:09:48 +0200 From: Thierry Reding To: Aapo Vienamo Cc: Ulf Hansson , Rob Herring , Mark Rutland , Jonathan Hunter , Adrian Hunter , Mikko Perttunen , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/8] dt-bindings: mmc: Add DQS trim value to Tegra SDHCI Message-ID: <20180809140948.GI21639@ulmo> References: <1533650404-18125-1-git-send-email-avienamo@nvidia.com> <1533650404-18125-2-git-send-email-avienamo@nvidia.com> <20180809113609.GI21639@ulmo> <20180809144515.06089abe@dhcp-10-21-25-168> <20180809134648.GD21639@ulmo> <20180809170604.4353fe1b@dhcp-10-21-25-168> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Fh0SynPkUvrWGMR0" Content-Disposition: inline In-Reply-To: <20180809170604.4353fe1b@dhcp-10-21-25-168> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Fh0SynPkUvrWGMR0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 09, 2018 at 05:06:04PM +0300, Aapo Vienamo wrote: > On Thu, 9 Aug 2018 15:46:48 +0200 > Thierry Reding wrote: >=20 > > On Thu, Aug 09, 2018 at 02:45:15PM +0300, Aapo Vienamo wrote: > > > On Thu, 9 Aug 2018 13:36:09 +0200 > > > Thierry Reding wrote: > > > =20 > > > > On Tue, Aug 07, 2018 at 04:59:57PM +0300, Aapo Vienamo wrote: =20 > > > > > Document HS400 DQS trim value device tree property. > > > > >=20 > > > > > Signed-off-by: Aapo Vienamo > > > > > --- > > > > > Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt |= 3 +++ > > > > > 1 file changed, 3 insertions(+) > > > > >=20 > > > > > diff --git a/Documentation/devicetree/bindings/mmc/nvidia,tegra20= -sdhci.txt b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt > > > > > index 3c7960a..7d294f3 100644 > > > > > --- a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.= txt > > > > > +++ b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.= txt > > > > > @@ -72,6 +72,7 @@ Optional properties for Tegra210 and Tegra186: > > > > > trimmer value for non-tunable modes. > > > > > - nvidia,default-trim : Specify the default outbound clock trimm= er > > > > > value. > > > > > +- nvidia,dqs-trim : Specify DQS trim value for HS400 timing > > > > > =20 > > > > > Notes on the pad calibration pull up and pulldown offset value= s: > > > > > - The property values are drive codes which are programmed i= nto the > > > > > @@ -88,6 +89,8 @@ Optional properties for Tegra210 and Tegra186: > > > > > - The values are programmed to the Vendor Clock Control Regi= ster. > > > > > Please refer to the reference manual of the SoC for correct > > > > > values. > > > > > + - The DQS trim values are only used on controllers which sup= port > > > > > + HS400 timing. =20 > > > >=20 > > > > One of these additions says "DQS trim values", the other says "DQS = trim > > > > value". It is unclear from the above how many values there are. I t= hink > > > > this should be more explicit. Also, I don't see why the note about = which > > > > controllers the DQS trim value(s) applies to is in a separate parag= raph. > > > > Couldn't it be moved to the property description? =20 > > >=20 > > > It's a single value. The plural form is a mistake. > > > =20 > > > > Also, I think the bindings should specify which generations of Tegr= a do > > > > support HS400. Where else are people supposed to find that informat= ion? =20 > > >=20 > > > This property is under the "Optional properties for Tegra210 and > > > Tegra186" section and it only applies for the said generations. =20 > >=20 > > What's the point of specifying that they are only used on controllers > > which support HS400? Are you saying that only a subset of the SDHCI > > controllers on Tegra210 and Tegra186 support HS400? >=20 > Yes, on Tegra210 and Tegra186 only SDMMC4 supports HS400. Good. I think that'd be good to have as part of the DT bindings documentation. Thierry --Fh0SynPkUvrWGMR0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAltsSysACgkQ3SOs138+ s6EWbQ/+NU+mxZMPHIiKWhWZqLzgavH9rVHffJwEXQuzkR1NY+/O6nz6PGTuLeqo t8WgvETzPaJm6LWVFzwjg0lYi2FWOVB4pfesVC3oNKT4KtD4IxCMEERcDEUAaga0 V2QEefuiLbxVzGHTxQ/e+N2Wf1ODUzkuz+zstsEIdG7EH7CyK10hfDE1tJ6fDH1u G4SV2UB9ifP704PhZZyIHDfYMUX+tA8LBpcwj6SIRJw66oSzXTodGUy/QvySymak bkRnA9RV/76Zcb+BbgSS6P/GTpGkLtwXm1reKBolBUPG3q0BBOjj4pw8Y9Ut4l// tbNCoeOJMa6MqXoKA8FhfHhAVAQp+J5VVqgAaSWhMM/z7DBK8sYk/akL5FViolJe TI3byWJ2liN47uyGbAaYMQnnJWJoF9nq3IkH153LS8/aVUI0Db9JOGhkjQjCs59r mk7FF+bXiTWVxGFFmTGM38sIsFnzuxGGfO7CIJv+Mn3xnUvBz5qPcmpWqOri5x5F J7KKJUem1ccxpRKYXeSR8pFtfkFIGVwZ+GemBZUgv61ncZ0HmEaSSfxR8urWq/Oo 8WJGVYpAIZ702VnY+eT3pc1W9qCIpz0pq/HxLFZvggjxru6ttcIx551jnNHLsBno 8y9I3T44M87Sd29+d98e24EA63oKNHQAIWYOd6rB0J3Ra8QQ2Nc= =txHf -----END PGP SIGNATURE----- --Fh0SynPkUvrWGMR0--