From patchwork Thu Oct 26 07:01:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nitin Yadav X-Patchwork-Id: 13437289 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 A53D8C25B48 for ; Thu, 26 Oct 2023 07:02:36 +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:References:In-Reply-To: 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: List-Owner; bh=1lLBT21R2RYFFjfHwlffU6tZ8XYUDsxzAxhIyUOOyZM=; b=4tR8ZkjXSu2oOb FfxkD5osOs1C3jxi3lTX9Fncr9YhwnUUOckVxMFEk2HFWaiFtrTOOCjjHhNpUYRmlOih7ueNaefFG gkY3mv7bD7AY01DynNZVibFCsYPYhgUkQbBB3fbwI5y8f3xLNpuNx022nY5ZgHUQkqt0PgLU5TOeh gHg+VgcH12UrDL5gMc42WICKvmy6KArf3YXBHmOayxCiUACyg4QbRRKJIgQgkQWkfJ/93hcu1f13C F1nXlncaW/m7XaVC1lvaOqRWwQH+4EihbbBqgKlsV0KLaMvA/2fNxydJvzk3F5yDGQ5NTs1ceurR1 N7m3u1qim+/tfA/MkrPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvuNh-00DoEZ-1m; Thu, 26 Oct 2023 07:02:13 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvuNW-00DoCK-2v for linux-arm-kernel@lists.infradead.org; Thu, 26 Oct 2023 07:02:04 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39Q71x8K090139; Thu, 26 Oct 2023 02:01:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1698303719; bh=VDY0EWWGwv+yfJLuMqQC2ymYEh7CvRt4Ch+U6+xZtdg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Qu63FuA/zyTX88Ad6uPDDFvKWhJRtv+swPiORUpEoeU8AGPyxsvkl4VAzEAw4K2/X 79gDHMHxN/NWLNHllIvie36JVvvXprM9iHNxxRYgAVYGDWtAHFM7RGe499WJLX8/en gYHIOADqpgz5j+61d4HDUHSOlMSaw6J1oI3YVDnU= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39Q71x3c125570 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 26 Oct 2023 02:01:59 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) 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; Thu, 26 Oct 2023 02:01:59 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE107.ent.ti.com (157.170.170.37) 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; Thu, 26 Oct 2023 02:01:58 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39Q71wUv061225; Thu, 26 Oct 2023 02:01:58 -0500 From: Nitin Yadav To: , , , , , CC: , , Subject: [PATCH 1/2] arm64: dts: ti: k3-am62a: Enable UHS mode support for SD cards Date: Thu, 26 Oct 2023 12:31:54 +0530 Message-ID: <20231026070155.1134063-2-n-yadav@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231026070155.1134063-1-n-yadav@ti.com> References: <20231026070155.1134063-1-n-yadav@ti.com> 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-20231026_000203_024369_73E4EADF X-CRM114-Status: GOOD ( 10.43 ) 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 Hook up required IO voltage regulators to support UHS modes on SD cards. Signed-off-by: Nitin Yadav --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index 9f3dfbfbf369..3ae1ea1997a4 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -102,6 +102,19 @@ vdd_mmc1: regulator-3 { gpio = <&exp1 3 GPIO_ACTIVE_HIGH>; }; + vddshv_sdio: regulator-4 { + compatible = "regulator-gpio"; + regulator-name = "vddshv_sdio"; + pinctrl-names = "default"; + pinctrl-0 = <&vddshv_sdio_default_pins>; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; + states = <1800000 0x0>, + <3300000 0x1>; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default"; @@ -189,6 +202,12 @@ AM62AX_IOPAD(0x1f8, PIN_INPUT_PULLUP, 0) /* (AC2) MMC0_DAT7 */ >; }; + vddshv_sdio_default_pins: vddshv-sdio-default-pins { + pinctrl-single,pins = < + AM62AX_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */ + >; + }; + main_mmc1_pins_default: main-mmc1-default-pins { pinctrl-single,pins = < AM62AX_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ @@ -294,6 +313,7 @@ &sdhci1 { /* SD/MMC */ status = "okay"; vmmc-supply = <&vdd_mmc1>; + vqmmc-supply = <&vddshv_sdio>; pinctrl-names = "default"; pinctrl-0 = <&main_mmc1_pins_default>; ti,driver-strength-ohm = <50>; From patchwork Thu Oct 26 07:01:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nitin Yadav X-Patchwork-Id: 13437290 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 E965DC25B6B for ; Thu, 26 Oct 2023 07:02:44 +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:References:In-Reply-To: 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: List-Owner; bh=bIdHBFGUcuFZncUMkuNYqXVO7Lp/We9MjDGcjAEQhXc=; b=rmmgox6/x8eI9q COFSuJUVooex/T97TQNTvlWbyqkduzQkWoRQACPIqXjzCTfVa+jAk6FxlhWCm7oIVMk1rIUgUTpdt Auef0TxIS+sERWky4ZGfLdc2KsdhzOY6biY+ApX5MR7Y68Hz1bmfCz4VTHBdXnzHhUD4Lwc4hxD1o vCG3eacH1q7XR33ALrJLRT3XkmjmGKAA9jQnK68l1XujbI8qgpn/V3jsxDWWflB1E7U/52467xPbG tHZaO1BK/89IZFErm6MOMdCccki+zvt/ASyWLCU2EwZXtAdbf1E1fVl99xKb/FOfozpLKLwBbY6Wx JUdBlWRFjLXhokxWXriw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvuNi-00DoEv-0I; Thu, 26 Oct 2023 07:02:14 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvuNY-00DoCe-1P for linux-arm-kernel@lists.infradead.org; Thu, 26 Oct 2023 07:02:05 +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 39Q7203v090144; Thu, 26 Oct 2023 02:02:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1698303720; bh=mkHK9xfxej//ryGnRgFtD9ontdbhjouYlET+tWYHq3w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=mDFr+NjQoy5S6vHvlHlLQWFsNmLUfcdWMAtp4rrZsW6Z983O9rLzHU71OXcu+7X5U w/flr54t9jXVZWtjGjhyha7/aXnRnXrEtConi/iAikuLh/4AI1iOJjKeHHY6Rct8hx 4TSb6Ls+/F9KZzElkcOs1hQ80UiifpV5+LbgNFdM= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39Q720RE030037 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 26 Oct 2023 02:02:00 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 26 Oct 2023 02:02:00 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE101.ent.ti.com (157.170.170.31) 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; Thu, 26 Oct 2023 02:02:00 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39Q71xMh007245; Thu, 26 Oct 2023 02:02:00 -0500 From: Nitin Yadav To: , , , , , CC: , , Subject: [PATCH 2/2] arm64: dts: ti: k3-am62a-main: Remove no-1-8-v property Date: Thu, 26 Oct 2023 12:31:55 +0530 Message-ID: <20231026070155.1134063-3-n-yadav@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231026070155.1134063-1-n-yadav@ti.com> References: <20231026070155.1134063-1-n-yadav@ti.com> 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-20231026_000204_511325_1315A15C X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. 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 Remove no-1-8-v property from sdhci1 node in k3-am62a-main to support High Speed cards in AM62a devices. Signed-off-by: Nitin Yadav --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index aeb32240e5b3..75e447ceb224 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -533,7 +533,6 @@ sdhci1: mmc@fa00000 { ti,itap-del-sel-sdr25 = <0x0>; ti,clkbuf-sel = <0x7>; bus-width = <4>; - no-1-8-v; status = "disabled"; };