From patchwork Tue Feb 13 14:55:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13555221 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 D22BAC48260 for ; Tue, 13 Feb 2024 14:57:22 +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=xeeQpYxBcKmb7jGi+b6GmSX9yJa09cb2xrlMfBBQqB4=; b=fg7yLWqcYk5eWn xeY5Wwv2C1SNcjbg9ShqkHVfqPkc3WXUmTOpIweakwB44gRFLqVgUToLItue2qPGsQfE0NazelQeI BJdx+b0/O66XKhczm7HREDi7bGVxlqwqllamj9Q/RpQ/aPCgO4D1b+kiFOqFPLyiDP7tRKekbU0Ij r1zBeybIGKA3jS94hGqlOP/CC9PueNXq+eDCTsUkdesB/ZXnsm6a4iVYPqXvUITIRD1G/pGYPNgpi TsqvmSuDL5KENVWicGy9GF4d0WGTPFyV++ht1Llis9UxBARXqL7sqOhULD27B4UupwrWV8uuiZwiC QiA47HHz40r9rXJ2Xn9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuDf-00000009cgD-0bne; Tue, 13 Feb 2024 14:57:11 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuCv-00000009cAL-2ubS for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 14:56:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836185; x=1739372185; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SBoDFMum0CRdYaIkaabj+IssLrqtA1j8841CTgB/0vk=; b=KAjGymydyq8btQG17qT4QShOWF90lHSKoK9kI/XzsM9xxAT1RWGUZ0BJ Fa0uD3hBqjeCCH6VNG5rp8Bc4CQX9EN3+oqTzWTwX4bac16Q35+T/mw/r G9HqFdj6EaQcd8s70nN0Iy4DTUm77HeecvMdTxcvA654S5M13qrdNPGFQ 9z1/fILdNAC4NgWUht45HE1zTKqrCx3SxwOYX2t38K7J1WF3z8lrrv1/w yF0DhA2jPIzTEg4ZCP/mzwyserTDjSD9WI2PLoWE3a16jOb5m4RWDm4rT 2XVmWr6NZVPYT2j/7gP96pp/VSouVkZCNELzOGnDLVN/qsv/9FH4lP8+p w==; X-CSE-ConnectionGUID: AFpWkw3+TLWONG8YtvDMdQ== X-CSE-MsgGUID: fdZxdgzFSNWtsf6V6NCZoA== X-IronPort-AV: E=Sophos;i="6.06,157,1705388400"; d="scan'208";a="183438887" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 13 Feb 2024 07:56:24 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 13 Feb 2024 07:55:54 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 13 Feb 2024 07:55:51 -0700 From: Mihai Sain To: , , , , , , , , CC: , Mihai Sain Subject: [PATCH v4 1/8] ARM: dts: microchip: sam9x60_curiosity: Add power-supply properties for sdmmc nodes Date: Tue, 13 Feb 2024 16:55:35 +0200 Message-ID: <20240213145542.23207-2-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213145542.23207-1-mihai.sain@microchip.com> References: <20240213145542.23207-1-mihai.sain@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_065625_891237_016DD4EC X-CRM114-Status: UNSURE ( 8.91 ) 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 In order to use the sd high-speed mode, keep vqmmc at 3V3. Add vmmc-supply and vqmmc-supply properties to sdmmc nodes. Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts index c6fbdd29019f..457c54dde0b7 100644 --- a/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts +++ b/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts @@ -452,6 +452,8 @@ &sdmmc0 { pinctrl-0 = <&pinctrl_sdmmc0_default &pinctrl_sdmmc0_cd>; cd-gpios = <&pioA 25 GPIO_ACTIVE_LOW>; disable-wp; + vmmc-supply = <&vdd1_3v3>; + vqmmc-supply = <&vdd1_3v3>; status = "okay"; }; @@ -460,6 +462,8 @@ &sdmmc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; disable-wp; + vmmc-supply = <&vdd1_3v3>; + vqmmc-supply = <&vdd1_3v3>; status = "okay"; }; From patchwork Tue Feb 13 14:55:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13555214 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 48559C48260 for ; Tue, 13 Feb 2024 14:56:34 +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=dbh/0JOtHNtqavSLfMQkucFOj6cjIzZz7iQeBOJEqTg=; b=BH/b6NRB2ouLPR MgaujFNsaihU4MiGAguSoKUVEqNDYZQYEYdgbSIXJYDj31UmzEyW0oDNCuHEETnwXJm3sSIwi8hIB HP+MKG1tq3SQNv7w1bt1sIrgYZF+DljM5r8nfn2mJ2jHmbbI3AyKGmgPhwNQxLBYzQpgEjGYAgAVE 9JnHvkTUQIENzKv0lDwxfVHxW+6K99cfcl9Ljunuv+3C66Y83yAEvstNDl890NduRYZsUBt0CJHJI 9NXzOJydr1WymlGMAwz6CkX9mtb716z7ShQZjPsL/fS4bNxW2w9yGD1zSJhJ77aE35a4i7tJjELaj 8ly06rEII5BkGGigXO8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuCt-00000009c8b-3G2m; Tue, 13 Feb 2024 14:56:23 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuCl-00000009c2e-1lSK for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 14:56:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836175; x=1739372175; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XSrEmtCTEoZ1BvUgmXS0alF89dCeproQKiVNavB3G9M=; b=2PtMsJxVw33T1nQNvSEiQzbq1Gw1Xe3cIwwHc4sFVgkIMSWptCAdCAlD SKRmPbbm5g7HTL82zo1RWHE7kO5c9NKQo2o9kJl5QpfrIOAEPF//LbIzp zCZltKL2mE5KX/twe5IkPBFYkyquuryYlQ4sVICwD6XSI4oyiZvnB/o6I MEXQY0eZF2EE/GmlOzmie9MobIGnDmcorQJzT4Lhv0D3aGWPbswqDD/ku Ge49gOMz3HMXI3hOHMzO3B6HyDVbWF2cBM0OCsDf9ain5wAPCOcRJP6ri 34Rw3ciQE8ucddCTIMnjZMA/8vXRYcWV372BhWkKZG59eAqeUcCGcmA9U Q==; X-CSE-ConnectionGUID: notrBuGtRbuSS13mA3DSPA== X-CSE-MsgGUID: onnDf4NKQra/EO/e8SYCPw== X-IronPort-AV: E=Sophos;i="6.06,157,1705388400"; d="scan'208";a="17608938" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 13 Feb 2024 07:56:12 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 13 Feb 2024 07:55:56 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 13 Feb 2024 07:55:54 -0700 From: Mihai Sain To: , , , , , , , , CC: , Mihai Sain Subject: [PATCH v4 2/8] ARM: dts: microchip: sam9x60ek: Add power-supply properties for sdmmc nodes Date: Tue, 13 Feb 2024 16:55:36 +0200 Message-ID: <20240213145542.23207-3-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213145542.23207-1-mihai.sain@microchip.com> References: <20240213145542.23207-1-mihai.sain@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_065615_485578_1D3AC008 X-CRM114-Status: UNSURE ( 9.16 ) 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 In order to use the sd high-speed mode, keep vqmmc at 3V3. Add vmmc-supply and vqmmc-supply properties to sdmmc nodes. Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/at91-sam9x60ek.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts index f3cbb675cea4..b19a0956dc97 100644 --- a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts @@ -560,6 +560,8 @@ &sdmmc0 { status = "okay"; cd-gpios = <&pioA 23 GPIO_ACTIVE_LOW>; disable-wp; + vmmc-supply = <&vdd1_3v3>; + vqmmc-supply = <&vdd1_3v3>; }; &sdmmc1 { @@ -568,6 +570,8 @@ &sdmmc1 { pinctrl-0 = <&pinctrl_sdmmc1_default>; no-1-8-v; non-removable; + vmmc-supply = <&vdd1_3v3>; + vqmmc-supply = <&vdd1_3v3>; status = "disabled"; /* Conflict with flx4. */ }; From patchwork Tue Feb 13 14:55:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13555216 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 ABFA5C48BC1 for ; Tue, 13 Feb 2024 14:56:37 +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=/JGVN00DDhO/LlW917cHhnxoPE/jM8nJkfnS/C3i4bQ=; b=iAVVFRg4dNy5Wd Y9FgU1RkvCH7FSY9Ahs5kj0bGGk+ij/wRCrA/auYn1OUz3ruffuC8IhwE+XueaFq/lVuQV8ynsf1T cFcDZ6mURE6Wm/YxYLw64Z4RbruYxTE/Cr/NmrSiBrZChlQPPkvsDS14l1lNiDxGReb56Suh62UQG Gop6Rx+GL+MkpoM1sbq5QGVYqhqlmfy57zb2IHeZCXIPtCnPwhVufsVZrkMVgdrIha3nvknz0Qo2S xN0OppADSakrKEC/1MFBEQ/ztPzXjlGlMqXum/P6jpgr8SchNQfIpyH+s/Uj18CM6qj0AJCf2JKp2 UWzK092SLQYJf6cTXibQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuCu-00000009c9q-3kvB; Tue, 13 Feb 2024 14:56:24 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuCl-00000009c1v-3rvE for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 14:56:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836175; x=1739372175; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vRgH65z5u2Trf6NRHmHKRRQRgHAJG82R6v9OxBg1FGc=; b=bdMc/pFpa/yWsabN0QY/QEuM5vLfWiWVHV/BauYOFQikVwu+zt8VQK/7 KIOj5tLaT70v+daIleOq/sdYqq1JqiiHX5FbiXKXCqZTjCa5L6XljtD/J 9NwxmKlvQiWqhdKJ70+8vxJ+mxkOvfqntLhFLc1gerv/C57uxupgskcs+ KrEQCpJhF/Zb+O8QsFkNH2tNHtoBWHGiQEViLU+9KS6Btm0kFpB6iEiVw VZxXPP2ohnC84IcZfI4gIbZC5w2KIEY5OAgrzPfI5upz7Ve9H5SKr7taW pU9aoJT+IhzYGXR/3RCo1bzdH4H3dRm0pIWOcraIqWWg5FzM8DKTYpX1B A==; X-CSE-ConnectionGUID: notrBuGtRbuSS13mA3DSPA== X-CSE-MsgGUID: QQI5k3uVSNeuyENq3E5j2w== X-IronPort-AV: E=Sophos;i="6.06,157,1705388400"; d="scan'208";a="17608940" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 13 Feb 2024 07:56:13 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 13 Feb 2024 07:55:59 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 13 Feb 2024 07:55:57 -0700 From: Mihai Sain To: , , , , , , , , CC: , Mihai Sain Subject: [PATCH v4 3/8] ARM: dts: microchip: sama5d27_som1_ek: Add power-supply properties for sdmmc nodes Date: Tue, 13 Feb 2024 16:55:37 +0200 Message-ID: <20240213145542.23207-4-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213145542.23207-1-mihai.sain@microchip.com> References: <20240213145542.23207-1-mihai.sain@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_065616_012053_48118AA2 X-CRM114-Status: UNSURE ( 9.50 ) 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 In order to avoid the issues from the tuning procedure required by the UHS cards, keep the vqmmc at 3V3 to use the sd high-speed mode. Add vmmc-supply and vqmmc-supply properties to sdmmc nodes. Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts index f3ffb8f01d8a..255ee0640133 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts @@ -56,6 +56,8 @@ sdmmc0: sdio-host@a0000000 { bus-width = <8>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; + vmmc-supply = <&vddin_3v3>; + vqmmc-supply = <&vddin_3v3>; status = "okay"; }; @@ -63,6 +65,8 @@ sdmmc1: sdio-host@b0000000 { bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; + vmmc-supply = <&vddin_3v3>; + vqmmc-supply = <&vddin_3v3>; status = "okay"; }; From patchwork Tue Feb 13 14:55:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13555215 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 27A22C4829A for ; Tue, 13 Feb 2024 14:56: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=9MZcFNT6ItJvJ4PrpZUqzbXDO780fyCFqHqoqMX5Y/Q=; b=hFMIgW3fO7O9Tv qRhyq61pozJtosIqs0TdBlY633KI7MRwZthIhhFphXFo0iiFbJTOTJyg5o7cicR46NiFpjELSC0Ol lqtRUsCpvPz+/FkVfaBA52oo/nVqLDL1euiT4LeLzHjm98P4Y/vQAXhi5fDvyfzzGG1lUu8uABu6K R3oj3caSk2kX3Jv6mNkQWDC+n6y1w4mXV+XqPh5ZtoooYSa2Qs/t2AHbwg383kVY25+iPMqLb6nzL jFjqvCx6Dwltdg26FovocljWWkIXgszIEAdY5JhDL2DaSlE3y7HW0x4ovVWEKzlEyYO4Nz0GZRwnM ONwZXUJlN1tIEWcf4gFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuCv-00000009cAP-41CM; Tue, 13 Feb 2024 14:56:25 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuCn-00000009c2e-0bCU for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 14:56:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836176; x=1739372176; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RjiM0JfM2KTWhltmfpEHtF5jW8QsCCN80yWxJ+GaSxU=; b=Z6XvYqDkE7KiK+bh1NWzMOl9B6l7DuZL2FjzS11dI8W6DIdt5NHrlWhH kWoApvjslUvwKAGEinYqZWmD0zEg5p8b0jNyZyvWXLkeg3TJLQd956f6l AJoyX+AJJ0crRk0NwtZVNQYmlcfi9Cvcids73CwpxxVCesgoPp/jOCOEL 71jUkDV/umt8h9QWxySODVglJ+1BZV/8q6TZu7/FQTBGWkTldDf5nAWyP FKnMsHkGcShAhbwYFdQgHy+kt2LnBfY5UY66ZMpB88O9X/u6tprOSthQ/ fFq0NHyKGTJwFio05ZL2e2riPbN8EUN0gS/BdWtUCdd01j2zNePr0c3yT Q==; X-CSE-ConnectionGUID: notrBuGtRbuSS13mA3DSPA== X-CSE-MsgGUID: 7tdOdYHBRj2WprxSrsyG9g== X-IronPort-AV: E=Sophos;i="6.06,157,1705388400"; d="scan'208";a="17608944" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 13 Feb 2024 07:56:14 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 13 Feb 2024 07:56:02 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 13 Feb 2024 07:55:59 -0700 From: Mihai Sain To: , , , , , , , , CC: , Mihai Sain Subject: [PATCH v4 4/8] ARM: dts: microchip: sama5d27_wlsom1: Add power-supply property for sdmmc1 node Date: Tue, 13 Feb 2024 16:55:38 +0200 Message-ID: <20240213145542.23207-5-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213145542.23207-1-mihai.sain@microchip.com> References: <20240213145542.23207-1-mihai.sain@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_065617_303284_EAE1CC39 X-CRM114-Status: UNSURE ( 9.17 ) 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 In order to avoid the issues from the tuning procedure required by the UHS cards, keep the vqmmc at 3V3 to use the sd high-speed mode. Add vmmc-supply and vqmmc-supply properties to sdmmc1 node. Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi index 4617805c7748..96819ea24cbd 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi +++ b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi @@ -368,6 +368,8 @@ &sdmmc1 { no-1-8-v; non-removable; bus-width = <4>; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&vdd_3v3>; status = "okay"; wilc: wifi@0 { From patchwork Tue Feb 13 14:55:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13555219 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 2C46EC4829A for ; Tue, 13 Feb 2024 14:56: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=0UIsyHcKtcRBj6tZvL5k1fHaGJ9nl8hJNgF2SV97kv4=; b=4WCV+cSBDODglX Yq18zoFL/rXdWQSzJqaQWMvAN6jZLTM7tq4X/RLFqH82UC4ByJZUvJB1kSWgTWLLDo8wbtutLv9LS 1l8gpjVjB2xdXIQmPNHNbXlNvzaPXn7EWcAAqN8ma9ZSX3fi+bbpN6TOWifNW8rwOXGPgE7QO/AY4 XbvBflO5C9wlsFzkRC69iEZDdZPW50kVyWe9XJlmkt1r4eb675DJs1GkPm7k3j1KkN0TYYTd5cWle soRfDjawUPoAIjDA5dTB38tXIfgQDNiDbPWI3yUS5ulp7ayujk/9C+IpxuKG4E2Oxird/V2C1YLBR 7lZtwv902gJe71ECzAlQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuD2-00000009cFy-2raO; Tue, 13 Feb 2024 14:56:32 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuCp-00000009c4g-0JMj for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 14:56:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836178; x=1739372178; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4GHGNBpN50CmynGXCsPvcgdJAlAH6pJHR8epQc++XaI=; b=r0WkNnOUBGlA6meObJ2sD8B1ta//7OuwCVXG5NXFcUW2wrGcKRr4A7in KV17GEiWsAj61qWuaUifkfSLsygk3ESTHevRk+k1PSQvNlBzP/m5WBlBN 0v3VAy4TKDySQplvmo6xoYIilRTaF/bYIkCIutlrvBfCoYdBRkkdtMEmt pJSUB72DWly/GiGs2MGz7zCYhyE6kJNAXKNKHQ2e0ClZZMReLOv0J5jbk jfz7fxF08yKRIgcUAVg3hjMrBS5kJTDjzxhNIgSIj1eOqQdC1y1Gre1oR 8GI/U06mqms0UfcL2RZQyniYvqUcGx4TEg+qvwOw12UddnYOMSToMKgSW Q==; X-CSE-ConnectionGUID: 1b1+m5inQImh9toRpU0rhA== X-CSE-MsgGUID: ePTa0T8jSBa+f3Q8oIUgGQ== X-IronPort-AV: E=Sophos;i="6.06,157,1705388400"; d="scan'208";a="16174935" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 13 Feb 2024 07:56:16 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 13 Feb 2024 07:56:05 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 13 Feb 2024 07:56:02 -0700 From: Mihai Sain To: , , , , , , , , CC: , Mihai Sain Subject: [PATCH v4 5/8] ARM: dts: microchip: sama5d27_wlsom1_ek: Add power-supply property for sdmmc0 node Date: Tue, 13 Feb 2024 16:55:39 +0200 Message-ID: <20240213145542.23207-6-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213145542.23207-1-mihai.sain@microchip.com> References: <20240213145542.23207-1-mihai.sain@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_065619_311884_55243A85 X-CRM114-Status: UNSURE ( 9.44 ) 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 In order to avoid the issues from the tuning procedure required by the UHS cards, keep the vqmmc at 3V3 to use the sd high-speed mode. Add vmmc-supply and vqmmc-supply properties to sdmmc0 node. Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts index 15239834d886..7b36e1970bb7 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts @@ -199,6 +199,8 @@ &sdmmc0 { bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&vdd_3v3>; status = "okay"; }; From patchwork Tue Feb 13 14:55:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13555220 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 41709C48BC1 for ; Tue, 13 Feb 2024 14:56: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=csaDZcn+HItVszDde7WQ/UpQnEgs6sOWqbI/weKXtFc=; b=TSYZ+Hf5wQGU8t M/jPP0EKn5LIA2GQauczPwXZC0ScRv+69sN400x2KeS/7mtvDQi0iVsGwFQQhxL7BFF4zCv60H2IW 2c1Q07YcAFG4T0xser3vHq/q+AA5ohaeuwFNsuzZ/gLruH7B4nqXhveKn7Q2fhrx4ACc/PqVO4QfV ZXljEKUf3rxvkfDVDfCgNopu19rvAXb80z71A5/xZlVIeVcCQiyt2Nse2sFDx3iqjL8xo6R0K33cv S8q8QpXMzdpzA96tYYifDa/wcbSsI2nnQYvLl4HHWi0J1sNOGB+NkVW4dcgb3oH6mNnBYbGA+LryI BzQXpoVDmR2uivO/hSFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuD4-00000009cHt-3fDp; Tue, 13 Feb 2024 14:56:34 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuCq-00000009c4g-39Hx for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 14:56:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836180; x=1739372180; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/Wv43IiatSBhgQeyU96qzaAXk4T1DS9aljrYWfQxzn0=; b=fylpOuxHCvwhJr7ELgF2JXyCLHS3B9kCiLRNEf3JLpM3DHmhEhvuU5ar vz+sU3EHsZPwWF47F1+Nf3oAa4XFtF7GJgYKgkU2RccAkIHKv+SrBvqIm eLBdiQR2zM9NaMT/0RE37lBu9FxNUrA3YIG5O8yh/0aSEc1PHNY69DNey Chif9Ou+0qJBY/PHvxYELEa0WBSxDm4msUK7D8l6RSu/EW6cCB1EFVaDN RI6GG8RQicYIFYhK/a5dZCIzUNKl+cUwDKh30WEftczRj6h5yaksHM3dy RN+C1KgXQCKpqA/dTOMEDKW+ZaAR3Tu50sQS+56PH1xAjb1oPrTsbLEEl Q==; X-CSE-ConnectionGUID: 1b1+m5inQImh9toRpU0rhA== X-CSE-MsgGUID: Jn5SHDitSUyOh98e+vyU4w== X-IronPort-AV: E=Sophos;i="6.06,157,1705388400"; d="scan'208";a="16174937" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 13 Feb 2024 07:56:17 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 13 Feb 2024 07:56:08 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 13 Feb 2024 07:56:05 -0700 From: Mihai Sain To: , , , , , , , , CC: , Mihai Sain Subject: [PATCH v4 6/8] ARM: dts: microchip: sama5d29_curiosity: Add power-supply properties for sdmmc nodes Date: Tue, 13 Feb 2024 16:55:40 +0200 Message-ID: <20240213145542.23207-7-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213145542.23207-1-mihai.sain@microchip.com> References: <20240213145542.23207-1-mihai.sain@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_065620_958613_788475C2 X-CRM114-Status: UNSURE ( 9.53 ) 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 In order to avoid the issues from the tuning procedure required by the UHS cards, keep the vqmmc at 3V3 to use the sd high-speed mode. Add vmmc-supply and vqmmc-supply properties to sdmmc nodes. Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts index 6b02b7bcfd49..4a86597d089a 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts @@ -504,6 +504,8 @@ &sdmmc0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; disable-wp; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&vdd_3v3>; status = "okay"; }; @@ -512,6 +514,8 @@ &sdmmc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; disable-wp; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&vdd_3v3>; status = "okay"; }; From patchwork Tue Feb 13 14:55:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13555217 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 C7091C48260 for ; Tue, 13 Feb 2024 14:56:38 +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=yZRbtPXaiudmB+IZXzZdH4hP/tbAGNjh3XRu7o1Qphs=; b=rWj2qkg4EwOuhB eX/fqxS8muAD8HMSobcq30nX/tlewoXAK2YfPvGxPqsDPpidrxgmHgZDI9v0xSTfaSKHRTQgbq3D8 S+SjywAsG6NOYW319xbU8Fb7rXf8ChtYdc9EClQvpkzM79odl9rrAIc7SuLjy5aKWzXFK61tsjuOp MVc+AJUZcZmQflqKvgj0gj9AqsPvJx+xOAu+Q2+FAG9iA6YEVceBC4mAhStW5fGMGwzoKYxI+Px/S ZQRduLX7w9OkpKEf1AZyAw6QrUJdCqX6CT/s82xdmD3SEF2dTJXBaTqSfKAWUuezUlOTQQuuv5nPM dUQRsSTvz4pLoNvPqQTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuCx-00000009cBr-1GDA; Tue, 13 Feb 2024 14:56:27 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuCn-00000009c3V-0uBU for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 14:56:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836176; x=1739372176; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DS6Q5V5bX9RLnvwPPNFcvPuCL1BwXbl3LC1Dt1jD2YI=; b=YKMoQrKVOLI0PG6yb4eik0uSFhLTrP4iI0V2w+bhYEUw3uFhnTSwp2vK KvepTZ6gFpuOHJDvaXXrMte5wJYrqT4DYViG0Pxu1KMSqqFYv1tLfvXWn ej1Ns2gDVY+2rNP8oc+cFoX19efT8pzmK3MRh6bcHxUKHu1UMn/NpA36Q xkHhNubh7RtUFzqBgyK8DqfwW1NXNNsQJxHlCB+uoQ4GIb0MFmvLv7B/c toeNF4FB1GtA5csQ1xFGitaiKWT16wr7U7DSsb9HGPfkVIDjBauG6DYKH +dOL+KfthL0Cq1VkYH+vh+8oHbkY+i9IflBaMVNLQKJ3/oaycBSBDrma8 w==; X-CSE-ConnectionGUID: notrBuGtRbuSS13mA3DSPA== X-CSE-MsgGUID: Le84sXjyS+mTzTJk3ElkIg== X-IronPort-AV: E=Sophos;i="6.06,157,1705388400"; d="scan'208";a="17608946" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 13 Feb 2024 07:56:15 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 13 Feb 2024 07:56:10 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 13 Feb 2024 07:56:08 -0700 From: Mihai Sain To: , , , , , , , , CC: , Mihai Sain Subject: [PATCH v4 7/8] ARM: dts: microchip: sama5d2_icp: Add power-supply property for sdmmc0 node Date: Tue, 13 Feb 2024 16:55:41 +0200 Message-ID: <20240213145542.23207-8-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213145542.23207-1-mihai.sain@microchip.com> References: <20240213145542.23207-1-mihai.sain@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_065617_423924_C6723AD7 X-CRM114-Status: UNSURE ( 9.43 ) 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 In order to avoid the issues from the tuning procedure required by the UHS cards, keep the vqmmc at 3V3 to use the sd high-speed mode. Add vmmc-supply and vqmmc-supply properties to sdmmc0 node. Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts b/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts index 999adeca6f33..adcb3240e5f5 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts @@ -712,6 +712,8 @@ &sdmmc0 { bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; + vmmc-supply = <&vdd_io_reg>; // 3.3V + vqmmc-supply = <&vdd_io_reg>; // 3.3V status = "okay"; }; From patchwork Tue Feb 13 14:55:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13555218 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 81E41C4829A for ; Tue, 13 Feb 2024 14:56:39 +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=yqkmnml6vMfhxieC2D5eRktcXEwsLAB8+j/fkIWPeNo=; b=wkNkaPUnF6C+Vd 9Dt9kx2WzXqZxOed/kgEEfiLKPJ3+r/n+ynqHbUk4QcmDaf+BpFH7quGSxXXilu7FVFUzBSfJd8u9 1eqvByU+nTJRR8cnBdcH9hbSEKdixpauDliu2kddW4VLna8nn2VP04mKtRHRP/DsFajGhqU2DVvn1 +LJN7vtiBqfzmiV/ZDyjKaiYObFdYcWMaESz0FOchE+5P8M46Tfq5p9XvH/hQ6WDsfIU5orBPYK5D pZvj2Tr6PsoL4dDyA4Z1nIc+K+AVoUdk5eLhMuPzzHxB18tD0PjZIVHf97wAjWPFH0977IjoITIje siaPokeu4ECq5Kio81Cg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuD0-00000009cE5-1zfz; Tue, 13 Feb 2024 14:56:30 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZuCn-00000009c1v-1Rjv for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 14:56:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836177; x=1739372177; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=h/0Y6hhs8r2cySXKaO2xRMwKwZQAS3k9mKn9rJOs92o=; b=okB6R69bueT+xYo2U6Kj/SfNUW0PPOk60KqLFU6VbYKeG5SpZDI2qnqP AxToI1PGBxApACWONLru7bAlxS1fpsXgh/dTk8J2b8xeJm0s4O5MfVImm /jQG8QrufOkA6UI7CiuGEqdEMSTvPbvO9RRhdzwmHmvrsrwcuY17jgQQG zuHPBX6/vBnosGEkoW8pGY9OsK+xsmssAH8j811hBtLyMfEQWQQscUH/J ffQzaD2k4sc0YiGQ/i6o1dbJ9VPZ+fetqlDX2qGmZp5urc7xM3KNaMH3l 39YUrBc53pckG3Sswk0JWaEA9BIW95YgxnwLl0HKgwulA3/541vnmi64r w==; X-CSE-ConnectionGUID: notrBuGtRbuSS13mA3DSPA== X-CSE-MsgGUID: +k0tQL8IRSyaBENpR/NdFQ== X-IronPort-AV: E=Sophos;i="6.06,157,1705388400"; d="scan'208";a="17608948" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 13 Feb 2024 07:56:15 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 13 Feb 2024 07:56:13 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 13 Feb 2024 07:56:11 -0700 From: Mihai Sain To: , , , , , , , , CC: , Mihai Sain Subject: [PATCH v4 8/8] ARM: dts: microchip: sama5d2_xplained: Add power-supply property for sdmmc0 node Date: Tue, 13 Feb 2024 16:55:42 +0200 Message-ID: <20240213145542.23207-9-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213145542.23207-1-mihai.sain@microchip.com> References: <20240213145542.23207-1-mihai.sain@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_065617_504240_59563279 X-CRM114-Status: UNSURE ( 9.39 ) 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 In order to avoid the issues from the tuning procedure required by the UHS cards, keep the vqmmc at 3V3 to use the sd high-speed mode. Add vmmc-supply and vqmmc-supply properties to sdmmc0 node. Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts index 6680031387e8..9b7e56790a5a 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts @@ -67,6 +67,8 @@ sdmmc0: sdio-host@a0000000 { pinctrl-0 = <&pinctrl_sdmmc0_default>; non-removable; mmc-ddr-3_3v; + vmmc-supply = <&vdd_3v3_reg>; + vqmmc-supply = <&vdd_3v3_reg>; status = "okay"; };