From nobody Fri May 9 23:23:02 2025 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; envelope-from=linux-kernel-owner@vger.kernel.org; helo=vger.kernel.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail(p=quarantine dis=quarantine) header.from=ti.com ARC-Seal: i=1; a=rsa-sha256; t=1611592237; cv=none; d=zohomail.com; s=zohoarc; b=Xi5V8OG/r4dGLS5zE0NcLVsw5Qo3lDEsoPRYTrKNNabqZhyxXhCRis5Ow+6UcJyr+hdnv9vNDXDc2MWleZYN9R/Hk48ihzv8ZyNqDQiCe9rnZqTEFVZCcRNwv/6D3kY59+jgCQWLr7wy19UPu2la2aMjq2Aul+yPYAvR2+WQaoU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611592237; h=Content-Type:Cc:Date:From:List-Id:MIME-Version:Message-ID:Subject:To; bh=w3PJZmqxxaVKfmdUeB/QsuwKCTlYxK6K5krP0sgaD9c=; b=g0AXyqGL1oVJoq/BjrTrSsELAyFnZBgIuEgzN3YD/niwpnotAsy4Wnvij61ayZ3ixT3RDP7dBFbB1a8dJ0c6ctk/ri94t2Sfq2ftOAQs4AoRW06EDhiuLTnJJua+LeETWvG/yf/nUl6KVQR5rfaRkbRkL9tRPba5OTivzsvX/nw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail header.from= (p=quarantine dis=quarantine) header.from= Return-Path: Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mx.zohomail.com with SMTP id 1611592237781417.2133449939739; Mon, 25 Jan 2021 08:30:37 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730635AbhAYQab (ORCPT ); Mon, 25 Jan 2021 11:30:31 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:40118 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729993AbhAYQ1l (ORCPT ); Mon, 25 Jan 2021 11:27:41 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 10PGPmUH090421; Mon, 25 Jan 2021 10:25:48 -0600 Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 10PGPmRB111646 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Jan 2021 10:25:48 -0600 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 25 Jan 2021 10:25:48 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE113.ent.ti.com (10.64.6.34) 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; Mon, 25 Jan 2021 10:25:48 -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 10PGPhsM064422; Mon, 25 Jan 2021 10:25:44 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1611591948; bh=w3PJZmqxxaVKfmdUeB/QsuwKCTlYxK6K5krP0sgaD9c=; h=From:To:CC:Subject:Date; b=Wpf7ad+uywWwqIyFsWVORyAzRBogPSeBsLbijXgnzupIL10OJHX9MEaDKOIoVFFfb nHb1Ks6SEToYejDXQzxQ2ahnq3f0r3Y+VnzlqaDFSjgcrpNqRcLGzstzas9VKtTuiM octFy8LVz0uL10w37aEh9lwWeVtIDZsB4WPtLoS4= From: Aswath Govindraju CC: Vignesh Raghavendra , Lokesh Vutla , Kishon Vijay Abraham I , Aswath Govindraju , Nishanth Menon , Tero Kristo , Rob Herring , , , Subject: [PATCH v2] arm64: dts: ti: k3-j7200-main: Add support for higher speed modes in MMCSD subsystems Date: Mon, 25 Jan 2021 21:55:32 +0530 Message-ID: <20210125162532.30845-1-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 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 X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The following speed modes are now supported in J7200 SoC, - HS200 and HS400 modes at 1.8 V card voltage, in MMCSD0 subsystem [1]. - UHS-I speed modes in MMCSD1 subsystem [1]. Set respective tags in sdhci0 and remove no-1-8-v tag from sdhci1 device tree nodes. [1] - section 12.3.6.1.1 MMCSD Features, in https://www.ti.com/lit/ug/spruiu1a/spruiu1a.pdf Signed-off-by: Aswath Govindraju --- performance test logs using EXT4 filesystem for eMMC HS400 speed mode, https://pastebin.ubuntu.com/p/JnPs8DxV58/ performance test logs using EXT4 filesystem for SD SDR104 speed mode, https://pastebin.ubuntu.com/p/KPGzBz8YwC/ Changes since v1: - Squashed the two patches into one - added performance logs for the above mentioned speed modes arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dt= s/ti/k3-j7200-main.dtsi index 4cc2e9094d0e..4b3d0b5739e8 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -517,6 +517,8 @@ ti,trm-icp =3D <0x8>; bus-width =3D <8>; mmc-ddr-1_8v; + mmc-hs200-1_8v; + mmc-hs400-1_8v; dma-coherent; }; =20 @@ -534,7 +536,6 @@ ti,otap-del-sel-sdr50 =3D <0xc>; ti,otap-del-sel-sdr104 =3D <0x5>; ti,otap-del-sel-ddr50 =3D <0xc>; - no-1-8-v; dma-coherent; }; =20 --=20 2.17.1