Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5923936ybl; Tue, 14 Jan 2020 17:51:40 -0800 (PST) X-Google-Smtp-Source: APXvYqxCQ2DbYGhGWhB7Q85x1cNpfJbo/8p0H0ERSAXfpUI8/q4qLMedI220bvM19/Qg4GcFuyeA X-Received: by 2002:aca:48d6:: with SMTP id v205mr18450792oia.10.1579053100122; Tue, 14 Jan 2020 17:51:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579053100; cv=none; d=google.com; s=arc-20160816; b=Njg8Lxzjl4rGWw1ahpAzbFPS1Hc6HSnWxi2hzWoRptoTO7FDINJ5FJ7w4Z1JGyN+vq fOIrlZVfahEbGDoAm1eYF3nbl8SV4lNppg5r1ZxresjHUIgCjO/CzZb0ueu7xVAk21VV X37wRr2TB5c5UmgP9qvEjiB9bQmvMdKb8NB2kHqL/MbcEAVk+LJgMQw14L4yz1KeRuIy 2nQ4EQzcDQbBKvnot4TEUP+tBDuWGraEfr1Y3/xxp23lH+Ma4tMfxaOX1xSVJkPxMzZ/ iR8JS/9HNKfVNFue7zwlZa683ajXp+WcgfKK0B+hh2lYF3WxiWOGLpHbXaBtwC2puWQG 9DZg== 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; bh=x+DC5uDF1yRidwXaAC7rLMyWxsUNF7MxyQx/Ttg6A48=; b=vEOZGfPxCultSZyI2ZIA5pUzqUkrgINMEpkvjuIveRIthXdmR0VWpzoo9Pt6uP3Xcx 7p7xR8Op+B7Z5JmEYWx96N50zfq6jRY2zR2TYrS9+mIwB9GGVLKkTRN4c0rju86slanZ UJc0+yeG6QbR2UJQacjl3Z0ihHeQQEHA2XM2pq3IiI5IHgHdALYsJoEtYW2SX+X3omrK UBdmTch0evdrO0Kk6b1ZpcN6QPCY1SSNLIpXXGbhnfHwVObYb3vYaE5yRv5daZVx1hpp P2c+Ur0tZx81NWUV285y5rRQdyGJVYW2WIOhtoBvRbfuxvbxJXC0+lnfJ5TXy+ETN9Zw 78vg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u62si8765374oig.29.2020.01.14.17.51.29; Tue, 14 Jan 2020 17:51:40 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728896AbgAOBuk (ORCPT + 99 others); Tue, 14 Jan 2020 20:50:40 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:45251 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728834AbgAOBuk (ORCPT ); Tue, 14 Jan 2020 20:50:40 -0500 Received: by mail-oi1-f194.google.com with SMTP id n16so13883393oie.12 for ; Tue, 14 Jan 2020 17:50:40 -0800 (PST) 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=x+DC5uDF1yRidwXaAC7rLMyWxsUNF7MxyQx/Ttg6A48=; b=Y10xGOnTC1WTC2jsKwsYQL7ZZ+lrfMZrjGoDGLr9fC8LDxYHBeR0TcAaduyCUJAAAc rdR8VDwEoMcHWu8c9aeZ7Ye6Ip0mE5+DTwWQray4Huly4Xt8TL4rs3txCFEvVRvahmq3 8VnEV4GlBYANCpeoEvILdt6NyxIhayXyzNhBdrZ9nu8gwiru9YouwLPwxWIJE5qfaffb Eb+9frZYUz4X/LOcKRN84YP5HmIKQA2n7T348AQHDRPBsSeQ8mwDk0CYCsCmlq4NSOYw +1O6z8N1yk8/1t6Pkh5OwE8grb9ttSoZknmiBBQUxM7tjbgoXyTnyssCO2YUVgngy53H sjNw== X-Gm-Message-State: APjAAAWRhYCa529IeGyVygJcvYV7XwZXNfWObItuAF4KhUQuMPbjetFV qf7hVoOAbengqqpYKLTphzELAuM= X-Received: by 2002:aca:d6c4:: with SMTP id n187mr19629918oig.29.1579053039239; Tue, 14 Jan 2020 17:50:39 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id d7sm5197123oic.46.2020.01.14.17.50.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2020 17:50:38 -0800 (PST) Received: from rob (uid 1000) (envelope-from rob@rob-hp-laptop) id 220a2e by rob-hp-laptop (DragonFly Mail Agent v0.11); Tue, 14 Jan 2020 19:50:37 -0600 Date: Tue, 14 Jan 2020 19:50:37 -0600 From: Rob Herring To: Faiz Abbas Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, ulf.hansson@linaro.org, adrian.hunter@intel.com Subject: Re: [PATCH 1/3] dt-bindings: mmc: sdhci-am654: Update Output tap delay binding Message-ID: <20200115015037.GA26114@bogus> References: <20200108150920.14547-1-faiz_abbas@ti.com> <20200108150920.14547-2-faiz_abbas@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200108150920.14547-2-faiz_abbas@ti.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 08, 2020 at 08:39:18PM +0530, Faiz Abbas wrote: > According to latest AM65x Data Manual[1], a different output tap delay > value is recommended for all speed modes. Therefore, replace the > ti,otap-del-sel binding with one ti,otap-del-sel- for each MMC/SD speed > mode. > > [1] http://www.ti.com/lit/gpn/am6526 > > Signed-off-by: Faiz Abbas > --- > .../devicetree/bindings/mmc/sdhci-am654.txt | 21 +++++++++++++++++-- > 1 file changed, 19 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-am654.txt b/Documentation/devicetree/bindings/mmc/sdhci-am654.txt > index 50e87df47971..c6ccecb9ae5a 100644 > --- a/Documentation/devicetree/bindings/mmc/sdhci-am654.txt > +++ b/Documentation/devicetree/bindings/mmc/sdhci-am654.txt > @@ -18,7 +18,20 @@ Required Properties: > - clocks: Handles to the clock inputs. > - clock-names: Tuple including "clk_xin" and "clk_ahb" > - interrupts: Interrupt specifiers > - - ti,otap-del-sel: Output Tap Delay select > + Output tap delay for each speed mode: > + - ti,otap-del-sel-legacy > + - ti,otap-del-sel-mmc-hs > + - ti,otap-del-sel-sd-hs > + - ti,otap-del-sel-sdr12 > + - ti,otap-del-sel-sdr25 > + - ti,otap-del-sel-sdr50 > + - ti,otap-del-sel-sdr104 > + - ti,otap-del-sel-ddr50 > + - ti,otap-del-sel-ddr52 > + - ti,otap-del-sel-hs200 > + - ti,otap-del-sel-hs400 > + These bindings must be provided otherwise the driver will disable the > + corresponding speed mode (i.e. all nodes must provide at least -legacy) Why not just extend the existing property to be an array. We already have properties to enable/disable speed modes. > > Optional Properties (Required for ti,am654-sdhci-5.1 and ti,j721e-sdhci-8bit): > - ti,trm-icp: DLL trim select > @@ -38,6 +51,10 @@ Example: > interrupts = ; > sdhci-caps-mask = <0x80000007 0x0>; > mmc-ddr-1_8v; > - ti,otap-del-sel = <0x2>; > + ti,otap-del-sel-legacy = <0x0>; > + ti,otap-del-sel-mmc-hs = <0x0>; > + ti,otap-del-sel-ddr52 = <0x5>; > + ti,otap-del-sel-hs200 = <0x5>; > + ti,otap-del-sel-hs400 = <0x0>; > ti,trm-icp = <0x8>; > }; > -- > 2.19.2 >