Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1212889rdb; Wed, 20 Sep 2023 03:00:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE1O4jElpw3TZiVroFZhn/SQmGC8CleCO00aD203LP2dZEKJsb8gCWJ8/WAihfbno+WLsxp X-Received: by 2002:a17:90a:b118:b0:275:4103:6adc with SMTP id z24-20020a17090ab11800b0027541036adcmr2127978pjq.43.1695204032831; Wed, 20 Sep 2023 03:00:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695204032; cv=none; d=google.com; s=arc-20160816; b=J3+VrApO31fWdhamoH75iR0v2EV8eKwwMoSMyIGWgCyeYknpPbOWJ/6EIfFPuU0FaP pNuyFmQMrQ6cPohY7iLPcBVPgZphtMmkSzpcb3hixGMv94RH8qEqqlEyoFYlIBdJttlh cXJLBgqSeZt22r8XTZaKPfRwu+0Yv6ROJjQI2hlgOXkU1VWGkYdoKsRQNiCXcXIRmb4w KqdxgX95W4caoo3swvGMcPZG0Amm8+mx4L7qY2pEt2ksTLgNwaGw5Lg5EbqkZORqKk5n wgSXL/KdiS3flJvsAdMrUyonuvmUSpYZO7TA+HpIG82RY14ENWdcEKUhQw03Y3TGC11S pD2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9fp9OF36S/XXnEBcCGrs7kEJkJhySv6EG42Vubf+KlY=; fh=IZDgKd/6qssWRurjsm1EjtljE+auE9lxEwD+ghmDu34=; b=Phs3b2FUq37PiwMwXqYSOQTQLrm5ie67QDoNKQvI6WjHWOBr3Uj1/C76vNFICgNw4G 7425Rm9jPcLv9IR6c7ZzF1S/hHSgxcJ/T0o/vLYaAUdXDTFTCrZ510JXVnfia9pLSp5W EcZelwl7npceUfLj0ljZvpTilKgjDZw2ScPK4GRj7f52WxKTtE1N71Np9xapRz559Uay XoAGYzQn1IzrLQldPRyPyrIzAl0WnPbsZ03RQG/pa12uJswNB6x6kantosR+CMc+HLS1 ROyASsjZGY9/9HLAbhT3kD89aERw/9TgzMrkWyj82q0NCS0F6q5DUUGOB+GZBdUV80jE NimQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Dq2FT2DU; 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 e17-20020a17090ab39100b002680abd9398si1212947pjr.88.2023.09.20.03.00.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 03:00:32 -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=Dq2FT2DU; 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 C36E6805303A; Wed, 20 Sep 2023 02:41:57 -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 S234063AbjITJly (ORCPT + 99 others); Wed, 20 Sep 2023 05:41:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233753AbjITJlv (ORCPT ); Wed, 20 Sep 2023 05:41:51 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 815C293; Wed, 20 Sep 2023 02:41:44 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38K9fWQW080462; Wed, 20 Sep 2023 04:41:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695202892; bh=9fp9OF36S/XXnEBcCGrs7kEJkJhySv6EG42Vubf+KlY=; h=From:To:CC:Subject:Date; b=Dq2FT2DUs9AvxYXJSA3W4TKU3rS26jdlBR7u8iN3bkM4P6j3/1rdxHAgYN69Op7yG 0kkaEDKNYU54F6Ig11sjqXh0+UmXXG/eyNkxL0BiBIYYWNoVZ9b0azluCbJZ7u4w0w YH4dg3mn/2gud4R2DcgdPm+q8A/wBvUKdyqAKvVM= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38K9fWuR027160 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Sep 2023 04:41:32 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE109.ent.ti.com (157.170.170.41) 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 04:41:31 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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.2507.23 via Frontend Transport; Wed, 20 Sep 2023 04:41:31 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38K9fUSj021166; Wed, 20 Sep 2023 04:41:31 -0500 From: Bhavya Kapoor To: , CC: , , , , , , , , , , Subject: [PATCH v3] arm64: dts: ti: k3-j721s2-main: Enable support for SDR104 speed mode Date: Wed, 20 Sep 2023 15:11:30 +0530 Message-ID: <20230920094130.20279-1-b-kapoor@ti.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 02:41:58 -0700 (PDT) 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>; ti,clkbuf-sel = <0x7>; ti,trm-icp = <0x8>; dma-coherent; - /* Masking support for SDR104 capability */ - sdhci-caps-mask = <0x00000003 0x00000000>; status = "disabled"; }; -- 2.39.2