From mboxrd@z Thu Jan 1 00:00:00 1970 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 7E0BDC54E5D for ; Tue, 19 Mar 2024 12:41:26 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ky0cibbs6+X1jmwzLVe80dbfi87bpLqOtgPAc2/bRCs=; b=TySUGDts6zCYsF HGY+4wbrTiB/nucUsVzwLXWVZtwr79GZYVOT2nBipFFd6LGvfoDThTEs/+xIFthKydPnMi598ERkR pbzt5F7oFRm65X1CjP+rKkgqX0bNggMzUQ1atSRbOi63rId8ruswD+7DEDnYIkbkBcnGqoHWQngH9 VTAJ2ToG/6XH5bG6nBTL3vIb8n+2qfY2w0O78wRbG+JXLeWQolczzJQhWx54XowDod/66/F9geXMT NYC1SjnhyZsj0A7D3xGQHCXI17pc4Ny0P8pQ7e6w3FCumOP+iovCvzd95+/Hd0UU7DPKvS/e8+sXJ FqeKUHBRSVIf0QU84XVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rmYmI-0000000CeNV-00f3; Tue, 19 Mar 2024 12:41:14 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rmYmD-0000000CeK8-0H1n for linux-arm-kernel@lists.infradead.org; Tue, 19 Mar 2024 12:41:12 +0000 Received: from francesco-nb (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 19DAF1FE22; Tue, 19 Mar 2024 13:41:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1710852061; bh=0qZGsVKIae4qmkuLNwqJ6ZjQTeE2rCbR5WVNuV1x93g=; h=From:To:Subject; b=YS75RVrQSWd1FtU2qy5WyArZ4+QuY0XtFTlKvhf1dLNjMGtsaww8yVxEo+PRa040G 30sFZixixFqk3QoE/55h8U6vR+i2Uq5u+YYGcKppYc/2fcglE3j/iwDl3nOypaaPrq pV9EBagJh39FaKs60QzKVBfStu/fHzSTYtBmjHGqlsNYehJgrlPioHfIBllGiVixFV BQSG7jKPYzc0d0KbxNWA/qjaHsE2DTt3qqCnTIIRJKw8Akw0VVdoHtTOrKXvMwMads OLjC6Va7+pap1eGCsBRC3jyv05TGx8RQTLue3vsV0FT3BoPLRA7ZbYuhmvpR8owL/V T9UOmuOoLY8sg== Date: Tue, 19 Mar 2024 13:40:56 +0100 From: Francesco Dolcini To: Nishanth Menon Cc: Francesco Dolcini , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Francesco Dolcini , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?iso-8859-1?Q?Jo=E3o_Paulo_Silva_Gon=E7alves?= Subject: Re: [PATCH v1] arm64: dts: ti: verdin-am62: use SD1 CD as GPIO Message-ID: <20240319124056.GA13970@francesco-nb> References: <20240312144956.40211-1-francesco@dolcini.it> <20240319120717.e2p65ricusxuz3wm@subatomic> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240319120717.e2p65ricusxuz3wm@subatomic> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240319_054110_089347_944A17B0 X-CRM114-Status: GOOD ( 18.44 ) 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: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Nishanth, On Tue, Mar 19, 2024 at 07:07:17AM -0500, Nishanth Menon wrote: > On 15:49-20240312, Francesco Dolcini wrote: > > From: Francesco Dolcini > > = > > TI SDHCI IP has a hardware debounce timer of 1 second as described in > > commit 7ca0f166f5b2 ("mmc: sdhci_am654: Add workaround for card detect > > debounce timer"), because of this the boot time increases of up to 1 > > second. > > = > > Workaround the issue the same way that is done on > > arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts, using the SD1 CD as > > GPIO. > > = > > Suggested-by: Nishanth Menon > > Reported-by: Jo=E3o Paulo Silva Gon=E7alves > > Closes: https://lore.kernel.org/all/0e81af80de3d55e72f79af83fa5db87f5c9= 938f8.camel@toradex.com/ > > Signed-off-by: Francesco Dolcini > > --- > > arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 12 ++++++++++-- > > 1 file changed, 10 insertions(+), 2 deletions(-) > > = > > diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi b/arch/arm64/bo= ot/dts/ti/k3-am62-verdin.dtsi > > index e8d8857ad51f..a9bf2c17f95a 100644 > > --- a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi > > +++ b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi > > @@ -1441,8 +1447,10 @@ &sdhci0 { > > /* Verdin SD_1 */ > > &sdhci1 { > > pinctrl-names =3D "default"; > > - pinctrl-0 =3D <&pinctrl_sdhci1>; > > + pinctrl-0 =3D <&pinctrl_sdhci1>, <&pinctrl_sd1_cd_gpio>; > > + cd-gpios =3D <&main_gpio1 48 GPIO_ACTIVE_LOW>; > > disable-wp; > > + ti,fails-without-test-cd; > > vmmc-supply =3D <®_sdhc1_vmmc>; > > vqmmc-supply =3D <®_sdhc1_vqmmc>; > > status =3D "disabled"; > = > Minor style comment based on recently added https://docs.kernel.org/devic= etree/bindings/dts-coding-style.html#order-of-properties-in-device-node > = > ti,fails-without-test-cd comes after vqmmc-supply and above status. Whoops, you are right, of course, thanks. I'll send a v2 once the merge window closes and rc1 is out. Francesco _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel