Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp394104pxb; Thu, 25 Feb 2021 05:32:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxvakPLdC8LGPVnkQ8P3QqYI/8Xyiqr9cOOZ5hd9l/MYZVLSOKUlgHQqSDUb/EhCteaVkXG X-Received: by 2002:a17:906:8401:: with SMTP id n1mr2698553ejx.225.1614259936828; Thu, 25 Feb 2021 05:32:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614259936; cv=none; d=google.com; s=arc-20160816; b=YxjPE1KgvEsH+AavtqsbK4ZwXubDeV8YLo7FWS/TCo1egRiOHhXyewdNDY0sOf0ah1 sSHaFsNU6lezjw65Ag1QJUxSAsPPshEQMCcYf532TsVYldBrFeeoQS1GLn3qDFfWS+pj iLDEkEqvFS6ulB9kWvM0Xwt/JujAYWCAGOxz67flMMVgIK8XAMiBE8iWSTbakDgf4suj 0ZadcZJbaQHv8hjUg03HMs4lgIuyGGS/WUJOEZ+eYDa/PHk6vQVhUI1NpgPh1DvrNB0x MAZxfZmF0WgJgCP8DiDjCTHtWv+fahvpVTnZWKWmHO/hKTDLROi2JI3WjV0s4lzmAmTo P4Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:mime-version:message-id:date:subject:cc:from :dkim-signature; bh=j6AteTgY898qRIiG4SBZmF5gu/hSrzpgAiVHsPughwM=; b=nTAjatwW4aAbj1NDM5ztYlTkxHZzlKnAedqjXZAalMrn/ex25SdGazEpqE74OrR8rs CtJ2L8/naRVgpcspyY8ZnSV8DNXKq6BAKF/0QqoJKNGjLMyjISNvc2Chilg+vcTAPB2Z eT10P4OTZjALpNSPbOIdF0+LdWd235XzpBblQGWIW1KhAJ26LiIAKbCDwKaqc6s6ZbuS AVX+h0rnXpOxrtkKK7n2jjNXuhgFUxhMZXzLlI3+gQLt+JzT2UeTaN4z0dooTGlGJMpC L3XvlEXmAhHv5CIm6BfLfoFSWKY7lWBrdXptR9o8B/4LsuW9sKZDftRLWWmLZOrDiqTn 4tFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=rBAaT1tR; 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=fail (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 dm10si3464152ejc.64.2021.02.25.05.31.54; Thu, 25 Feb 2021 05:32:16 -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=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=rBAaT1tR; 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=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232491AbhBYN3o (ORCPT + 99 others); Thu, 25 Feb 2021 08:29:44 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:55864 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232791AbhBYN2m (ORCPT ); Thu, 25 Feb 2021 08:28:42 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 11PDRhXb060162; Thu, 25 Feb 2021 07:27:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1614259663; bh=j6AteTgY898qRIiG4SBZmF5gu/hSrzpgAiVHsPughwM=; h=From:To:CC:Subject:Date; b=rBAaT1tR/b9RQqGxDSnE6Pg26hnscdnZZ+jDjnMr6uxeAyRJaDdGrHS/Si2pHoT24 3hcxTrcSapxDsV0uZ9Qs/fQhSObNOjsSLLOfoh9snhXRSwYdQbJ/lhjEB87U5Bhz3K hdo3JqCna1wXbbMcuHzn1hnOkCtSN/rFiRk8n2So= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 11PDRhNm090646 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 25 Feb 2021 07:27:43 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 25 Feb 2021 07:27:43 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) 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.1979.3 via Frontend Transport; Thu, 25 Feb 2021 07:27:43 -0600 Received: from gsaswath-HP-ProBook-640-G5.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 11PDRcYD118288; Thu, 25 Feb 2021 07:27:38 -0600 From: Aswath Govindraju CC: Vignesh Raghavendra , Lokesh Vutla , Kishon Vijay Abraham I , Grygorii Strashko , Aswath Govindraju , Nishanth Menon , Tero Kristo , Rob Herring , Faiz Abbas , , , Subject: [PATCH] arm64: dts: ti: k3-j721e-main: Update the speed modes supported and their itap delay values for MMCSD subsystems Date: Thu, 25 Feb 2021 18:57:36 +0530 Message-ID: <20210225132736.26429-1-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 { -- 2.17.1