Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2627249rbb; Wed, 28 Feb 2024 07:42:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU+IO74AAOqp41XDbyAmiqEJV3cWbXKm2llAjB/fUndof6XFl2Lqfv2vYQCXg1Apy1dijLEiN8yQ40rq0F0JE3TkGWRPPuMwNqmgXoj9Q== X-Google-Smtp-Source: AGHT+IEBtE6J+MiGveOUx2eIdSmqSwuxKYwYTJZMmE3QhOWegexcmDo2wa88pKjO5VMbQZVifDuU X-Received: by 2002:a17:90a:53a6:b0:298:c104:1eb8 with SMTP id y35-20020a17090a53a600b00298c1041eb8mr4045214pjh.19.1709134920096; Wed, 28 Feb 2024 07:42:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709134920; cv=pass; d=google.com; s=arc-20160816; b=dju2gwkG0ux9n60NLaHlTABHzY4pWQPdc29aglFbgf27n8fK6Xasko6qGCTcIkUqg2 PTR+sfTv6RNSfOqvzYa8BVZBnatx5DR4yqfRhmHmJwA+qnP5e8r3q5us8vf7IDILdp4u ocIn6u9+UQxshRlb5fGP2cfGKYyFrPfTQivyhLPsP6IGlhxFvK07NNM/+1q0pCj08V0U lnwVro7/2PE7Z8i/NLkH/dxkz0X1DucD2OfdPL5YZyvdnYfVsfjaaL/vDKa6IWFxfYaI tS38/HOIPCEn+j3PN9oMYTCqtkHpWeCpK0RlrQ31RAvm9GkG+bBj5GajjpX1jS8Wh2C4 RkuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=1BBQ7G18oMa6KhbFSSaEGSGl2+04hap3uYZJbm/Bzqc=; fh=Gb+RjhXNZlvI/swc7D2amXK7kF5Pes5PZO8Z/WH4s+0=; b=Nk3kbb2S7ef+O9Aj8d560Ggp7hYOjcGMvmcaPBFnNXmFL6IzigXQGST5HD607ttevO e/f7ltPa+QXN5SoUYanHM5xsGyakX5tjAXDYDa2iO8b9vSb9OdDcp/AIJwsYEZtPBAfM QaSDVxruhnZcuT8l3jdBNSCS9dMCBheVrpPBSCbgNjDWfXxHtCEv/+RBY77R6nn6hnUA edAFhyYmAcDLonIP2kH1fQb3xXwk+UszkZydPGTiEi70dmqrcHShDWx9k0Zku9o6WOsj c9GHTtxN7rYnlRJ0y0fFXMl4bJEfaI+DbKZMK2iaaizGsT+LyxK7DhX72f9JXeeXJuN9 F08A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=H1B1Gfz7; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-85282-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85282-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id su3-20020a17090b534300b002966e2d87acsi1561755pjb.57.2024.02.28.07.41.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 07:42:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85282-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=H1B1Gfz7; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-85282-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85282-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CC00E284659 for ; Wed, 28 Feb 2024 15:41:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CC6B15F30A; Wed, 28 Feb 2024 15:40:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="H1B1Gfz7" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C25CB15E5BE; Wed, 28 Feb 2024 15:40:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709134838; cv=none; b=jlIobV6X1evQhQv5nlbYgCGuF9b7fLj5+oiEy4jHDPelnanCriKD0BFxYdrdvqb6fYXtKfd9OFCA+kpSbd9lbnj6b1SCuSAXP5TcejXKdpwc/a9eLHGvR6G1XGzpwzVdS4xEkmWafBQTiQsHG6iEabEy5tml0mP3t3uaj9lZA5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709134838; c=relaxed/simple; bh=zyIIWb0GCEnzMyCT8n8PGJZ9AoaWZ7Oll+935gGnsNk=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=QY3CfzyRU4bjYufwe2S1rCOPlwEti+1wWzzyFfs19uiz+TyvdorjsowXBjzfg2NTTxmb4nVSZrAiJFYtR8VZAFWJA8IUesAaNKBIu8LjzolqThcdAkusqt+2Cwuda0718+/szF1fUzADhZ7TEC0fHl3VDA5qyk/SqXO+RNieqkM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=H1B1Gfz7; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41SFeYlB066187; Wed, 28 Feb 2024 09:40:34 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1709134834; bh=1BBQ7G18oMa6KhbFSSaEGSGl2+04hap3uYZJbm/Bzqc=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=H1B1Gfz7+tw/DNrbs4+e0G+TcpVW63vITREhCTEHcsmIBx6/JiOPrhgevKKuG/eJB 55lmPZHOss2VjwOF3A4gJOnQENcQqpPpMQgh3iQta3vWBnQX03zKFmYlI9H8rYMdKD RPpP4+hiA0A3BPWw5GxYFA9N7SnFLHXiHLhha7kg= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41SFeYd7077920 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 28 Feb 2024 09:40:34 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 28 Feb 2024 09:40:33 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE107.ent.ti.com (157.170.170.37) 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; Wed, 28 Feb 2024 09:40:33 -0600 Received: from [128.247.81.105] (judy-hp.dhcp.ti.com [128.247.81.105]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41SFeXwb122716; Wed, 28 Feb 2024 09:40:33 -0600 Message-ID: <34864935-2cf0-4a9f-aa52-bc6dd89da26b@ti.com> Date: Wed, 28 Feb 2024 09:40:33 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/7] mmc: sdhci_am654: Write ITAPDLY for DDR52 timing Content-Language: en-US To: Adrian Hunter CC: , , Ulf Hansson References: <20240207011520.3128382-1-jm@ti.com> <20240207011520.3128382-3-jm@ti.com> <82463a28-822b-4612-aed5-1be21c13acf4@intel.com> <00d4a5fe-2a9d-41c6-8f40-df657fd277d8@intel.com> From: Judith Mendez In-Reply-To: <00d4a5fe-2a9d-41c6-8f40-df657fd277d8@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Hi Adrian, On 2/28/24 7:21 AM, Adrian Hunter wrote: > On 20/02/24 23:05, Judith Mendez wrote: >> Hi Adrian, >> >> On 2/16/24 11:09 AM, Adrian Hunter wrote: >>> On 7/02/24 03:15, Judith Mendez wrote: >>>> For DDR52 timing, DLL is enabled but tuning is not carried >>>> out, therefore the ITAPDLY value in PHY CTRL 4 register is >>>> not correct. Fix this by writing ITAPDLY after enabling DLL. >>>> >>>> Fixes: a161c45f2979 ("mmc: sdhci_am654: Enable DLL only for some speed modes") >>> >>> Note that the Fixes tags make a different ordering >>> than the patch order i.e. >>> >>> Patch    Fixes        in version >>> 1     13ebeae68ac9     v5.10-rc1 >>> 2     a161c45f2979     v5.7-rc1 >>> 3     8ee5fc0e0b3b     v5.7-rc1 >>> 4     8ee5fc0e0b3b     v5.7-rc1 >>> 4     a0a62497f6aa     v5.10-rc1 >>> 5     fe52e2fbc6ef     v5.9-rc1 >>> 6     1accbced1c32     v5.3-rc1 >>> 7     a161c45f2979     v5.7-rc1 >>> >>> That might make backporting these patches more challenging. >> >> Are you suggesting to remove the fixes tag here? > > No, it is just something to think about if you intend to > backport these patches to older kernels. Thanks, Ill keep this in mind for v3. > >> >>> >>>> Signed-off-by: Judith Mendez >>>> --- >>>> Changelog: >>>> v1->v2: >>>> - Call sdhci_am654_write_itapdly() in sdhci_am654_set_clock() >>>>   instead of sdhci_am654_setup_dll() >>>> --- >>>>   drivers/mmc/host/sdhci_am654.c | 1 + >>>>   1 file changed, 1 insertion(+) >>>> >>>> diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c >>>> index 2c66a965c225..b50db5d4a452 100644 >>>> --- a/drivers/mmc/host/sdhci_am654.c >>>> +++ b/drivers/mmc/host/sdhci_am654.c >>>> @@ -299,6 +299,7 @@ static void sdhci_am654_set_clock(struct sdhci_host *host, unsigned int clock) >>>>         if (timing > MMC_TIMING_UHS_SDR25 && clock >= CLOCK_TOO_SLOW_HZ) { >>>>           sdhci_am654_setup_dll(host, clock); >>>> +        sdhci_am654_write_itapdly(sdhci_am654, sdhci_am654->itap_del_sel[timing]); >>>>           sdhci_am654->dll_enable = true; >>>>       } else { >>>>           sdhci_am654_setup_delay_chain(sdhci_am654, timing); >>> >> >> ~ Judith >