Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp942216rdh; Thu, 26 Oct 2023 23:11:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFgTFQJ9P3qmx1zwPx3Clck7FwGDx6Hsl3wPynCM7mf4d3LEqS/zecDPetsAxmbOtGXEzRN X-Received: by 2002:a25:ce8c:0:b0:da0:37c8:9f00 with SMTP id x134-20020a25ce8c000000b00da037c89f00mr1606950ybe.36.1698387119568; Thu, 26 Oct 2023 23:11:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698387119; cv=none; d=google.com; s=arc-20160816; b=Z2afQn5s2iqhn7GxIq5FbwJ7CMpy7+kfiSzKmB/m00HN9m2IYl5glP/Wkats2dFlpn 4PzfZQWxLvT98JD0eGlBVAsrYkczzmEO4YXBFD32m1SWEz29E0WFovXoY+CTx5ZJOJW7 12v3s8vkDpAsKFlrvHrAIrqV/tky8pEkcYUBwQiIWTeU1MEVEHt8TcSmmLrYMVCQxdjV WXhTYedu2hynCma4ezO3VOGDXujp8qL9LaXBZdqvEvDktu8IQXdOEoefj++SODm6hFae Qzpd84RavFHpy9t362rQJqtfNuZEV3TZidyTNEF63DagB1yP41uxqITlx1FAAIeYXgEH lz9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=NA4L4brfJcyEh6tN4VGt18esOxDUl5IjCG/PrXygxBE=; fh=stclLp3pWr4pu7Oc3zZSBighAadnYEex8Hou1Fn+ya4=; b=ql0NGOdpzyfpqRVV5VCKpKir1QVA+VT3w1kEt6Ml7GwyOIOmy8m5wQqg80AD5W6lSO YQiAzN7dqa9pZaLS9KTBozDbHbnY7nLg69HRs1iK0WalQNwiR5fCwG12+OHKqWh4s8Cp t6PEhInmHD70pXeaDZHBwD9dEabeeSTy9I4UmYsVixu4ipqjW/wBfFCOUXCTUZJbctSS bytAJZxvfxEsdZ+KuPzhIas3rgIIbJ4OnTbDkiu4fIOghD4pE3U0XZv6HrFb0ZnO2n5F EKMNOHD8x37jqVO2QgjHmz84Ydg3INzSq3Zqy8aDCSfc/25Y7wRqIccPTIQMn684faBp nVXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YMxH9GIT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id 125-20020a250683000000b00da04fb81279si1522455ybg.15.2023.10.26.23.11.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 23:11:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YMxH9GIT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id E0EC982DEE6E; Thu, 26 Oct 2023 23:11:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230164AbjJ0GLr (ORCPT + 99 others); Fri, 27 Oct 2023 02:11:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbjJ0GLp (ORCPT ); Fri, 27 Oct 2023 02:11:45 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D1631AD; Thu, 26 Oct 2023 23:11:42 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39R6Bb6C010971; Fri, 27 Oct 2023 01:11:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1698387097; bh=NA4L4brfJcyEh6tN4VGt18esOxDUl5IjCG/PrXygxBE=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=YMxH9GITElSn2Do/BU+meNMI6xdntssDoCvl+bwlrO8fOAQJEIzWht1084M1HNynW wgWeKOMG8L8+7FQsbCIwApyg6jg4nRy3ZZlaPkHVTtO/dHx8ENfThPTscHYE+cVVxt BSiV1xrQ+gu2GQVcQshd2aRIjCH9ftMWLwE4ZvUU= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39R6Bb34029277 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 27 Oct 2023 01:11:37 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 27 Oct 2023 01:11:36 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 27 Oct 2023 01:11:36 -0500 Received: from [10.24.69.29] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39R6BYbE120724; Fri, 27 Oct 2023 01:11:35 -0500 Message-ID: <7054b3bb-de99-3fb0-5f17-78249f31c53f@ti.com> Date: Fri, 27 Oct 2023 11:41:34 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] mmc: sdhci_am654: fix start loop index for TAP value parsing Content-Language: en-US To: Adrian Hunter , CC: , References: <20231026061458.1116276-1-n-yadav@ti.com> <8b7f948d-316c-4135-875a-de455ff4849c@intel.com> <8148dae9-e3fc-4589-ba57-a3f7a3e63b80@intel.com> From: Nitin Yadav In-Reply-To: <8148dae9-e3fc-4589-ba57-a3f7a3e63b80@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 26 Oct 2023 23:11:57 -0700 (PDT) Hi Adrian, On 26/10/23 12:33, Adrian Hunter wrote: > On 26/10/23 10:00, Adrian Hunter wrote: >> On 26/10/23 09:14, Nitin Yadav wrote: >>> ti,otap-del-sel-legacy/ti,itap-del-sel-legacy passed from DT >>> are currently ignored for all SD/MMC and eMMC modes. Fix this >>> by making start loop index to MMC_TIMING_LEGACY. >>> >>> Fixes: 8ee5fc0e0b3be ("mmc: sdhci_am654: Update OTAPDLY writes") >>> >> >> There isn't usually a blank line here >> >> Perhaps a Cc: stable@vger.kernel.org tag? >> >>> Signed-off-by: Nitin Yadav >> >> Nevertheless: >> >> Acked-by: Adrian Hunter > > Sorry, sent that prematurely - see comment below > >> >> >>> --- >>> drivers/mmc/host/sdhci_am654.c | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c >>> index 544aaaf5cb0f..aae9d255c6a1 100644 >>> --- a/drivers/mmc/host/sdhci_am654.c >>> +++ b/drivers/mmc/host/sdhci_am654.c >>> @@ -606,7 +606,7 @@ static int sdhci_am654_get_otap_delay(struct sdhci_host *host, >>> return 0; >>> } >>> > > Isn't the MMC_TIMING_LEGACY information read at the top of > sdhci_am654_get_otap_delay()? Loop also take care of ITAP. Looks like at some point single property ti,otap-del-sel was used for all modes and then we moved to one property per mode: https://lore.kernel.org/r/20200108150920.14547-3-faiz_abbas@ti.com (since v5.7) > >>> - for (i = MMC_TIMING_MMC_HS; i <= MMC_TIMING_MMC_HS400; i++) { >>> + for (i = MMC_TIMING_LEGACY; i <= MMC_TIMING_MMC_HS400; i++) { >>> >>> ret = device_property_read_u32(dev, td[i].otap_binding, >>> &sdhci_am654->otap_del_sel[i]); >> > -- Regards, Nitin