Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EC705C433FE for ; Fri, 11 Feb 2022 00:35:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2FE7B836A9; Fri, 11 Feb 2022 01:35:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="SQl7Ge2z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C5C608365D; Fri, 11 Feb 2022 01:35:39 +0100 (CET) Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C7E3A83559 for ; Fri, 11 Feb 2022 01:35:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2e.google.com with SMTP id x3so1181938qvd.8 for ; Thu, 10 Feb 2022 16:35:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Zfw85vAKUwb9RwjQnizdjI68X2RXrAi3b3aPOnvk4j4=; b=SQl7Ge2zEModN2i14Jgl/46/4dq8190lX8ZCN2YzMK0SsxS17IcQUHDkSLo/SePul/ gWA6rvh8buK048AjkXX5Qp35cTqfHZL8xusyTizU6wX4TVJEtye14x+ikd3y2mQmaET5 /1vz4yZaeKiNesK+MIZAGfPBRbgOTCEKNN/p4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Zfw85vAKUwb9RwjQnizdjI68X2RXrAi3b3aPOnvk4j4=; b=XvUnJ+FEgfDLSNstCEIyD0W4kL3QskmxOwzW2b/brH40if6cPDt3BxJ9kic+JfZ8Li RponXmeld0bu3sdd31KCLswkkrjgUt14rTMMVegVT7vNLkt6+Y6jbZ/XS11KhwZ6CLVv c20gIpctS4WRlLNnEPKwJ2PazEGqUxg901BPpC9Xgs1NaJhLS8BWJvhcTo4HOyjSpU4/ ExLcvu8yPz107IyCXAT6/5zN1uCrBokUrx+Rxmn2b2uSq6PHtw2CXH4m/SGwDZQCYFHo rv3xxigBaWyZW9vlQNZlNORZyCRkZQaKf4x7GkNJA3qkusg56iDXRx4Gqphkqf70Tb/3 MaIA== X-Gm-Message-State: AOAM531LUq1eFuYBAsGH9nvlhoWjtlgeCtJhD+cQ1U5tZiJomy5v0KXx ozhOJCTyjQ5xH3f3NRpNzZUPNA== X-Google-Smtp-Source: ABdhPJx3zqpdGZXu1s5WtTZenGNVoEVc7Ijj5YvFp0WgBTmFfDiolFShEDYpewAGti/+pe+2tEDKlA== X-Received: by 2002:a05:6214:1c87:: with SMTP id ib7mr6828862qvb.42.1644539735700; Thu, 10 Feb 2022 16:35:35 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id f16sm12362837qtk.8.2022.02.10.16.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 16:35:34 -0800 (PST) Date: Thu, 10 Feb 2022 19:35:33 -0500 From: Tom Rini To: Sinthu Raja Cc: u-boot@lists.denx.de, Praneeth Bajjuri , Sinthu Raja , James Doublesin Subject: Re: [PATCH] arm:dts:k3-am64-sk: EMIF tool update to 0.8.0 with 1333MTs for lpddr4 Message-ID: <20220211003533.GO2697206@bill-the-cat> References: <20211129120449.26086-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kunpHVz1op/+13PW" Content-Disposition: inline In-Reply-To: <20211129120449.26086-1-sinthu.raja@ti.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --kunpHVz1op/+13PW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 29, 2021 at 05:34:49PM +0530, Sinthu Raja wrote: > From: Sinthu Raja >=20 > EMIF tool for AM64 SK is now updated to 0.8.0 that includes > * disabled Write DQ training > * improve CA ODT to 60 ohms >=20 > The lpddr4 enabled with periodic WDQ training is causing periodic 26us > stall. This makes the SoC stall without doing anything which leads to > R5 interrupt latency in TCM memory. Due to this periodic training there > are some outstanding CPU transactions waiting for the lpddr4 to complete. >=20 > Hence, disable the periodic write DQ training during the > non-initialization stage of lpddr4 which results in an approximate 1us > stall. Also, update the lpddr4 config to improve CA ODT by 60 ohms >=20 > The rationales are as follows: > - PI_WDQLVL_EN: 2 Bits register field to support write DQ leveling, > disable bit 1 that supports Write DQ during non-initialization to > avoid ~26us stall during code execution. >=20 > - MR11_DATA_F1/F2_x register fields value changed to 0x66 that changes > the CA ODT from 48ohm to 60ohm to improve the eye margin on CA bus by > increasing the signal swing. >=20 > Signed-off-by: James Doublesin > Signed-off-by: Sinthu Raja Applied to u-boot/master, thanks! --=20 Tom --kunpHVz1op/+13PW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmIFr1UACgkQFHw5/5Y0 tyzvAQv/aE4GX4eBGXSYMeoDplGBow0R6YmSa4bfD0tGA8gEqEa6ZIYRgY8sagP4 B7FO0O/bV4a/yNMnxjmnOnoJmuEfo82YEheOCMv8B3tHL+/88PwX0awQwjbmYsI3 YIwkAHdM9+UmP2n32ZnvGMvylzWi/VNDAAQ63vdRUPtNkZcPjKvbvwAsINEH87wr z5gN43yubvfty+z+Eb407y3Jq2U4G+tQ5riKIV2xlFl5D9ktJ73ei71q7ctkIcu6 Wj+A0Nc9DSQ7wJ9VYyQHXX39s1xy1Usd9xZU0DF6fLfjB8jb4DADVW1ggYOFUTUT cdeewckzKuZhq64no/Qo4fknp3gkl2t5TzyboJPOtkDFqU7v+3nx2np9hAIolMdR j5IpuK63EGTl52YvPRqUMzHmuAgIoFxJQQmLJzfNmfOMpaiwdPLbLGwBqQqSEXXB Vs7OCEEiMY7HxtcyDZU+L4x2S5ETLlzXJ5B8kTaxIHz6DGt0UjxCSZ6lo1GSv+5B 2Q1nrhOg =uKz7 -----END PGP SIGNATURE----- --kunpHVz1op/+13PW--