Message ID | 20240207011520.3128382-6-jm@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-55783-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1929510dyb; Tue, 6 Feb 2024 17:16:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFo2TAEs5VUVgNsBjmkN5UXUegqZm741QePZ5jrmKAdc7MEakmKse+PyvoLau1Nr5bH3aO X-Received: by 2002:a17:902:fc8d:b0:1d9:5b89:98e4 with SMTP id mf13-20020a170902fc8d00b001d95b8998e4mr3698436plb.41.1707268607327; Tue, 06 Feb 2024 17:16:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707268607; cv=pass; d=google.com; s=arc-20160816; b=W5+rJ1yO/flEsOMmuh34Z++8yCWl04f2chjlp1EZjc7uT2U59Ma+6ptQuItXcIRAQK 4Gj5/vOF7P18cHX6yQ1Op2JWZa2dZGrJoLqFQYZ3i4V2PLdVCUTPKabcQOa9MG/KUlsc syygxl8xEvqtYmLmSXf8ifz0kS2tmaeMFVr2R94jgbgeQ35X54Ic35VJrF0bUbprNtD4 k5c5JUrbCyaSiuBUJcRwA7VH9ysDTmn1ZBvPRbpzDR7d8zmz8YAcJg8ejngBZdazLoeu XrqQbfGbTxVj6xR2OGhVXA1XQhWgUld0nsHobQf6V8crwJxLidUos7R8eie+ZiZrGZHD Ya2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=3QkH5PeMfynv1lVwJeFYb8Izoef/fk3NGVZv22VOwP8=; fh=0NrFM7imZcE0yyXNaLeK5FGMyE6xqbQSO3ZuyQqnRPU=; b=mfvMLT2nPvNCP6PQa53FYVjmRKyzYly13Urc1wWkSNm7w1Bc4RRcCnSf/Vd6GwF9eF mRKJO/LG9sco3IVKMC4MVllLleYxXGwBVzgom5obRtgQO/5crUWdR1+Hq8ckHfDHvqMW sFbSHRlKGdVdm1BBibm869nhLZtWyoneq1IxesbZwJWbp80miUsuVoJFvlg7Ms2Qp3n5 ikSOGWFWH1iCsUSviY1mUMEIyJea7NwaM84mjG5lcqOaMsQc5u2yytD6wjMy3pcJDbpy /omOrNjA6JXOgJ0fTAkW+3kBqw0V/3QpD15ytiOXgq4yBprDqkc9hks3r/Q37Pl1JFh/ Qnmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="e5yk/6Bh"; 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-55783-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55783-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=2; AJvYcCWMPtsccDcvXiE7tV3rxP2sI3SmgpJxAa5dQTFTetVb3lTiV9Q7OUJ4WYyyVT/9iKdkxOI0zXs2hMMVzDsH13uJ4zsuOA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id g5-20020a170902740500b001d726df3b29si302802pll.305.2024.02.06.17.16.47 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 17:16:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55783-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="e5yk/6Bh"; 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-55783-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55783-ouuuleilei=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 1DDFD288126 for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 01:16:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FAA814290; Wed, 7 Feb 2024 01:15:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="e5yk/6Bh" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 4E6B09441; Wed, 7 Feb 2024 01:15:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707268527; cv=none; b=GD9ltGFgzHl1f26pHo8zKIOkv8B3iMZf7ZpFyUwLyG3uHMqtnA6uDiXRl7HuTmnRU3sDudRBn6tzJWzS/oHen0XXTQhmGf6r1GbrUyr8JwPs3iM6TLs2FSA1HgYxSR6xitXgzLrpiEXMRkbgnL9dgF8zPDkRSlkNGnZr7aVlqE0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707268527; c=relaxed/simple; bh=/a2L8xXm02duQbOv1Y0ldmKia61Yd6B7SdEg5r4Pq2A=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YKR8b5pc+tNHO6oGQwRi7qborcd0WwFtqF2Bhb+iLgbAqXW2ceILg/APPrYcmp1847ynAnmuAd3I645by7qUVfQT4kEglUoc8ppTQaIzdFrhC+jNFdSmCbK5VCa3M8JrQe3sT5NoBYgujcx9PWL6J3VfwPCvQ5T7p7pXjhHqlYc= 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=e5yk/6Bh; arc=none smtp.client-ip=198.47.19.141 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 lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 4171FKjp053893; Tue, 6 Feb 2024 19:15:20 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707268520; bh=3QkH5PeMfynv1lVwJeFYb8Izoef/fk3NGVZv22VOwP8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=e5yk/6Bh5kblxhAYUxvnE0VKSKY9Mo5TyvjJ+Fou0/xRLhE9Jj3skuH/7VKYIYKpm YbPn9OwYO4Dx//vOViZXq4vVpyV9azWXTS3shhHDWK95MkIwIAPpAkpLug23S5R5A6 z3ip21B78mxKfoIcZhsc8TJN+ucYh9TxxGzRTslM= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4171FKMa114476 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 6 Feb 2024 19:15:20 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 6 Feb 2024 19:15:20 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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; Tue, 6 Feb 2024 19:15:20 -0600 Received: from judy-hp.dhcp.ti.com (judy-hp.dhcp.ti.com [128.247.81.105]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4171FKMt122103; Tue, 6 Feb 2024 19:15:20 -0600 From: Judith Mendez <jm@ti.com> To: Ulf Hansson <ulf.hansson@linaro.org> CC: Adrian Hunter <adrian.hunter@intel.com>, <linux-mmc@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH v2 5/7] mmc: sdhci_am654: Update comments in sdhci_am654_set_clock Date: Tue, 6 Feb 2024 19:15:18 -0600 Message-ID: <20240207011520.3128382-6-jm@ti.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240207011520.3128382-1-jm@ti.com> References: <20240207011520.3128382-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790200886943718114 X-GMAIL-MSGID: 1790200886943718114 |
Series |
Add tuning algorithm for delay chain
|
|
Commit Message
Judith Mendez
Feb. 7, 2024, 1:15 a.m. UTC
The sdhci_am654_set_clock function is also used to enable
delay chain, therefore fix comments to be more generic in
case we are not enabling DLL.
Fixes: fe52e2fbc6ef ("mmc: sdhci_am654: Fix conditions for enabling dll")
Signed-off-by: Judith Mendez <jm@ti.com>
---
drivers/mmc/host/sdhci_am654.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On 7/02/24 03:15, Judith Mendez wrote: > The sdhci_am654_set_clock function is also used to enable > delay chain, therefore fix comments to be more generic in > case we are not enabling DLL. > > Fixes: fe52e2fbc6ef ("mmc: sdhci_am654: Fix conditions for enabling dll") Similar to patch 4, Fixes tag is probably not warranted. > Signed-off-by: Judith Mendez <jm@ti.com> > --- > drivers/mmc/host/sdhci_am654.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c > index 35ba7d921690..3755a015f328 100644 > --- a/drivers/mmc/host/sdhci_am654.c > +++ b/drivers/mmc/host/sdhci_am654.c > @@ -279,7 +279,7 @@ static void sdhci_am654_set_clock(struct sdhci_host *host, unsigned int clock) > > sdhci_set_clock(host, clock); > > - /* Setup DLL Output TAP delay */ > + /* Setup Output TAP delay */ > otap_del_sel = sdhci_am654->otap_del_sel[timing]; > > mask = OTAPDLYENA_MASK | OTAPDLYSEL_MASK; > @@ -322,7 +322,7 @@ static void sdhci_j721e_4bit_set_clock(struct sdhci_host *host, > u32 itap_del_ena; > u32 mask, val; > > - /* Setup DLL Output TAP delay */ > + /* Setup Output TAP delay */ > otap_del_sel = sdhci_am654->otap_del_sel[timing]; > > mask = OTAPDLYENA_MASK | OTAPDLYSEL_MASK;
Hi Adrian, On 2/16/24 11:11 AM, Adrian Hunter wrote: > On 7/02/24 03:15, Judith Mendez wrote: >> The sdhci_am654_set_clock function is also used to enable >> delay chain, therefore fix comments to be more generic in >> case we are not enabling DLL. >> >> Fixes: fe52e2fbc6ef ("mmc: sdhci_am654: Fix conditions for enabling dll") > > Similar to patch 4, Fixes tag is probably not warranted. Will fix for V3, thanks. > >> Signed-off-by: Judith Mendez <jm@ti.com> >> --- >> drivers/mmc/host/sdhci_am654.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c >> index 35ba7d921690..3755a015f328 100644 >> --- a/drivers/mmc/host/sdhci_am654.c >> +++ b/drivers/mmc/host/sdhci_am654.c >> @@ -279,7 +279,7 @@ static void sdhci_am654_set_clock(struct sdhci_host *host, unsigned int clock) >> >> sdhci_set_clock(host, clock); >> >> - /* Setup DLL Output TAP delay */ >> + /* Setup Output TAP delay */ >> otap_del_sel = sdhci_am654->otap_del_sel[timing]; >> >> mask = OTAPDLYENA_MASK | OTAPDLYSEL_MASK; >> @@ -322,7 +322,7 @@ static void sdhci_j721e_4bit_set_clock(struct sdhci_host *host, >> u32 itap_del_ena; >> u32 mask, val; >> >> - /* Setup DLL Output TAP delay */ >> + /* Setup Output TAP delay */ >> otap_del_sel = sdhci_am654->otap_del_sel[timing]; >> >> mask = OTAPDLYENA_MASK | OTAPDLYSEL_MASK; > ~ Judith
diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c index 35ba7d921690..3755a015f328 100644 --- a/drivers/mmc/host/sdhci_am654.c +++ b/drivers/mmc/host/sdhci_am654.c @@ -279,7 +279,7 @@ static void sdhci_am654_set_clock(struct sdhci_host *host, unsigned int clock) sdhci_set_clock(host, clock); - /* Setup DLL Output TAP delay */ + /* Setup Output TAP delay */ otap_del_sel = sdhci_am654->otap_del_sel[timing]; mask = OTAPDLYENA_MASK | OTAPDLYSEL_MASK; @@ -322,7 +322,7 @@ static void sdhci_j721e_4bit_set_clock(struct sdhci_host *host, u32 itap_del_ena; u32 mask, val; - /* Setup DLL Output TAP delay */ + /* Setup Output TAP delay */ otap_del_sel = sdhci_am654->otap_del_sel[timing]; mask = OTAPDLYENA_MASK | OTAPDLYSEL_MASK;