Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp867164pxj; Thu, 27 May 2021 13:34:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwX9FEA7612lB5aHmejswBvrStScYKYe+OtP/6cz+ktHa6KBZdktCRvKLtLJd6o7lUicdvA X-Received: by 2002:a02:2a0b:: with SMTP id w11mr5320298jaw.22.1622147668254; Thu, 27 May 2021 13:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622147668; cv=none; d=google.com; s=arc-20160816; b=hluUIXguweebezAQxL2aesLPK+pLpILcdXWirl4h+XsMk6/ZBUOMPh+veMUKxfPlsO YccqMRJCqAnEq1/I6AF5nTwgXOYXqbjZq/HjAqFPftn8t0B0DapVlqeMpTQbutINCqXo GIv0R5TvS/T4waGNmjnBAjQvhd1mUXxUzwAq3/wyywD0JUXm6GbWQw9A5TeN54IaoVSA HK6bxy71q92lD16IALoszP46x9YUVdCZGyjFRTuY7bMsk9nEcWXeHvg+7TYetMQkvXrW S0nngEuBSoQRIhN5hH3Sn4YNMn1b2r4bNEeHe5WiNMHTUvJKL+L2yZImAuJ5Rq09cl+T tA5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :from:date; bh=FKNUhGdD2acRngDG5GOZ23Q0ATWUDHVpxs9Y4fmmA70=; b=cnTiNWlyXl/eIDhfK7Ygu7EhgH2pHZX/KVsRE1eEz0E0LaI4O8DaNWsAUECPDicOPX 2RqjC2Vou9OfxvZYL6Rr1SMj0tnDDWBg9FC0j68TQ3T40f7K0TZ8QJTOUC2P8ytgaCXa 8PW7e3ce3KuSZDmiqWbckzCh6L+bqLAi5AZv/SZKQD8gjZVts5d9dOLTzINK2SsY1bPT bhCdZw6LRl2pY6GIjLuS22PhOuW/NXkjUml84ZESX3dVLUi8Djf8T4LCHXhRT/ZeAYlD i5F969WEkMreMttmTeTE4KxnwvxNRIPXtuDmqdTOYCJjH3/WMYu8F7ucKMeFhEb9brS7 jT1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si3966554ill.0.2021.05.27.13.34.01; Thu, 27 May 2021 13:34:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235739AbhE0UcX (ORCPT + 99 others); Thu, 27 May 2021 16:32:23 -0400 Received: from mx01.ayax.eu ([188.137.98.110]:53964 "EHLO mx01.ayax.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235539AbhE0UcV (ORCPT ); Thu, 27 May 2021 16:32:21 -0400 X-Greylist: delayed 1861 seconds by postgrey-1.27 at vger.kernel.org; Thu, 27 May 2021 16:32:19 EDT Received: from [192.168.192.146] (port=36442 helo=nx64de-df6d00) by mx01.ayax.eu with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmMAD-0006Ov-L5; Thu, 27 May 2021 21:59:29 +0200 Date: Thu, 27 May 2021 21:59:28 +0200 From: Grzegorz Szymaszek Cc: Grzegorz Szymaszek , Ahmad Fatoum , Alexandre Torgue , Marcin =?utf-8?Q?S=C5=82oniewski?= , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH] ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 10, 2021 at 09:35:21PM +0200, Grzegorz Szymaszek wrote: > The microSD card detect pin is physically connected to the MPU pin PI3. > The Device Tree configuration of the card detect pin was wrong—it was > set to pin PB7 instead. If such configuration was used, the kernel would > hang on “Waiting for root device” when booting from a microSD card. > > Signed-off-by: Grzegorz Szymaszek > --- > arch/arm/boot/dts/stm32mp157c-odyssey.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/stm32mp157c-odyssey.dts b/arch/arm/boot/dts/stm32mp157c-odyssey.dts > index a7ffec8f1516..be1dd5e9e744 100644 > --- a/arch/arm/boot/dts/stm32mp157c-odyssey.dts > +++ b/arch/arm/boot/dts/stm32mp157c-odyssey.dts > @@ -64,7 +64,7 @@ &sdmmc1 { > pinctrl-0 = <&sdmmc1_b4_pins_a>; > pinctrl-1 = <&sdmmc1_b4_od_pins_a>; > pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; > - cd-gpios = <&gpiob 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; > + cd-gpios = <&gpioi 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; > disable-wp; > st,neg-edge; > bus-width = <4>; > -- > 2.30.2 > A gentle ping. FWIW, there was another patch that would deal with the same issue: , but it took the more radical approach of of replacing cd-gpios with broken-cd. -- Grzegorz