Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3011079pxb; Sun, 28 Feb 2021 22:09:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpo9ENaNpFP5ybLLbfDyFYVEEiTL4SeBs9QguEFKLHmPEDvvJ1bSgyDPlKSquU3tDa0krF X-Received: by 2002:a17:906:29c3:: with SMTP id y3mr13908134eje.430.1614578978151; Sun, 28 Feb 2021 22:09:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614578978; cv=none; d=google.com; s=arc-20160816; b=M5nlg8bJwjtOLKB1VjPDdn2OUR3lLIc6XJ+3rcFnHsjdEJGVKZ9Sku65KLSmvC04AQ zG1+pKD99ts8YLI8jEkyHB8mt67toHaC2HCwXNad0fz2kuj5CeAmZcvGt+TK8k9zC8Yu uCCAEPeoRmvX85eLuToi4Iiz4MitY9TXTjzfPcmUlXGvyliSP/5u+Ek92DuHimkOcG+d O8+PvIN7CYhAKWJQ6ly8UO5oYEDvKpLcOyXfI7rzbdJKysCknXRue5DvKcV0P1qW5VgL Mn/UojyqJzxAzBF3RFyhwaFup7dwvOpTV9e2xLddPNG9xd68VU+bDo3IkUJRelPrXmUE 0Qdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=NytG6h/HO/Y+I6DOr++snFnPKMf5uQm8jZLwmzuHNao=; b=ZAG7urqYWiMZ3G2g6AD9MBuNi8wntAxlJqMjMjnuta2XjT7EiGoWCvk08TGilHF3ev PA4PGM5whIr9920UmeOmNZmfyG3r5XQvsh7MTY5SKqz1XmH2vw8fWf3l8EPyR4jQXb3O dcbHLm4scYUUsZ/zPpw/6k59TjmkuZZv9FOtqa6jD8F33nJlbSHD/N+SfN+ZuNmjd+hS 0ITlM8B1ie22+6wJyQZMuqbD4aIyLf4WQaXR+nogSXJOBt4/fhpfUCbSQnIXeff4nWLQ on+dWZ+oaWVlALlo9+bK/wfI327B9QyRBjV4BY9QA1XzbDZZJ10ydhoqiFv4A6lwvslC MiUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XoCNg8Hv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kl21si11241497ejc.630.2021.02.28.22.09.16; Sun, 28 Feb 2021 22:09:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XoCNg8Hv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233495AbhCAFbF (ORCPT + 99 others); Mon, 1 Mar 2021 00:31:05 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:52774 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233485AbhCAFak (ORCPT ); Mon, 1 Mar 2021 00:30:40 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 1215TkCd027257; Sun, 28 Feb 2021 23:29:46 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1614576586; bh=NytG6h/HO/Y+I6DOr++snFnPKMf5uQm8jZLwmzuHNao=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=XoCNg8HvVXAg3qlzZPDcHPSChWL6H5i3ndH6V/Z+w6TjjPkD2uWxdoNdHZnJBM0Uy A9UU4QOE4V/Cm8JM0P2IK5yQr4QuNU+sIZCdc9HPCqWMvUDvDJKPipKEzL6EjFaAkr TFp/9btAjQQPn+jObLv3CGpx2GPSHCDPFtC0sUMM= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 1215TjAI123984 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 28 Feb 2021 23:29:46 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Sun, 28 Feb 2021 23:29:45 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Sun, 28 Feb 2021 23:29:45 -0600 Received: from [10.250.232.211] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 1215TeDx117177; Sun, 28 Feb 2021 23:29:41 -0600 Subject: Re: [PATCH] arm64: dts: ti: k3-j721e-main: Update the speed modes supported and their itap delay values for MMCSD subsystems To: Aswath Govindraju CC: Vignesh Raghavendra , Lokesh Vutla , Grygorii Strashko , Nishanth Menon , Tero Kristo , Rob Herring , Faiz Abbas , , , References: <20210225132736.26429-1-a-govindraju@ti.com> From: Kishon Vijay Abraham I Message-ID: <969c38e2-01e8-55a1-b97e-cf72f07fcd62@ti.com> Date: Mon, 1 Mar 2021 10:59:40 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210225132736.26429-1-a-govindraju@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/02/21 6:57 pm, Aswath Govindraju wrote: > According to latest errata of J721e [1], HS400 mode is not supported > in MMCSD0 subsystem (i2024) and SDR104 mode is not supported in MMCSD1/2 > subsystems (i2090). Therefore, replace mmc-hs400-1_8v with mmc-hs200-1_8v > in MMCSD0 subsystem and add a sdhci mask to disable SDR104 speed mode. > > Also, update the itap delay values for all the MMCSD subsystems according > the latest J721e data sheet[2] > > [1] - https://www.ti.com/lit/er/sprz455/sprz455.pdf > [2] - https://www.ti.com/lit/ds/symlink/tda4vm.pdf > > Fixes: e6dc10f200da ("arm64: dts: ti: j721e-main: Add SDHCI nodes") > Signed-off-by: Aswath Govindraju Reviewed-by: Kishon Vijay Abraham I Thanks Kishon > --- > arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 17 ++++++++++++++++- > 1 file changed, 16 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi > index 8c84dafb7125..f1e7da3dfa27 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi > @@ -1042,13 +1042,16 @@ > assigned-clocks = <&k3_clks 91 1>; > assigned-clock-parents = <&k3_clks 91 2>; > bus-width = <8>; > - mmc-hs400-1_8v; > + mmc-hs200-1_8v; > mmc-ddr-1_8v; > ti,otap-del-sel-legacy = <0xf>; > ti,otap-del-sel-mmc-hs = <0xf>; > ti,otap-del-sel-ddr52 = <0x5>; > ti,otap-del-sel-hs200 = <0x6>; > ti,otap-del-sel-hs400 = <0x0>; > + ti,itap-del-sel-legacy = <0x10>; > + ti,itap-del-sel-mmc-hs = <0xa>; > + ti,itap-del-sel-ddr52 = <0x3>; > ti,trm-icp = <0x8>; > ti,strobe-sel = <0x77>; > dma-coherent; > @@ -1069,9 +1072,15 @@ > ti,otap-del-sel-sdr25 = <0xf>; > ti,otap-del-sel-sdr50 = <0xc>; > ti,otap-del-sel-ddr50 = <0xc>; > + ti,itap-del-sel-legacy = <0x0>; > + ti,itap-del-sel-sd-hs = <0x0>; > + ti,itap-del-sel-sdr12 = <0x0>; > + ti,itap-del-sel-sdr25 = <0x0>; > + ti,itap-del-sel-ddr50 = <0x2>; > ti,trm-icp = <0x8>; > ti,clkbuf-sel = <0x7>; > dma-coherent; > + sdhci-caps-mask = <0x2 0x0>; > }; > > main_sdhci2: mmc@4f98000 { > @@ -1089,9 +1098,15 @@ > ti,otap-del-sel-sdr25 = <0xf>; > ti,otap-del-sel-sdr50 = <0xc>; > ti,otap-del-sel-ddr50 = <0xc>; > + ti,itap-del-sel-legacy = <0x0>; > + ti,itap-del-sel-sd-hs = <0x0>; > + ti,itap-del-sel-sdr12 = <0x0>; > + ti,itap-del-sel-sdr25 = <0x0>; > + ti,itap-del-sel-ddr50 = <0x2>; > ti,trm-icp = <0x8>; > ti,clkbuf-sel = <0x7>; > dma-coherent; > + sdhci-caps-mask = <0x2 0x0>; > }; > > usbss0: cdns-usb@4104000 { >