From patchwork Tue Feb 13 23:56:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13555860 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AAF2AC4829A for ; Tue, 13 Feb 2024 23:58:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=FvHoJKMqwrczgHEOLphzDO1zczNjmVqozcfmTIWzOcU=; b=1qSjmAl2WfdZv8 6GKLrgAqTb5DcSJKXRJEBOlMYwhNtrgEC1XeGUCh2famfYZOW5x3DhAxiC80ZE4Bl7rTmKsMhQ5fP bi2wX4GiMiw4G/PijzLDAalpTekiHROzUklrnBfYejGQnXNZClnv8PN4XxN8XJTV7pYsysvo83OyJ xVycWrQSjsopd19O1Dg3f7U27d4Dk0Y1+gAiBjADVmAsR43MDdjHNWk0EIA+tGVMHA8MDq7C7/7Ak FRd4P2Kws/scT2FCtqoaZTM7b+i4pMMm+WdYwGw0sboSCLUKCtktg13h7WSwkfflq+oRr4ALjeMMH ylGUddO8BN6m2gnhIhEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra2er-0000000BJPU-0mzD; Tue, 13 Feb 2024 23:57:49 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ra2ed-0000000BJ1y-1Wit for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 23:57:37 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41DNv1X7010135; Tue, 13 Feb 2024 17:57:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707868621; bh=3S3Qh1mo0rfRIPDFHYJT0K7IV8QikFSO5XW0LQrfkrc=; h=From:To:CC:Subject:Date; b=Zi9hkaCg+wq7kfGHtJEQSHBkhTFsyZfpwlvkxXs7D9ybRicm3kq25S/HzUUgbugpw CWZdUS25bsLcbc+diuJKKVFF1eMfngxpFwENdDTlpw8E1SrLVYM6W6EwcJyrSvvy8Y WTXmUOh+tevj4uXv3sj4r/thVsaWC9zf/gnjO8jE= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41DNv1Z2006441 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 13 Feb 2024 17:57:01 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 13 Feb 2024 17:57:01 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE111.ent.ti.com (157.170.170.22) 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; Tue, 13 Feb 2024 17:57:01 -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 41DNv1R4091761; Tue, 13 Feb 2024 17:57:01 -0600 From: Judith Mendez To: Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , , , , Wadim Egorov , Francesco Dolcini Subject: [PATCH v3 0/9] Fix MMC properties on Sitara K3 devices Date: Tue, 13 Feb 2024 17:56:52 -0600 Message-ID: <20240213235701.2438513-1-jm@ti.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_155735_585241_05EE837C X-CRM114-Status: GOOD ( 11.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series aims to fix and update MMC nodes for TI Sitara K3 devices with the following changes. The series introduces sdhci0 and sdhci2 nodes and enables eMMC for AM62ax platform. Also introduce fixes for MMC ITAP/OTAP values for AM64x platform according to device datasheet [0], and add ITAP/ OTAP values for AM62p to enable the highest timing possible for MMC0 and MMC1, according to device datasheet [1]. The DLL properties ti,trm-icp and ti,driver-strength-ohm should be removed for soft PHYs since drive strength cannot be changed, so remove these properties when not applicable. Since this fix touches non-TI boards and therefore cannot be tested, all tested-by's are welcome. Also include a few fixes for ti,clkbuf-sel, bus-width, and bootph-all device tree properties in MMC nodes. This series was tested on: - AM62a SK - AM62x SK - AM62p SK - AM64x GP EVM - AM64x SK EVM - Beagleplay [0] https://www.ti.com/lit/ds/symlink/am6442.pdf [1] https://www.ti.com/lit/ds/symlink/am62p.pdf Fixes since V2: - Remove ti,driver-strength-ohm property in sdhci1 node for k3-am642-tqma64xxl-mbax4xxl and k3-am642-phyboard-electra-rdk board files. - Add Francesco's Acked-by V2: https://lore.kernel.org/linux-devicetree/20240213002416.1560357-1-jm@ti.com/ V1: https://lore.kernel.org/linux-devicetree/22af7436-8833-4049-bdbb-f79bb3314ee8@ti.com/ RFC: https://lore.kernel.org/linux-devicetree/c94b7399-31c0-4e7d-a616-8f29c86a27ba@ti.com/ Judith Mendez (7): arm64: dts: ti: k3-am62a-main: Add sdhci2 instance arm64: dts: ti: k3-am64-main: Fix ITAP/OTAP values for MMC arm64: dts: ti: k3-am62p: Add ITAP/OTAP values for MMC arm64: dts: ti: k3-am6*: Remove DLL properties for soft PHYs arm64: dts: ti: k3-am6*: Fix ti,clkbuf-sel property in MMC nodes arm64: dts: ti: k3-am6*: Fix bus-width property in MMC nodes arm64: dts: ti: k3-am6*: Add bootph-all property in MMC node Nitin Yadav (2): arm64: dts: ti: k3-am62a-main: Add sdhci0 instance arm64: dts: ti: k3-am62a7-sk: Enable eMMC support arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 12 +++-- .../boot/dts/ti/k3-am62-phycore-som.dtsi | 1 - .../boot/dts/ti/k3-am62-verdin-dahlia.dtsi | 1 - .../arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi | 1 - .../boot/dts/ti/k3-am62-verdin-wifi.dtsi | 1 - arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 2 - .../arm64/boot/dts/ti/k3-am625-beagleplay.dts | 4 -- .../dts/ti/k3-am625-phyboard-lyra-rdk.dts | 1 - arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 45 ++++++++++++++++++- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 27 ++++++++++- arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 44 ++++++++++++++++-- arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 3 +- .../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 2 - arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 15 +++++-- arch/arm64/boot/dts/ti/k3-am642-evm.dts | 4 +- .../dts/ti/k3-am642-phyboard-electra-rdk.dts | 1 - arch/arm64/boot/dts/ti/k3-am642-sk.dts | 2 - .../dts/ti/k3-am642-tqma64xxl-mbax4xxl.dts | 1 - 18 files changed, 129 insertions(+), 38 deletions(-) base-commit: 1e6bbc5185bcd113c8d2f7aa0a02f588a6bdbe5d Tested-by: Wadim Egorov