Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1283669rdb; Wed, 20 Sep 2023 05:12:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+z+YLJ/QVt+4rVbxtMl9bSsdej1r6TMqnjgA6OInVhnTDC3uPPgCBAOpKOVvtwh1FV2XV X-Received: by 2002:a17:902:db85:b0:1c5:6f4d:d6cc with SMTP id m5-20020a170902db8500b001c56f4dd6ccmr1884817pld.22.1695211955542; Wed, 20 Sep 2023 05:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695211955; cv=none; d=google.com; s=arc-20160816; b=BlEt2tSk53ARH4vKEtiRYF6MCQYNOjaslgX/OQ19hMwmj5dEfZiCOTm0zhAC4cTjxq 28a3puAGKa7UYd5vY0jjBOHfugZBEu/IC5v2YPI1Hv8yA+W2hhbYAPrF6dLgcIj+92u4 d8N+YmYRdC493G4n1BQpEhzE4piTvE/8A5Yj1fI7qaLMWhhALnP5LVJ/m2OtTUvDTF6I lDSr+eHSfOHI4KJt8dGpgZ04PQRxwOylV7HaaYWPq27JnCXAKJk8/aViClFWqWC9hHY5 0BgTrGS4OQnqu9T4wP0ypSezlykW1aQm2xmx3UI9h97B8U2i/FMFUOwEEA165yNFcv3Y Bx6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=KNiXL8yltTjYYUIgIVFgkURrsbSpcF7matGKWF6iaAI=; fh=Jj3p9a9c0lGl7PtPGPmUDKgg5poo8ZAscPwuU8Yeboo=; b=FVbb4bH6nHMee8G3bZlp0rlHTPOhxzjAWFNI4PoL4PHlqSkME+zQyXsqwGxjRTZ4aQ VulV9yf5HceQgY5G+4zsFqHNGB51KaGRE4TP94HZNpr2jrC8xDCr4A3XOHSYbvJypgLr g3IIXkeyx9b9IFHeLP/1mM3GZTPku6uYVv/nbGk5N/qCu/6i+uxO3VwDWN58Jayp3b1Z pg7x6J1Y/Utdza1E7V3C7ckLv804CD+wo5ofmQ05HmQiMoZY/fTfxpKL2BLtnhQdktQB pV1w07l0irHLF0dXvllnnwJx8WlBNd7+JivLj8jzDHaNOI0m3xdRnSubID8F/FzjxEm9 +BTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oNS7fIaj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id s3-20020a170902ea0300b001b9dda4e1e7si1884628plg.154.2023.09.20.05.12.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 05:12:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oNS7fIaj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 563B18024C0F; Wed, 20 Sep 2023 03:08:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233925AbjITKIp (ORCPT + 99 others); Wed, 20 Sep 2023 06:08:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234114AbjITKIn (ORCPT ); Wed, 20 Sep 2023 06:08:43 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9990B9; Wed, 20 Sep 2023 03:08:33 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38KA8ONP111098; Wed, 20 Sep 2023 05:08:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695204504; bh=KNiXL8yltTjYYUIgIVFgkURrsbSpcF7matGKWF6iaAI=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=oNS7fIajLjiI7NKdaa6Ot2fGSRYAT6rsZLqm31RLuEE84hAdekFKsY7wUmZx9maio YZHb4vDZ+tuKhvJ1RLiTq3sEvl6q6CplYh2X+OxY9+s5ZqFfgzcORyc8Fl4XjZr7e4 0z7eKq2+NVD6XFP8cqmqH1dQw+XH8Wa1KJf/4B8s= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38KA8OPV042246 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Sep 2023 05:08:24 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) 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.2507.23; Wed, 20 Sep 2023 05:08:23 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE103.ent.ti.com (157.170.170.33) 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, 20 Sep 2023 05:08:23 -0500 Received: from [10.249.141.75] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38KA8JPx098358; Wed, 20 Sep 2023 05:08:19 -0500 Message-ID: <524cb54d-c82e-d580-2cd3-17c5f1fc1e03@ti.com> Date: Wed, 20 Sep 2023 15:38:18 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v3] arm64: dts: ti: k3-j721s2-main: Enable support for SDR104 speed mode To: Bhavya Kapoor , , CC: , , , , , , , References: <20230920094130.20279-1-b-kapoor@ti.com> Content-Language: en-US From: "Kumar, Udit" In-Reply-To: <20230920094130.20279-1-b-kapoor@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 20 Sep 2023 03:08:56 -0700 (PDT) On 9/20/2023 3:11 PM, Bhavya Kapoor wrote: > According to TRM for J721S2, SDR104 speed mode is supported by the SoC > but its capabilities were masked in device tree. Remove sdhci-caps-mask > to enable support for SDR104 speed mode for SD card in J721S2 SoC. Also > add itap delay select value for DDR50 High Speed Mode. > > [+] Refer to : section 12.3.6.1.1 MMCSD Features, in J721S2 TRM > - https://www.ti.com/lit/zip/spruj28 > > Fixes: b8545f9d3a54 ("arm64: dts: ti: Add initial support for J721S2 SoC") > Signed-off-by: Bhavya Kapoor > Reviewed-by: Udit Kumar > --- > > Changelog v2->v3: > - Add Itap Delay Select value for DDR50 SD High Speed Mode > > Link to v2 patch : https://lore.kernel.org/all/20230412121415.860447-1-b-kapoor@ti.com/ > > arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi > index 084f8f5b6699..a5ab301b14f1 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi > @@ -766,11 +766,10 @@ main_sdhci1: mmc@4fb0000 { > 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>; Please elaborate , why we need itap delay As per v2 https://lore.kernel.org/all/d85fbd74-6470-f664-2eb6-ee02b8135b23@ti.com/ there should not be any change in tap delay > ti,clkbuf-sel = <0x7>; > ti,trm-icp = <0x8>; > dma-coherent; > - /* Masking support for SDR104 capability */ > - sdhci-caps-mask = <0x00000003 0x00000000>; > status = "disabled"; > }; >