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: 200465 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp591272dyb; Tue, 13 Feb 2024 06:59:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVmsH5ug8jZgrBiiaXt4hjA/61DvSrrt4QnJBcx/idoOEzP2ZRDyJalNmOfSP4hpQ1I/RE3A47IeQtEl2YFLnklAXlRoQ== X-Google-Smtp-Source: AGHT+IG/If/Yx3zghwYf7LnKRoFsreBvsv1wyffyoWzAFRYZ2fwxrBaklaKYg5DIF0HLG0hPdLAX X-Received: by 2002:a17:906:9889:b0:a3d:1214:90d with SMTP id zc9-20020a170906988900b00a3d1214090dmr905312ejb.16.1707836391497; Tue, 13 Feb 2024 06:59:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707836391; cv=pass; d=google.com; s=arc-20160816; b=stM2ZHPLMfhykcl0t0CSsKA28/IG8vH2Nu/FKomERU8Zp4YpxEu+HzW43C9xJazmOx zYHqvU91uFaNM1sU/7/gRgLKdR9BKq48CNflcojnSOizDRGQPSl0Dx3d7i0TlqhmTxI1 EGRA4bIYpKy3F/DBrIMZl34WwhI4NfiNGDRaLMbBEPgpccKedVTMX2XsKa7BRPr4F1wF Nn1tadrjMEYxvwBA7XwZ1jhkqDsrvo9PbzXiDuzNmRdQ3fdzjoPBzyUl34IvVIA1Syqh Jg1Q6JQA1tFQE9V8WJ76r8c6lQ+HF0pX+cWtUs8ifr8rjYwJlvoCMQooWGU7Iz+eqA9c oxPg== 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=XmPtr5QrT1IieVYGJij61MIWZDd4W6ycAZf6QGnv7U0=; fh=3mAzu9YtHXcvOKa7YaG3Cg1Q0DcyyGe2TjuskRfQyqE=; b=GUjRRTowFTuTewyWx3BRZ+QaOxFLY1eVmgxJ78RU7gzSRweGxF0NjUmcyRuPeGKocY af3L9wv8cmLN+/DXyXXszSGDHMTer+5e4NuWmVwj1c2WnEI/FszIPrBNmhExBe/w29vn nQuoEhX70QmndYt4kLXwFgqSUldQP0RF/hN2lDTDfNwmIVnX98+tBKQLSmq351tywxpd HyOjBAzJQo6kmK5HWeCSX6uFLVP6DTPfg2wb6XfVqAHrVsiFeb8iOxeg9ikEw9DrRo0Q yj1GBy9/80PTTcZ/LFQDueRPMeGuu3N9gIjxlQSV8gkXIrGePIFmy/Ktga+dQnuJ7paG A6ew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=IWsl2jP9; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63743-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63743-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=2; AJvYcCUDJg8/xL4ywHhe2zLpzP4YUHoAteaEGfz7DYyHt9M9LX+ALCKVRH8Jnya4UpN9Cz4E3KhfYw77fviKUabEtavLAwdFRA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gg26-20020a170906e29a00b00a3d1983a12asi303176ejb.162.2024.02.13.06.59.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:59:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63743-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=IWsl2jP9; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63743-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63743-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 202DF1F2CE39 for ; Tue, 13 Feb 2024 14:59:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F9D0604CD; Tue, 13 Feb 2024 14:56:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="IWsl2jP9" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 9405760277; Tue, 13 Feb 2024 14:56:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836188; cv=none; b=DPHx1RkxgcvFAFwszoWlvJvAZ12YkEx3FNmX7hc98A5iKJlJlWq+ltbqDYErTGjeJ8+v3EjL/9gupu95IC0TGBbc1MfODHv19wucTGMt+fSIbm1VFTsC+N703/nz7+jk32qwC4GBBKyDwnwgo4EebEts1vIP/fJQ8DgPSUcaVvE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836188; c=relaxed/simple; bh=SBoDFMum0CRdYaIkaabj+IssLrqtA1j8841CTgB/0vk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Z3jboB63Z/N7F+IT1K5de/6oe4wriAQ74NJZqG9OuHyzsYvYvrxZzcqj2h5kyAHnWCzUKQw7mNtZxYxETa1eSPpMOH5mSXSxW9JcyA5kR9xduYsLdJSr6kXaO7I0jLQuFHXxTmgbIj1U17kxr2AVLcBlAa3WmZmOzEp9f+3tPVk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=IWsl2jP9; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836186; x=1739372186; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SBoDFMum0CRdYaIkaabj+IssLrqtA1j8841CTgB/0vk=; b=IWsl2jP9/xKsl26Gp547bUtksOdNm7Sbw+nBBjgld+bIdoRiaDZXHU+K FqpFOIyuZQv65EmTA/kmWXbxWtnMwX8SLmDFuChiLqi3NPenjUKlxCmgk nye3bhf97i4ZJdLyU60L9aDbLoUmBBMOK9elc7Xz5jywryP7AyihYSVLB EVfx5UuG7u4T7RmAX5NqrmLTkU2WRhIcundrg0C/FbFdRuaXD7F1GghsS lqnCxjLXaxGOoBJ+vzi6Tl0bRy/lxAP75QT6RziFr0I584nrQhpSxbQ7b ex/gxtNRMz5XG9NerdpK4IX8Le4+K/d6zlMZPQ7Ss5ocSG6TPSY58W0LA A==; 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790796252083329054 X-GMAIL-MSGID: 1790796252083329054 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: 200463 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp590782dyb; Tue, 13 Feb 2024 06:58:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW1rb1mtELiNRhY6onZH6EzQeHNFwkf1u36wFfptUmpFsvlppSoUKprLd5EixzKUojb2ldrrW2EVY0yxoKxoJ5hhcHbAQ== X-Google-Smtp-Source: AGHT+IFjxHyLyqk/4PcG8i7ntgPxI+azBTeS6QPn6sN+U3Sjmo94hoBNgl/fTgLtXvgh1jNEjlk3 X-Received: by 2002:a05:6512:3b6:b0:511:4e64:fe09 with SMTP id v22-20020a05651203b600b005114e64fe09mr5857407lfp.43.1707836336472; Tue, 13 Feb 2024 06:58:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707836336; cv=pass; d=google.com; s=arc-20160816; b=bV+FAOKsEarAfeK9HLwRyJ2/SlCvfPRU0Oh0K8hCBaTTGFSvuE9Lxjv9ySDgc4VIrb 5+u5B34mUDRS7tL26/ZH5VAu6jshKDzBfafGgLoVZmsqhcr1CKlZWPxksMjhUHKexYIX tDCwpwCcVX/yWu1ZVUVBUTU8nxPtJxxFxjn1C/VaMi+HJcCFGAjfsuQE/Ouy2njBJKBR SF2P1TfOtsFSpQjoQky4+73t9kUCI6QK0yb5x20/LQGaYk+31uL0/H+uZPLFL1g40zXM zE7TEJZiJgb2p2QJ9qUsyNd2M/nnVm3pYg2VfHrBDjSPQ3Xsrl0WrluVdq1+AaCiPMB2 ffmQ== 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=2dHmS16mkdoTGSAk1I4rIBtiKKFZyo11mX/+ExGgPyQ=; fh=Yg9Xoe9pgTRPTAOLu/EuPcaV45kuiYaU2y/ATQKbcpo=; b=JUPPCfsjXctSKh8+dbwmp+Q0OY1H3g+/9DmgPfg9whFZHVeN/0shYDIzbF3WXiqQx/ wOHZMbg6wIdmCYxZ9gu6KJoUOPaSD4P7C+NRlGtOFBOlgN5MQIRLSOvASbi+jeecDsOe PaKtLq+sX669QAv+OvfYmKnbBdgW8j9rbgYbmZAy0t1QQvIxG/gBCo5EgM7L15fFqZ9w WWgcQF5C7VwZNp6knPWIuV+Hw8+ZmvCCDNRFgavxkWo5KEp7EjO7C6GmEBqq0/oWLtk3 xmFcjrI6esuP6UF9Sj2562gKYxTJKHX7PVegapJALmC6kiXLAWx/p91dasZCYYP4Ilim ddFg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=YEXy5jrx; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63738-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63738-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=2; AJvYcCVO2Ar6JkblXYy11t0zymmI5iZ/8inJacWxCq3P6QwN5st8wpsrPoEQ5ld8Emig6hy6xSdI1pTpCQHetSLHSc6cNPN98g== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y9-20020a056402440900b00561fd5056b9si493021eda.572.2024.02.13.06.58.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:58:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63738-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=YEXy5jrx; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63738-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63738-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 18BDE1F2CCB0 for ; Tue, 13 Feb 2024 14:58:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60CBF60241; Tue, 13 Feb 2024 14:56:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="YEXy5jrx" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 385085F569; Tue, 13 Feb 2024 14:56:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836182; cv=none; b=LxcjpfrbHZhWmbIIaWuGhSlLLKkIB38V9cRhMa0WBq/SyZC6DDa0hPgDs7HKEFi4vVI4iZofi9yDFdpU+9LXdU8yJOFB4OEicdexhU9Uhjl1gzN1CxRLt5++BkJbYqtzgBiGAx7ta+hCB7cp+9RYUQrJGmW9z/sfCJOIEO03Cjo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836182; c=relaxed/simple; bh=XSrEmtCTEoZ1BvUgmXS0alF89dCeproQKiVNavB3G9M=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=uMd42pBiUTh8fTwzNZOihQqXk8sSw/1vvprjDS2L1lc0RAqU17UetcBJEdorBhktTTPCQbMcfO0dEB4po26uAS/288MAnD5gPek+aKJ0ToWNwuU7Ix5QyAtobPISVBigAocAWwOYk2wD1TOPRqCAU96Cm655ryNQ2i+0Lw2vH5M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=YEXy5jrx; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com 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=XSrEmtCTEoZ1BvUgmXS0alF89dCeproQKiVNavB3G9M=; b=YEXy5jrxhL28HsOD8XO9WAE4fp4zuigDif42X82PFFLBwV+La5cKytKl zzgKZKlgqgu/ayRCz5egJtzzt4+fRAgsk04yGjaCJP292vg4qNO4QALCl dBz81Os5yGayz6zxhtC8VtHqX86s/B6FH1wEEVyK09OXeFIyuuOjVKovn 5hrsBjUWYwfsKZEYp2ecLJzm5a5pgKiORjTc0l5kGQu5GnWBOYavdXB3E q3PuIoEXvvLyLo6g/Sosa6TeJAwGNy6RBTaqvOF6ecNGDEmhyU2wHDCv4 o3DFxG4nKR19+AD0Mz8TPOFoci8aIpZPj4hNRcPez9G4Kf/+Uf2KCPyiq A==; 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790796194289162246 X-GMAIL-MSGID: 1790796194289162246 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: 200486 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp608674dyb; Tue, 13 Feb 2024 07:21:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV2XEfoPC2to/dxx/+/hmghq41UgT0DZJ5GoiDzpp5q1GjOsQzrz6/eeESmjWQmCY20cob75zxX838bxgRKnWNSVdcFxA== X-Google-Smtp-Source: AGHT+IFQdJOQnGiOCblhApnErvSlaBCUicuniifQIRHMI7+/LjMrxDJhcprag9AAk6zz5LFrJ+1v X-Received: by 2002:a05:6a00:2fc3:b0:6e0:25d7:debc with SMTP id fn3-20020a056a002fc300b006e025d7debcmr10649594pfb.24.1707837695249; Tue, 13 Feb 2024 07:21:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707837695; cv=pass; d=google.com; s=arc-20160816; b=ci0C/vN0RrLtAaOZa4aE4uHqzuyupv6YkiTBhYvubV2v5Qw9rFR/lylc7/QJLTkP0C yz1CzL6k4vG8KjX2Os92OPFx35rGKn4U4TUu39CGb5WZ6WQwGDsGtV9kkdR9QZlxt7G0 dlIMMz6Q4955INqNCzmtxc1MDFDz4YiCFOEWs/uOHQm7NLbe9jyNGphAi5PlhZcGqofr axGFGDtE6hsRMO5Zrd242dQmPza1UV9/r35g7kLYgJuhvFtG8ROOa222LiTKtFi4FQsK 4OsaMKN6z6gWLfin+Pll6kFdMtl4DrGH/dWGE5UkRLbv/16luTjgcbrM+1z/E5hjvAHG Azag== 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=15nJSHhvAoky7Us0Kqj9guORn3UH4gGRQVpEqkcqqz4=; fh=tqwhOqkmn3//CqHEIBEokOaDQbrR5E7BA2Nv+8UaKZM=; b=I10TSRzpTRzgEpQhRUxILiGHQlAuTbJgmxOpUJ1MLjngIJ7r3lC0E+ABhVgqqjaQqV p/6MEnX7x1gkLimEIEHje+0gK6ONLPMM+B3f2QhJONwdBS/Jp3gbXqtygb1Hk4XiSaPz oct1DDkL7HMcLNrCK8cILc9Qd8ltHsL+m11QIwmGfvvBoRljsYKWmX3wS7xt3wPPG+pQ O6C7CP6vOSnvu1tKA3SFdXzQ5AtoweReW5IH4A1Nhte+8gU9ip8OVjgFqFbvM35DkoSY TzWmRsqkbTJ/yfGPv+AjgjbNYP9vWVMhH7nYh1SzFwb4eMhnf5XG8DCxuXqckAsvjHZ/ 335A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="rt/TTHHM"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63739-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63739-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=2; AJvYcCWXQssl7BL6OgogpyQqMN8c/BSth1RO3JA9TK9Wv23hX5uODDTqggDW+ElM6hK4n/478scx0V4BiZNFleAk+EbDOYgBhg== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ls53-20020a056a00743500b006dff98a5709si6792299pfb.14.2024.02.13.07.21.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 07:21:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63739-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="rt/TTHHM"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63739-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63739-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C9A1CB28D90 for ; Tue, 13 Feb 2024 14:59:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19E4560263; Tue, 13 Feb 2024 14:56:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="rt/TTHHM" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 A6DF15F847; Tue, 13 Feb 2024 14:56:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836183; cv=none; b=YWemMYz/uyq9cAx3qNm1T8J4ZzZ2p5LKiUARA7EM7hgtE69NM7JBYqhDrj8bhfQEinLlEXwXo4B4v2Xh1uO4c3vhGPcYtvA0RQR+bkChrrCvZRgQOsCV8TeE4gP22QmCiNGojrlGScWT8nMnl6ndp7OfHkpXujnqmPtVX8GF/Z0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836183; c=relaxed/simple; bh=vRgH65z5u2Trf6NRHmHKRRQRgHAJG82R6v9OxBg1FGc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ZxoGIAz6Rchlf9gwEt2MFtz0gfdlDizEs5s3+g9FHUU8SN4vlsgToCBFRKPW70w8fdOOoVBmWPToEPuyV5BmiuSeKZk8oZWBqP3kIqymTrrIw1BphTFbglDSUcUnZSUlma9QvSLk4Bxl6PHkTp0fqzncEag6yQPuAizcEtu0w1s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=rt/TTHHM; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836181; x=1739372181; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vRgH65z5u2Trf6NRHmHKRRQRgHAJG82R6v9OxBg1FGc=; b=rt/TTHHMoFVT3nmEE1bGxXarj6339h+GIY69PiLdJLaMrX9u/hMauWMF i4h7mwBW/WWCyEqEwFQtK6kjsE0MiarBTkZJOaTNby9cE2eOEFUd4pfWn uwSAqgq9dj9NiQCqBxOM+UIPksdQ4uladBLc5BvWmyAUEtoPGaPEYMjJl NVRuWST6wxjySgKnkwCojxlbuHpS5q+XUdvWCCQu6r/bwJx5MeIMqIdad Ie7tGb/PrIPtukxyjgirNSUWpGOcyAkxuv6NOXzzazBMxPpAgpz6Em6iD TOWEaKAMiX/XkrjtUhi6BlSYGdp69Juc8f8e22Rwo3qkPy56m6uD5aguK Q==; 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790797619083432411 X-GMAIL-MSGID: 1790797619083432411 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: 200487 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp609892dyb; Tue, 13 Feb 2024 07:23:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFWw72IJkMesZy4NElhqD6ilOHneF946skqz7gYN4JHOveDf0y5VG7L9MA587LXGAG88v1L X-Received: by 2002:a17:90b:890:b0:297:244:94d4 with SMTP id bj16-20020a17090b089000b00297024494d4mr6022182pjb.43.1707837813760; Tue, 13 Feb 2024 07:23:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707837813; cv=pass; d=google.com; s=arc-20160816; b=fbhmoiTfrg+JOfcieec7sF0ghtAqGwOJ0G4OYNNuuLFRJHnR/CzcVjeSfoKTBXe3WG EPOKR+2MoW2h9VIuWjHNuvDiFTl0OATfWHzR37HjZjZz4XUA4LsoMMCiPTmkGCCx67uv yBrq8fcD0sKRN9CW94RpVBp1Iw+oS7eXSU7kh7idGR5GEKsMRyeJjrqI2RMKYHzEwXWg IQCL0onrLGlLO97wAP4yhHU6/ZO26bdxzAuVYvoU/dirQO5iU0HHqChRAAGWHuftwCcj DRHO3kUzHhTPzXiHSB6sY5ONuH06CBIURp8cavta9lj8gc/sZZcPrs3x6aeOmwViIvDX vL1A== 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=CRkuB9pJE/LIz1TWsVaSn+ypxkDSMRe2JCoUmJLVOZE=; fh=Q1Qt4aawcgM9mjxygRYv+V5z2Pf0yc0GV192+l6T/lQ=; b=eDb8kLWTCs47mUiO5CSpBjoCiRsYc+mSij04IwW9DBwtNtaHUWzP964kOzl+SmqNmE xicfQhe6bxEQvvrH6FPiigMISX3KWNFaS7gwAasz/jVZLVB9xYnZ2BGAyKqlMoI5eCpk 79WTHTTqbjTRH2F0t7TE0oFif6T+vf3ArLE1k1yLL27SU061X8La2IDvLiYyMlwq/Ajh JZWfdwXVpRgailexzouppx4X+V/sYJEbpbLIkP3LdhxEV5OPfr699Uzxu3ozH60SMZqg WLVCcJvryascmr8F+JSIdb9stCJBT/gk5HZKbHQoCXMxX+9+ItdZi9CMnv+k5UjCA+jB lBFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=vDJiwtLu; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63740-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63740-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=2; AJvYcCUdo32DBvgP85xIX8NF/1J+kjXjHb5hnRzeyWSNOiOYFC4PgqjR1u1diIVral+sGpMICcLO3QNW30hS7ac3cBervSXv3Q== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s6-20020a17090a6e4600b0028e79d4c104si2198080pjm.131.2024.02.13.07.23.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 07:23:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63740-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=vDJiwtLu; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63740-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63740-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 48A0DB20FD2 for ; Tue, 13 Feb 2024 14:59:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBF30604A4; Tue, 13 Feb 2024 14:56:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="vDJiwtLu" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 D97A65F876; Tue, 13 Feb 2024 14:56:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836184; cv=none; b=hR7Mf2vka6NNyqBSSQCgX5rzsmXJIIKNpa0NLE9XqNluHsJ+E/OKehSdODqM111FmTGDHe/NaYNZvY+Sm+Ymp8iv5ITB6wP0xB8Wi0x/4xtWYBC56ltYdDXtcEnnnvwvRXUZWDJ9T4ii47ADMHg2td6fYYXVStMS0GhapMdtNvk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836184; c=relaxed/simple; bh=RjiM0JfM2KTWhltmfpEHtF5jW8QsCCN80yWxJ+GaSxU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UixqYEDGIJIJC1KVX0w3cS5jDx/GszGFgaI1aae95nB5iaKn03s/dBbrER4EQIHN3SzSeMM/xJjYcgckUcUe+tafI79aU+7tsh0yYab98Ikk7We1hNdyVrTnr96rr8eIknvosm3Rs1WJzpz0X7//Ghyklly0uvkfTZRaie8G/Sc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=vDJiwtLu; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836182; x=1739372182; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RjiM0JfM2KTWhltmfpEHtF5jW8QsCCN80yWxJ+GaSxU=; b=vDJiwtLuzF/FcbbAQ0+oreo7+gPTzLc6lVXw65RY9YsVPeSyn/t11Vot hmN5p6bYrlZvQojYB1rp3xAiYNxHvd2uwXF09n2Th3dNHhtyl++H7v+b5 /n4mz540zG8Gps1wWINJ3ZJ6q/FBlEvuiPx9edh+sT/xrv5r0rWESSLnz Fkm7JrjC4S+Xpqga3w2M0WErn3Sm2WsuBXar+XZH+rtxHDR+ZmBSc27MT HCA4P5LKDFT1LRnWOQwMTRSOwSPtpOz7kB1eIRFXu54MavuaHcEZtjKGi dpJ6QUTpMnShxNDAEzClt2cg/WJNbierNWhkxKhKfCG/KJUhOoM19CMen g==; 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790797743014225991 X-GMAIL-MSGID: 1790797743014225991 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: 200467 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp591969dyb; Tue, 13 Feb 2024 07:00:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IGIShMgMk/VvTym4sVCKexbH5RygGVATkj0EiAeEw4w479iVUiIVkOB64NlmDzNKNQgby2d X-Received: by 2002:a17:90b:1184:b0:298:b0e3:b3fc with SMTP id gk4-20020a17090b118400b00298b0e3b3fcmr1542467pjb.26.1707836439151; Tue, 13 Feb 2024 07:00:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707836439; cv=pass; d=google.com; s=arc-20160816; b=rFw9jNFb24X2AgEd1twWFB7+I2MBMMu+xRkOUPpf8k08775yIH8fh6Idk+Zlt8ivLX kyOWGeYuAymAKrog1adHzifzWLk558ZO5/AU2A4rAZX8Nr7tzR3uJl1XETHH2OIO3FS/ cYZUU1js3AgUbySs+R9f0FSyh1K4TJ/fQkjDn9PTCw6RYuMHaheb0vxD1hcP7Mwz4SzY MU4BWvDn/dLtKx3fC/IqMNPyR89TNbdZ1+NV+J2T7gs6YhFAJaN1j5or1gzqmEdve1gb 4dmmaMyAjTY9jy53ClIBV9b63rlYBbfhD4ucTcxPmNo8RGfNPPSAICSTX6SnXJL6k+2w zlcw== 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=sIJjQA04+d9Bi8MBjxWyZt9n4DiTSwcoq6K4Uj48X3Q=; fh=MyBfWQjZtXn/uOe5er0o272MYVp/9kwaXytW0cuMjcU=; b=iLG4XCBKg4fuiYDbuKsaok0UrlfNjew8nkwBlsdl5qAtEi+/K/fv/J+d/0r65n487J SmhjiB5cWoT3A/yaaZy7kdh/WGKo0RTy99zq82dRZKS9c7vt2XJjNUMoJ0u7ftqQkRw2 xUkyqxTCJNwvUZcAcuuHtVEZ0ALdca/UqxZJrufZWbu93EBSLaPYJP0Ic9dI1+HkJTOY Bd9i9HIGjt8GPSK5kSuR6D7MBpNfsaXV5tyYUzgCWZt0aUav2YmmlzZuIMcomXbvZGxU AbdQOHXsO+VpRrHypPbAR7nNIkaC0a92dGq4NGLTgHXDBsqkGird5tvy+v1E2kE1B1mZ 6efg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=r0WkNnOU; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63735-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63735-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=2; AJvYcCV47zP391hkVwaYzWyuC64tmMLjwU5KUyZkoQvGa6p0WE4W8E5sgvWIj8wXERdkpF1iKMu8NB0icBIqhR5hQhHFsZzH1Q== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c17-20020a17090a8d1100b00296e95152c9si2117556pjo.171.2024.02.13.07.00.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 07:00:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63735-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=@microchip.com header.s=mchp header.b=r0WkNnOU; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63735-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63735-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.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 C0DE028E180 for ; Tue, 13 Feb 2024 14:57:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70E6C5F863; Tue, 13 Feb 2024 14:56:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="r0WkNnOU" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 1F5865EE7C; Tue, 13 Feb 2024 14:56:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836179; cv=none; b=DzRCa1fmKp2PP9IG1RaEXMTb6qQ+a3nDKk52KbwcEvcvE8dyil4xIg/4n8M70WoZGR8RMv7tl4XtGU4Hrt+wU1zM45tzHQet4Z4IQ6qrHyYuM/gzCHJ9eheutMb3BgKcW7ac1/wFmvQdOtxZa+VFCCaYYwDxDWsyNptdxUKaRkc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836179; c=relaxed/simple; bh=4GHGNBpN50CmynGXCsPvcgdJAlAH6pJHR8epQc++XaI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=icFZqkuvGpRpNFvTA1NLwCHzT7IRuOa1QrLegRIskN3U306qd2Styv3LIFdVcYTHLxwKlPtUHMNBq+t2T2Wrool0cUG6VZ3BawzNipI+pwIZa0lPovs7hLYU+fBCWVEJIgIkGXSFND/7jQCUKrZGyaa/JrrA9GzqirJnjFYwLQI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=r0WkNnOU; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790796302190680979 X-GMAIL-MSGID: 1790796302190680979 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: 200461 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp590584dyb; Tue, 13 Feb 2024 06:58:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUCdtW+RkPZMxZDGEkWYfTCmR+gyBMjJ/a3+c90yugQRWXANKri17MrfL954ExS6hA4pgAv5cbRY32c+4/2ErttgW0u+w== X-Google-Smtp-Source: AGHT+IF79CljwHYjWIMB2AAJZl3vXgnLP5cjv3e3XXCFoCypWmP9fM2dC1RjmZwFtz4BHsQfYMd3 X-Received: by 2002:a17:906:2dd1:b0:a3d:1ab:1d58 with SMTP id h17-20020a1709062dd100b00a3d01ab1d58mr1674686eji.17.1707836309811; Tue, 13 Feb 2024 06:58:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707836309; cv=pass; d=google.com; s=arc-20160816; b=oCmnl1boWyU8ZtjAxOb+IvXnsUXtMEJdOG2Kh3ARSrORxrJpfCUif03Gl6Jv3WfICN 8KXfGG7b84CtdzDvqfSKbsCdp9ancBjsJDnMufHsQ52bzwNMfuZBX88RbC0r3AwS9UCK 1lRmbuLikdGmgxAOqM+2+Cy3M1pDlfEYlKxeZX4npLl5Z1Pd+o9ccNa6WqIAeCkG29hj Z85FZDaV9j6YHDLRm+BRFK6xJt3nrE8Kjj8FM0wk08L7/WrTrhAuHgYu/iKE2SclKRo9 BJWJsE69P2X+1Lnibu7cwZwUZEtkJf4xG2UAYaVnuuuUp+dAmaK4ALUkcBUpko/clOlg j5LQ== 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=+dMRVco7DaQQKRFU009vWs0hzBT+wRM8hD54gaqzZRU=; fh=TlT/J3biTxkBtVNUBAlRPsB+crMcrdmS0z17qFrvgis=; b=k8I9HND6Dw2E2rgOrf81OS+Hq7qbuF+RFafxbW/Hi67PRwyNgzmfMkdSY8Ns9yYj1q 57/irQVQoEQ8HX7kv9IdcfRwIRUi8K0UD/w26ndsFAsz45kir7PPdqe9gmWZkuzd8QVK sRGvZ6UMvbsBt2Ytdhq5sDURR+ELcqrGk2KAKW11ENvhdZTpYL7k7OGBJ7qJcDhGMJkF iSIaZL01afCxG8NTotKlTUqBNeEk17ZlcXWgpdM4wMdtysOIFVBgX/epbRM0Kj+f8YlN Iq+sDM3byVQX++QYyB/t7cdTWW/A5wnl8tEbBUvqsfkJiiGRaDz+G3e8nkcNnw3CRoZn eJqw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=nfJhwCAO; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63737-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63737-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=2; AJvYcCUHVfnwDzdAxsxD0Hi+mBdn2R9WOIyHnXbQMgWtT81aKYLT/iUk2v82FJrInq7U9FDfoPTu6rY/pNC+SuTsxeprpFYYfg== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ho34-20020a1709070ea200b00a37923656a4si1352269ejc.578.2024.02.13.06.58.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:58:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63737-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=nfJhwCAO; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63737-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63737-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6F20E1F2CE0B for ; Tue, 13 Feb 2024 14:58:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26A055FEE5; Tue, 13 Feb 2024 14:56:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="nfJhwCAO" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 CD1085F470; Tue, 13 Feb 2024 14:56:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836181; cv=none; b=Za8BJIpdYz2BJ+Czpogw1UFUDBXx7s7ylnYe0n/SxIXx/PKrt3rfKWIbpFGeE4g/whPBuKjxeYKAWobMFwDKCgLwINk6IpX1rll7KTvbHm3yxuLNFcmxSqju0NdOH+NssHxdpLqMr1AcjY///SRv6QotIe+z985Jbido+szB/ec= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836181; c=relaxed/simple; bh=/Wv43IiatSBhgQeyU96qzaAXk4T1DS9aljrYWfQxzn0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=C9bMdbKMfb6N0n5MgqeKEMglbpwkewJBpTIbwwqRxfc8a4kVkGk64VU0WNXdBDcNc92D7Gue2ljysSMl+US/cfUAx3nTvp8xyuPrB0dL/5mwBKv2L0jAH0ywfRtifAVrEtpuBpCG7okEzDPMaQm8l3vJPqe3CIv1Oq9U0pfSJTg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=nfJhwCAO; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836179; x=1739372179; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/Wv43IiatSBhgQeyU96qzaAXk4T1DS9aljrYWfQxzn0=; b=nfJhwCAOVT5Pr+KmqRPh5XbJhC9cUYIFwvnIn/t+9UGDPr0o1GHNabJ1 4qM19p76bBJZSfUIv7m9J0NF8iLiAiKnYE7b2jaPL1CAwq7rbAXqyfOxk 8TsKBJkNDfAlAUhw5XjDWpuIXBDHwEJtBjMR3Vm8YGKIE6kXHUdulGOCf 3DAEfaidmbSwM0GBxZPFoo1bwsUwvLm8sOgJHAF8+oSvYuJ+Q2rb+JpnR 7mjHRoQpWCJiCdcMI5mIy5+C5uAKcaQfKON9aZ05+O65FRT3hiS4iswOA qKk/AgYTb+l4ExYHCWAS0sDsSXMoSpz53AU1RlON4TUjAzurNsfARqfJD g==; 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790796166242980535 X-GMAIL-MSGID: 1790796166242980535 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: 200464 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp591095dyb; Tue, 13 Feb 2024 06:59:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWM6fAyCXmAguuJ/63kITEqvYI9OD/K31/+195dDTkBKp+VUW0Zts/LTJr41WKpqPdatZ9aqf44W4t5kxJEjDPgVc6wlQ== X-Google-Smtp-Source: AGHT+IHRbRl7XiE1pB7nsY10z+LDj2BEHkMSede6OGj0YSa6n1BSDwg9CnWj6u7vAA21/Ar+61aJ X-Received: by 2002:a05:6402:c03:b0:561:998b:878f with SMTP id co3-20020a0564020c0300b00561998b878fmr4531371edb.16.1707836373876; Tue, 13 Feb 2024 06:59:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707836373; cv=pass; d=google.com; s=arc-20160816; b=jde4GWb1nmNsxifeW5DaoiWRuQOm/tNiVnu7DjANLbLKowHNQuZ6o6KKCAWw37Zhw8 va3UZPwmdlsFlbMZoepNe/ZsqJ6EdHTkmp/mMvFTb5V++fK9YvLvJYI3aSxJU2mC5yhW 2w8RoO9Dp9p4yVAUgrwLYC8HtA1lPxCNlrKHKAlneNb64TcTjhenRj3/UKJzFfmqQ0Im 7ByE9/CLjW/vpST1lIq4BOxtXCCjDh5VXGrYlI2FbX0Pxu/pMfJbkbeKNrl8PCcgBS0G ZumO2Zs6WNU2aJ1YXRSxgNdn1Q0EV57fkTcuhx3GJP+i8Val6DapebFu1ayIJGcX5HZ+ N+OQ== 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=RCxXWcXl/jUkopuKrq8PxCnISbp2o/VcmOGSz3ZP8PY=; fh=7ql5HoZglsYU8HOLbVktGGuavmt+rhLWsrwp6pHsDA8=; b=xKiTArW8pjHp9M9/6EVB8+qe11S0tw7xK1h9NmbulYIEu4/riJ/w7JtTlUJs5dbFMx GPg6H8xToXoEJWyTGliPc9RBiHgAN2SF4RNLH7BZDsExevmL0xr8lpr1odT97YgO0lKz SQoKyJQ0cR13WYg78v1vGr2jB5MdHGs+XQKjrPsCqGX8hmF96zkqrMc1V4mz/fQzVmHD imf8l+r8A5rGqNdAiADCwwnLb7LlJGI7nt9TZYNu5y8G+swD5ZLW2LmZ6NZ94Gk7Lpo5 KnICVYyxeUhcMkjrwXoZ3N/xHV57Zc05CgLDL6/ktidavpSvkXw2o5LtPQrrj0IBuO/0 CHXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=FrwC+Nn+; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63742-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63742-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=2; AJvYcCVaoCa2kBo3w4Hj4JvPP8LgKTmW6oHj7DNmhF+neYLNHMNtMoeXBPj+itiIj4L+OYBMHnUyDjrDQZcxwKb+uA8oUmjqHw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a4-20020aa7d904000000b0056112583c05si3857986edr.592.2024.02.13.06.59.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:59:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63742-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=FrwC+Nn+; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63742-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63742-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7C3A81F2CE44 for ; Tue, 13 Feb 2024 14:59:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B844B604B7; Tue, 13 Feb 2024 14:56:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="FrwC+Nn+" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 9F3135FDC4; Tue, 13 Feb 2024 14:56:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836185; cv=none; b=qn5YL1RBm/MqfIaBPBHFRpr+lS1DpKQb0WL34WI+vy8gjhO4GoXt5jQAF8eaB2ZsGZ9DVOSTR/7RBkVTYjh4rIlnS/AqQN39nchhj9CLguQlAmGZt8Lkg5mv05Pxf7aAVqa+6w3qxUNb6Ye4h6ZpilDtNOqwSLG8ikeZaebMw+g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836185; c=relaxed/simple; bh=DS6Q5V5bX9RLnvwPPNFcvPuCL1BwXbl3LC1Dt1jD2YI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=CqZar061xwgH7Dk6QpEUElDdaIfvLj+7Np/LA8EyevZYRx4rzadW8XQ+c/A/EZxJjp5ULweDMPZkiI69sixp60Lq7Sfl5lN1vI5PiFpeJp8siwcJG07skl+pr6EIVOBPJ2ljy07dAe4s7+YLDF7aTPlHY8eVVYqnkj/kMfr/Qqg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=FrwC+Nn+; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836183; x=1739372183; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DS6Q5V5bX9RLnvwPPNFcvPuCL1BwXbl3LC1Dt1jD2YI=; b=FrwC+Nn+O0Jik7Z/+50Qx9fBcPxcp7Ik2tzQSXnTpS8+Sw/esX9W1BNK WxiTe81LEBrZUpgrkShfSg8kCttyXDh1M3dNolenGjuiFnJLh7VIYNM19 WeJPx5aSf89sOodQbIO3kmlRl/+G5rnw/j3lyOU+BA5mzsm7c51eJwdx8 DMj74obuUak3wkBpAclWmYA2HRzv+VJePTszYVB+xmecLr3xNzSK0lUej WBHw0I/CsQuQMYlYLZbkmqzfiWJqXW7PjPJrrPwrnaMUg1UThrRRuj5hk bf/22u4b6B9VZIuiG9BsQ0mUMai9xm6Q9+RlPQcgIatAXtcid1la4vCIF Q==; 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790796233563028247 X-GMAIL-MSGID: 1790796233563028247 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: 200466 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp591360dyb; Tue, 13 Feb 2024 06:59:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVEMIfhZ8p5qE2pOt01WHWw8yV/wyJa+p77QTlpc803d+lUFSwYlN/hp8t2Bx4r6l7oQzbmk2XtNVd3YsGQpD9rKlIO2A== X-Google-Smtp-Source: AGHT+IHLrVRUloIzuajmD/I9wGdC6PYl9H3Lv8MlgkiiUWaJJnf1SNqoQL2PUHFa/8CQizgvt6Eb X-Received: by 2002:a05:690c:2c82:b0:604:e7ed:221b with SMTP id ep2-20020a05690c2c8200b00604e7ed221bmr7773658ywb.13.1707836398900; Tue, 13 Feb 2024 06:59:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707836398; cv=pass; d=google.com; s=arc-20160816; b=d+WA2aG4nGVqYqbo+qjq7mXhLs3Ccv3xkS7hG2kl1or+rr+u3gMDsLff47weSq6wM/ JJVV4bYX1WY5g5smb3KStLJscTczvETZc/1zFeCEh5PF98XvX1ZCHPW38OsZsNDuMrha hAOSO2ORRkpnjs+sLmnzKY5xT8cVxWjxrLVKs5Lb69H6rMiuZSIXiFb0Wy8z4BhwWKCM lqBvRl/2utL+R5K796du2yM3J1pi493PfQDVWTpZhE7HkXkzG7Z693tB+eReLfutC6ND WMFNN6hk0femQcRMcEWrCSqvq1HXypsc/IXRyvTUuPxvu4bWRKyDX7kunfKwCWtCIOXm Q0qA== 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=WHeQqkQxq4Uj5fFuo7t2ZQtDkIphDCRD+qNJxqCpKnY=; fh=zJw+/7afASoqx7AW9l23z1QqGwQF18dXZsMy4vczr2k=; b=lbG/fZ/dpfwKPsCyHhh8uZ5EtbQmF69Meq9GxaVrV69oidRRTGA3qAO0DR5t3fuNaR nTgTBsUzYupK5CuNq3Se1owOQr03nIFU1Zir+H5wXUL1rjhbLWxxMx0Kv8sHvWxz8jwX 81yY/8+okzO8/sfwRDTgmhsMfIzQEkK9GnCLmq9Ibf61y+iuFs0ufTjjl4gb+0lESblb zNjN9gCHcEqJ5uZk7bHw2F3tXS15htk8k8yZl4MkWK8TpwHIBBb6n6b7al8T7rjhBYBb uwbu3WT8+xh1c/k8VJnx+gJznTw70hFPOXwQLIbrdjpGCtz6KRWvLUYTsN2W1R+OAXQG DYQA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=WOfX8vgp; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63741-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63741-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=2; AJvYcCVqmeZnozQyTTncDrI/AZR1Tt9gjEjH8aoE9CyfaVRlWyyyr4wqcobA3BGidhfyRJ7nyKy0ky2OZOmcObfnSqlMWzqU5g== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z23-20020ac875d7000000b0042c4d1e2a60si2880626qtq.286.2024.02.13.06.59.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:59:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63741-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=WOfX8vgp; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-63741-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63741-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D22631C27DDB for ; Tue, 13 Feb 2024 14:59:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E9B0604B8; Tue, 13 Feb 2024 14:56:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="WOfX8vgp" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 8E93F5FBA0; Tue, 13 Feb 2024 14:56:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836185; cv=none; b=U6IUzb+S/13AEHF/4fyWIrfT3vkSkeuCF4Aq5P8FYvsuYdIDCGKt328NC4KRayvORX6JrrRXaAdzqeJ4yGh+xmsAWOwBK3vvbG+Y1KVCLEhEHil6+b0QLKbXG/fR8oZxExtKl1FhOXN7Z0CYDF0lH3lXgwOQz/1sOAEeVP2a4qM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707836185; c=relaxed/simple; bh=h/0Y6hhs8r2cySXKaO2xRMwKwZQAS3k9mKn9rJOs92o=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BTjW1HizLtF+5Z/qv7XnE1505VCZYpxJaFErrKk1YVt7ct8GdLl+AHUbGE8QZAEgyELpDt6IgluOAt2A3HiOI/Dc9IrtmbMCRC0d2191ZnFmu6ndmITvvErp3SggcN3Rt0ZLSRjxyy8WJwlKAhB1A6FbpkTtnc9vlQButEj5oPQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=WOfX8vgp; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707836183; x=1739372183; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=h/0Y6hhs8r2cySXKaO2xRMwKwZQAS3k9mKn9rJOs92o=; b=WOfX8vgpacC1dUWV//ZOhoUAvmfJb0Vd/5R7ruUXCOEDeWixSNdPatrX mHixht3fHntHMRtVaA76LdXYonW2WShFSYOUhXPM/oJnANAPqUz/f6DiK grm5MkZDDGQF9vLAz7lXN1Rv6UIpQVEFKXBuVhggMeJDvvovD4gJfYRAq 8/vKt+Xl8jVYKqXyG864lheEJNLdvD+cK6aLz/lC2tZmm/X0KFzKAAYJ7 BMXYzS2uQnty8+lTmxvujzqo7dwgTcjTxKMCcLSN1ox6cmGt7tLKoKri/ kP+uOSSqNu0RZW4FkIMs8UOJpJRT9jfReh1c6LDTGPCiMUBun4++z5IZk Q==; 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790796259668379697 X-GMAIL-MSGID: 1790796259668379697 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"; };