From patchwork Wed Feb 7 22:55:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 198120 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2553050dyb; Wed, 7 Feb 2024 14:57:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVkbkoJEgzPjlcRPCQG0w4vO4bhkHx/PPWR5tF5fOkwNlR1FQmrsxZZWtRHKeVt4tb2lV8YdTj4N+NENkauQCa3Z4DdQA== X-Google-Smtp-Source: AGHT+IHEqWZEnq86Ifbc8Z4urClOO2ZRCHmnyBdP0harlVp3RUF7dEEn+pIzz0QOV+NHrLRrqsQh X-Received: by 2002:a05:6830:2b06:b0:6e2:b467:f9a2 with SMTP id l6-20020a0568302b0600b006e2b467f9a2mr6622354otv.7.1707346668232; Wed, 07 Feb 2024 14:57:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707346668; cv=pass; d=google.com; s=arc-20160816; b=tbBjBsE93E96v7URTwyuf2vjY2PKBJXYKZR0HOg89BghaHx+WHeDOYT0d6A2bXmSYM 3eQCn96FMvqKONQgxzmmH3zIhkX3xEsVc6/O/KyrMxhd7MIWAejo9HmEcr6n4ZnDKCCe MBA6DIa+3tWZ1a+kVrH7dTz3xBmM2Aln+URxSVI+wy/htGuFoyclPYChgk+MEQX46Jhx jG+VUhnsVOqx37dotFz9iDMrRqqN0hC9Di8y3cGHyt8N6Qnw2e62ENVb/rIBTfihtneN FoecZNssaxQqZH8UPClLlE8M8Ns7OHAkIC2ze6W4BXLSiGHiMN3nGFGUi7j/Mcg6S1mb Oa1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=hUydIEOTuqHDfvM49AYx6tel8EOPS7VljbOdHOCBU1Q=; fh=rmNQusYta8SfhBNwfy/WBfTL13x11Dp0/D5XHy+fgug=; b=zh4sodQM6jZma44Vsu2VCHtEnUOsdhtfDzliMdNN0Y46TyMjhdgJxK3dHOb8EIfJoq nTLxbeacpF1uTaGArQeVdCXOkZEs2aCdvVwXxovGTI6ho15FG/ZGAIu8tB0RVjKW3pJC qzHS9LXIX/kIfTC7rgrpJeiRxOH7uvpZa8t/tu38lixVe4W2mwwp3zvJlAae43SPuTQ4 A4Y97CLLqZ704VGOVrb1ECH+bT6Iu6mqPw9ftZwLfiYFSlW76Go4Tr8a/+0ENS3gFZi3 zdV8eG8d0Gb5GlBaXl8+wNNCTkXsbgXs4qqMZwsdimDKWdzJ4QqWKWCprQd4Qg/S+gtB PnHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="jJ/FWzQG"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-57281-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57281-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=2; AJvYcCVq+ry2nfvdP2lwumyxydk/uakTwJjX+hNc8DNyTiiOFXhf2nP5qtoh+XtMCxoi022rFTDxFYGF30vwxkBXdtHa0RwYzg== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e6-20020a656786000000b005cd82e43aa3si2429861pgr.321.2024.02.07.14.57.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 14:57:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57281-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="jJ/FWzQG"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-57281-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57281-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D7AA82898AF for ; Wed, 7 Feb 2024 22:57:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D2BD6F502; Wed, 7 Feb 2024 22:55:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="jJ/FWzQG" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95FE1200DC; Wed, 7 Feb 2024 22:55:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707346539; cv=none; b=JYZsuZJEw/vCGB0V2Og3sbBDJQ3ay2wxW3LF9dS60xvfLt1DQ+xVOQprThBjR8BbPtHQGLB+0cE/y0ahh8WEy5g9GKlKrGbTIr1pw3pFaQLFFvI3DJzQ5ooVEuIjTa7gQDztTCqyj4q3qqw9DEpZUFcd1f1WoAFjMD6EPru9gYQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707346539; c=relaxed/simple; bh=FS269dnoFfYz648OsmBzN0dYStuIf4GWkyTn6qcidso=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rgKIfpJQrjgzkILlcIn53Iq+HrtOUS35GIVEaaniSX2HQJTF29KapPfUGw+CTGNrCaJ7hwJ2WxinBDTavfsc0ymaGabP2F9ZzKhjPalcqFx00mo05CFA44DhqamDqCPzKXU1QdDivtVA8tE4lJmJD1LIMi423W+AEK6RqyzyRU0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=jJ/FWzQG; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 417MtR7j014818; Wed, 7 Feb 2024 16:55:27 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707346527; bh=hUydIEOTuqHDfvM49AYx6tel8EOPS7VljbOdHOCBU1Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=jJ/FWzQGwf64yHIQKC715Ew09G5ExpmkQUGVEEDAmMU5MCV/PlPvP/RFWzswDeJqy XISfx2Io/DGyLthNYIvm0AwVViA45Lpd1y2i6b+jOz0nQ/tgtjBIQIategsrTgLE6S /khQ5yC7UFCKaZc0pD+/BpjjZj6bM13K2SnqvsAM= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 417MtR5H065574 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 7 Feb 2024 16:55:27 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 7 Feb 2024 16:55:27 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE108.ent.ti.com (10.64.6.29) 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, 7 Feb 2024 16:55:27 -0600 Received: from judy-hp.dhcp.ti.com (judy-hp.dhcp.ti.com [128.247.81.105]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 417MtQmX014027; Wed, 7 Feb 2024 16:55:27 -0600 From: Judith Mendez To: Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , , , Subject: [PATCH v1 4/9] arm64: dts: ti: k3-am64-main: Fix ITAP/OTAP values for MMC Date: Wed, 7 Feb 2024 16:55:21 -0600 Message-ID: <20240207225526.3953230-5-jm@ti.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240207225526.3953230-1-jm@ti.com> References: <20240207225526.3953230-1-jm@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790282740238517306 X-GMAIL-MSGID: 1790282740238517306 Update MMC0/MMC1 OTAP/ITAP values according to the datasheet [0], refer to Table 7-68 for MMC0 and Table 7-77 for MMC1. [0] https://www.ti.com/lit/ds/symlink/am6442.pdf Fixes: 8abae9389bdb ("arm64: dts: ti: Add support for AM642 SoC") Signed-off-by: Judith Mendez --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index ddd382a0d735..9bfa0a969bfc 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -633,6 +633,9 @@ sdhci0: mmc@fa10000 { ti,otap-del-sel-mmc-hs = <0x0>; ti,otap-del-sel-ddr52 = <0x6>; ti,otap-del-sel-hs200 = <0x7>; + ti,itap-del-sel-legacy = <0x10>; + ti,itap-del-sel-mmc-hs = <0xa>; + ti,itap-del-sel-ddr52 = <0x3>; status = "disabled"; }; @@ -645,12 +648,16 @@ sdhci1: mmc@fa00000 { clock-names = "clk_ahb", "clk_xin"; ti,trm-icp = <0x2>; ti,otap-del-sel-legacy = <0x0>; - ti,otap-del-sel-sd-hs = <0xf>; + ti,otap-del-sel-sd-hs = <0x0>; ti,otap-del-sel-sdr12 = <0xf>; ti,otap-del-sel-sdr25 = <0xf>; ti,otap-del-sel-sdr50 = <0xc>; ti,otap-del-sel-sdr104 = <0x6>; ti,otap-del-sel-ddr50 = <0x9>; + 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,clkbuf-sel = <0x7>; status = "disabled"; };