From patchwork Tue Feb 13 00:24:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 200111 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp262690dyb; Mon, 12 Feb 2024 17:10:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUj9eCTrW8vrIN1ItDVmYQq9szW6m9nUiJ6Eg+xQ6nbwSclP3PdMp+ngTK6RpQ9jdFs7r7L7HHbT/et3261EbX/66MKIw== X-Google-Smtp-Source: AGHT+IHlh+jFMHl+NfMkhhE+dhz4E24EOah7PUw/YqbWTQ+FFUxyMUgssizxz1wtnVCJXso962/4 X-Received: by 2002:a17:903:1cc:b0:1d9:8ac8:d79d with SMTP id e12-20020a17090301cc00b001d98ac8d79dmr8470533plh.19.1707786611914; Mon, 12 Feb 2024 17:10:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707786611; cv=pass; d=google.com; s=arc-20160816; b=FMteQPl2LwVd6bvsl3OjSO7j3jwtAgV97Zjbc6aulwBMRJVeO9GhKWwbDLTNPP6rmb z1lbmKPKYQFqQzoj9hVj9h9r207CbIUr1e9ngjPvdrr1tyX4SozZAY+Oa2ZoDSzz8cr5 +avz4trDqv3Zf0iQlsfp1nD0uooXvHOuYFcGY6xnbIqjmHBkp50bVMKbANWfx7LeGLb6 6oK/CAGrKiWE9IxWRZLU8M0JO17e3FtthL9dh5u4jAeLwMI2tEDxea5g5tdPr/FnDon1 mu1KlyiKvgk3dmvpT7Cic/Hab0Rqm7P0tyapEe9RB3EUSkKJueA5YXLQVTt450KlADY9 bwmA== 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=OEjRPw5Zg1bkR1k2UVXnDRBxO9/qLVhp5GO743wiQ64=; b=qK7hsDQUzk5baUL8WvElaLPaeZwY2fg0X94DNa2q+b3vPvjI0bMdz0fjLrVqvPeRf9 faVpy90shM+A83PqlugJnW3LJccEwNcEt/Xk+QGC6T6W3HoFSkEFWRRDo/Apd3xTDxPL y33A62U6zKjtgerraiwzGAXGWcKCWY8wJECSfQIPzKzUn/rxqeHTR/dyrA/8lgTjY9vh NIXfyHU0vtBtiQECep3jwSpjBgWlcMS0uXWgWJJbmK6UWwoE0aRzBKPskMp2kERoGywI QSDoEwO9LnkbmbPag+YSA106SPcvJ+71jDPjgoQC7QItNmYpaldISn9MYjeemA/R3CJN 9TYw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XKBlwvpc; 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-62751-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62751-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=2; AJvYcCXvuNk0rYUcSCb2BICD3A3IBMvFDpwd6n0x6wgdkAf9gQBus+mwf0zOZcXy1yAgtfhbN7P/x0sxJX0O4x1hwrp4M+na/A== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id g12-20020a170902740c00b001d96e29ea8asi1045696pll.268.2024.02.12.17.10.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 17:10:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62751-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XKBlwvpc; 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-62751-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62751-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 ACA722828D8 for ; Tue, 13 Feb 2024 01:10:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C081013248E; Tue, 13 Feb 2024 00:24:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="XKBlwvpc" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 B4D8B12F5AB; Tue, 13 Feb 2024 00:24:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707783872; cv=none; b=T0SuoTqi+pjBMCaqDMK3Owj21ccTzIrxjI/mAyjxmBHhJfABAKdLrn/xUvl084NpSOJ78+ZqhjoA/ABGGPpJZqmbxnay3HLd8qb8q7EeuE7iQ3AISMUkDmbw61geCx0MOmasooNCrjC0ZnU1qysX96ch257lt+NLDzVhkzBuIIk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707783872; c=relaxed/simple; bh=FS269dnoFfYz648OsmBzN0dYStuIf4GWkyTn6qcidso=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MxV6AFVY5hBGipQCXo9yfbvtKR0VyRmstZJacnc2x+v8EI+X6G6xIAr/F0oNTfjZSzVmPzoHi2mgPAeKmsxnnGWUg6n6axKeQ/yK8MrMG4e/EqrccytX6fFv8MzCwrnT7OqRiAyRmQla3Vwn0kzPbKjDYjy8O8KJqo9eTnYHa14= 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=XKBlwvpc; arc=none smtp.client-ip=198.47.19.142 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 lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41D0OHWm088677; Mon, 12 Feb 2024 18:24:17 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707783857; bh=hUydIEOTuqHDfvM49AYx6tel8EOPS7VljbOdHOCBU1Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=XKBlwvpcgoASKl2ado+T5QpkDduYTwRgM09ZPRmYvZCt2nnxS33iFuvMpJMEwBkPN QMiCIcej9LWIRp1g4qO7aGNip+TMoYa4So3hz1qKCTnCMjwGs6VxlFGQiIGE31yskb A43Z6SU3vlAyUMplgwzSOxRbXCXLY5NAtPc97eOQ= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41D0OHl4015138 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 12 Feb 2024 18:24:17 -0600 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 12 Feb 2024 18:24:16 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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 via Frontend Transport; Mon, 12 Feb 2024 18:24:16 -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 41D0OGXi119810; Mon, 12 Feb 2024 18:24:16 -0600 From: Judith Mendez To: Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , , , , Wadim Egorov , Francesco Dolcini Subject: [PATCH v2 4/9] arm64: dts: ti: k3-am64-main: Fix ITAP/OTAP values for MMC Date: Mon, 12 Feb 2024 18:24:11 -0600 Message-ID: <20240213002416.1560357-5-jm@ti.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213002416.1560357-1-jm@ti.com> References: <20240213002416.1560357-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: 1790744054564331834 X-GMAIL-MSGID: 1790744054564331834 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"; };