Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1659669rdb; Wed, 31 Jan 2024 05:36:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IFMLcA8NgOHe3VgcbCtJCNUO4WPQtOj4Q6N/z/sqU8jWe4786rH/CGXus1b/YcCQnGwOpqS X-Received: by 2002:a17:90a:6c41:b0:28e:7e7b:f242 with SMTP id x59-20020a17090a6c4100b0028e7e7bf242mr1585273pjj.43.1706708190885; Wed, 31 Jan 2024 05:36:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706708190; cv=pass; d=google.com; s=arc-20160816; b=U/Qwq6mpIikWyawBQfaUdY+yIG5kDzVXLa62kV5GQcmO7NXarFOzGFa/57Ez0B14mH cOnRldy+Rr3HjesAp369vs3hsn32xMha8OlRnWd9ttny/OuozgrznXkORvqwTmNxhQDr XuwW5qutPu9Qet/T/ocNi5yoPQmxNLUpjKetfnMpq5fDu/wCgEU92uwuTohzKrP6+kvX 22FpO+urEdL0jhIR12inSkbgGEP+/AO+0JiySHvq2pfukGjDmuNlLoiU5C0A6lOIz1yJ /3/y884B0tKcHcAd4e+dFblKXQjDpArzI6ZhBeON7kyUCFuCKcbsNJIcnLN/si2SJtya KwzA== 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=wYV7fdwKreRS4KsgsXkkx9ORp7Ffj/MSJJ3YQgSu6+c=; fh=+wvdJ+ww7n2RyTmePBYICcrQ1PYyYTFad15NeP+D31U=; b=SKx1XRMexRGb49KWo0eI4jGKoryrGDwzyfL+kFiJin7Vl1HuTpdW70fK/H0jlZPRW2 D86FGd9yhkRhXQ9x1s7AqZrIzsGVYTWRUTfqorzL6PqT9BDhckpGaIH969UMFVxzjQtb AkYKkEsGF2VIoo9VwrwdPoSxDxQh1/fEJsCePMDCrFIHB38+RxSzIsajZCgOr0AsciIa WP6vPu7wjxpw1rQYTSBEMpl4Ma30cIriOeGAq7Kewv9dz8pC6IGfU07BIPgyAc0PpyP6 /z9BBsTEHe/Jlqeui/VFt39s4e26qQPY9MAPQfhH0ibukHo/WTpPQ1sh3uVCdqkXg6YG NJOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=cGBqzFDt; 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-46505-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCXdV7q18B1AXzRC/sCZvme4VgSs9PAP8iwf9MDfcPlLZrn+sPmQNe6MutMcEUEC06Oo76pRoH+4HWotChojWztNwiNI/ddtL4lBBN56dg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o14-20020a17090ac70e00b00295b3ecc46bsi1228266pjt.168.2024.01.31.05.36.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 05:36:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46505-linux.lists.archive=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=cGBqzFDt; 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-46505-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46505-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 0D11A2912EB for ; Wed, 31 Jan 2024 13:35:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88C697D3FF; Wed, 31 Jan 2024 13:35:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="cGBqzFDt" 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 7CD847BB10; Wed, 31 Jan 2024 13:35:15 +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=1706708117; cv=none; b=juHDikQW4v4wumL3m6ecYDnK6+pHoADS804xBJ6STx2zsrdATvVQAxeAN0Q8FT5DCMtUbB7MUmeEoAiaScIGu85WKfL0vU0tLsMcTfZfwZJM9Y4SIe8kJsjxVhLnQFQHcjvtJ15Dcllg1EMkB5PTdOrZS8ft8As2lgYzYzmc9GI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706708117; c=relaxed/simple; bh=Q4jchHsyUSgGgsWg3qeXL0ngWEAkiAaiiTy/MAzG4eg=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=rLfofcioY8nLLUI/Fned9DJQfSIh65NnxiM8/XGNLe1wgh8iiA/MXZZvd597U5gMdiw+zFVrBMxmddJpJqRuIrzKt/vIEeO2C/+1en00/nh4eN1y/B5tEMj+iYiPqSjvR0sSRS0F/v3P3z2oWZNnnCmG+H2UuaLxZgNQGaY6laM= 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=cGBqzFDt; 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 fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40VDZ7nj120425; Wed, 31 Jan 2024 07:35:07 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706708107; bh=wYV7fdwKreRS4KsgsXkkx9ORp7Ffj/MSJJ3YQgSu6+c=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=cGBqzFDttqN/ZsZCgfE+OM7CZ7WyHw0q1CqqRMj7zBK8wUtiUxTQCO7cSJjJaKKMC JqnisxhXRPzJx2z/RG/HdSPIFENWVaMD7dC8j4XE1syjFXgF4XmqFQhUqvmOza1UGk 6i2H7j8pZXw4pDfItLGPyKm73thJYyEfvtazOyhU= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40VDZ7PO068862 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jan 2024 07:35:07 -0600 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 31 Jan 2024 07:35:07 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE110.ent.ti.com (10.64.6.31) 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, 31 Jan 2024 07:35:07 -0600 Received: from [10.249.142.56] ([10.249.142.56]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40VDZ1hO102190; Wed, 31 Jan 2024 07:35:02 -0600 Message-ID: <5e03e867-b45f-482b-b734-7949e28fc97e@ti.com> Date: Wed, 31 Jan 2024 19:05:00 +0530 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: [RFC PATCH 00/13] Add tuning algorithm for delay chain Content-Language: en-US To: Judith Mendez , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Adrian Hunter , , , Nishanth Menon , Andrew Davis , Udit Kumar , Roger Quadros , , Randolph Sapp References: <20240131003714.2779593-1-jm@ti.com> From: "Raghavendra, Vignesh" In-Reply-To: <20240131003714.2779593-1-jm@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Hi, On 1/31/2024 6:07 AM, Judith Mendez wrote: > This patch series introduces a new tuning algorithm for > mmc. The new algorithm should be used when delay chain is > enabled. The ITAPDLY is selected from the largest passing > window and the buffer is not viewed as a circular buffer. > The new tuning algorithm is implemented as per the paper > published here [0] and has been tested on the following > platforms: AM62x SK, AM62A SK, AM62p SK, AM64x SK, and AM64x > EVM. > > The series also includes a few fixes in the sdhci_am654 > driver on OTAPDLYEN/ITAPDLYEN and ITAPDELSEL. There are > also device tree node fixes for missing mmc nodes, > modifying DLL properties, and fixes for OTAP/ITAP delay > values. > > MMC0/MMC2 nodes are introduced for AM62ax in this series. > > This series is sent as a RFC mostly to get some feedback > and/or comments on the new tuning algorithm implementation. > > [0] https://www.ti.com/lit/an/spract9/spract9.pdf > > Judith Mendez (11): > drivers: mmc: host: sdhci_am654: Add tuning algorithm for delay chain > drivers: mmc: host: sdhci_am654: Write ITAPDLY for DDR52 timing > drivers: mmc: host: sdhci_am654: Add missing OTAP/ITAP enable > drivers: mmc: host: sdhci_am654: Add ITAPDLYSEL in > sdhci_j721e_4bit_set_clock > drivers: mmc: host: sdhci_am654: Fix ITAPDLY for HS400 timing These patches needs to have Fixes: tag as they are bug fixes IMO. > arm64: dts: ti: k3-am62a-main: Add sdhci2 instance > arm64: dts: ti: k3-am64-main: Update ITAP/OTAP values for MMC > arm64: dts: ti: k3-am62-main: Update ITAP/OTAP values for MMC > arm64: dts: ti: k3-am62p: Add missing properties for MMC > arm64: dts: ti: k3-am6*: Remove DLL properties for soft phys > arm64: dts: ti: k3-am6*: Reorganize MMC properties > > Nitin Yadav (2): > arm64: dts: ti: k3-am62a-main: Add sdhci0 instance > arm64: dts: ti: k3-am62a7-sk: Enable eMMC support > Can the driver changes be merged independent of DT changes? Or are they meant to go together? Latter would be problematic as it creates cross tree dependencies. > arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 57 +++-- > .../arm64/boot/dts/ti/k3-am625-beagleplay.dts | 5 - > arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 45 +++- > arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 27 ++- > arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 44 +++- > arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 7 +- > .../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 4 +- > arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 17 +- > arch/arm64/boot/dts/ti/k3-am642-evm.dts | 4 +- > arch/arm64/boot/dts/ti/k3-am642-sk.dts | 2 - > drivers/mmc/host/sdhci_am654.c | 215 ++++++++++++++---- > 11 files changed, 321 insertions(+), 106 deletions(-) >