Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1612521ybv; Fri, 14 Feb 2020 02:57:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxxAJfO4cCr5LkZOoJWLmlDtAnU4W+bfnLGJm2qPiX8Na7DwYiTn2BHWLPzCkDbZu2utgbE X-Received: by 2002:a05:6808:191:: with SMTP id w17mr1383637oic.29.1581677841873; Fri, 14 Feb 2020 02:57:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581677841; cv=none; d=google.com; s=arc-20160816; b=rgvyv0eZRDCUPUkmlGsEBdrvFGfYEMqntuybhlBcuInM5+RgYYoawDecLoib2Pb/KO iaqXGJvWIxG9uEM4bq2n3pbjeUUJE4NeyDi8boqQbO3PtyEn2VFG5r3snh1tQtCaMohw r2/Po4RBYkpmUU3W+Dgq9oCkdGhdeBB93/5qlH/L51Wk4VYkJUKS2HJqJaKqc1VNnkvw YXmXN8u9ww8o5TEHHNJFZ+3JsisWSIjv8v3UTV0NpXWntuwCzvv88YGPIQZaui8wrocE 9NGnTfdJUg7dHwrV4QfYQNT4TMVD6YfHFKRA+j8DZ+CVeUNrrdqzGgyohxFoZ/Z6P7Sp 8s+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:dkim-signature; bh=EeRATaYxdcRxaZf/STIKmJgNLsSYIwLxnYW0Mn3oVFg=; b=cPxhb2SIBOfyW6l3S62n5XyKFfquOF0kEog2Wh3wOjiwH56iI6TLVBBjtqNN6JcHap JACk1R/6Q/HAviBfSS9M/qh8XFJ/9u2QKy6Pg2sKvagudTOWA/GJ6Tzj6m+mvf37tuYl 2CSD5GEADyb7erPIM8iSKRx/8ER8q6JpC0+EftTbVy0sainOUSlkYfizvAEnignWh44X zw9UAeAjgM7R8sb8x5f+P06UOUgGreormHnpni5unt2eURQE6ice4Y/lwi0q+VzM6d36 Zc2bQCPs+vRuhXvBLfJ3wHz0eDgAafUpQi92RbcToMuIwLZZw8/t3cPUaDvOoWoG2JGq RWUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mXEm+lHt; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9si2281029oij.125.2020.02.14.02.57.08; Fri, 14 Feb 2020 02:57: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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mXEm+lHt; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729102AbgBNK5D (ORCPT + 99 others); Fri, 14 Feb 2020 05:57:03 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:39354 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726220AbgBNK5D (ORCPT ); Fri, 14 Feb 2020 05:57:03 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 01EAuxwN010645; Fri, 14 Feb 2020 04:56:59 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1581677819; bh=EeRATaYxdcRxaZf/STIKmJgNLsSYIwLxnYW0Mn3oVFg=; h=Subject:From:To:CC:References:Date:In-Reply-To; b=mXEm+lHtRF2V0hQ8YXefrLqX7pgEmya0nnZSBnqeEpC8+DKMw/WtQnxiZW42xFGVf ODcEUJaTLKlIvSlcs3r6hAfdg/4bKR+T3bPQ+b0svWYItiDfP+ZFkMi0v1n7Hr6El8 qchZTWLyr2Vgfe7G7rNVmeKOyRrC2TlIZjbm19jM= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 01EAuxqu011836 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Feb 2020 04:56:59 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Fri, 14 Feb 2020 04:56:58 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Fri, 14 Feb 2020 04:56:58 -0600 Received: from [172.24.190.4] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 01EAutb1049623; Fri, 14 Feb 2020 04:56:56 -0600 Subject: Re: [PATCH 1/3] dt-bindings: mmc: sdhci-am654: Update Output tap delay binding From: Faiz Abbas To: Rob Herring CC: , , , , References: <20200108150920.14547-1-faiz_abbas@ti.com> <20200108150920.14547-2-faiz_abbas@ti.com> <20200115015037.GA26114@bogus> Message-ID: <24e6ac71-00c7-f140-86d8-fa5ec0dcaff0@ti.com> Date: Fri, 14 Feb 2020 16:28:44 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rob, On 07/02/20 3:07 pm, Faiz Abbas wrote: > Rob, > > On 20/01/20 11:00 am, Faiz Abbas wrote: >> Hi Rob, >> >> On 15/01/20 7:20 am, Rob Herring wrote: >>> 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. >>> >> >> Its hard to keep track of which modes have values and which don't when >> you add an array. This scheme is just easier on anyone adding new values >> or updating old values. >> >> We already disable speed modes based on platform specific properties in >> other drivers. In sdhci-omap.c, the driver disables the corresponding >> speed mode if the corresponding pinmux and iodelay values are not populated. >> > > Do you agree on above? > Gentle ping. Thanks, Faiz