Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CCDBCC636C9 for ; Wed, 21 Jul 2021 07:46:44 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EF2F560FE9 for ; Wed, 21 Jul 2021 07:46:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EF2F560FE9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 793F88203D; Wed, 21 Jul 2021 09:46:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.b="hGpMjIxE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C1B8182916; Wed, 21 Jul 2021 09:46:39 +0200 (CEST) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3F99F8203D for ; Wed, 21 Jul 2021 09:46:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=prvs=1836be3ad9=patrick.delaunay@foss.st.com Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16L7h1eU008368; Wed, 21 Jul 2021 09:46:36 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=oeiqiV57U2EpByS+vYG1mXMcsuqZ8Ou13UvwoyyMWqo=; b=hGpMjIxExdDbkfLQXCqm6Q+CMaGR5kGPqr7B65HE8uso+2IcC6riq5IUgVfw7WMiFAZk 4oy70vz202iBVlFufMmFfX3QkWf35Xl2dJxm23oWLYfAN0kDYXsCBsocZgu6OsUY8YZx L+r5nOyNGhe5z2gvZvr1buwSzYrreDtopr6d6E2bgqwbBoKhJcSifLBg4NA4ewwgakFe nD/07sHwbd5gUyU3gBhqONcUoSIYyrNBgbKc8DlA5vCQUvmfzgQ4K1gbcNseLu2PQQLp fg691nPSbjCgVy1PMoAFvEr1q13fGVTniwQTZU7MbwHn2jRj16WPoaL413ONAz8R6DKr KA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 39wu03x69n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Jul 2021 09:46:36 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BB958100034; Wed, 21 Jul 2021 09:46:35 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A6F692171F3; Wed, 21 Jul 2021 09:46:35 +0200 (CEST) Received: from lmecxl0994.lme.st.com (10.75.127.48) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 21 Jul 2021 09:46:35 +0200 Subject: Re: [PATCH] ARM: dts: stm32: Fix AV96 eMMC pinmux To: Marek Vasut , CC: , Patrice Chotard References: <20210720214607.191550-1-marex@denx.de> From: Patrick DELAUNAY Message-ID: Date: Wed, 21 Jul 2021 09:46:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210720214607.191550-1-marex@denx.de> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG1NODE2.st.com (10.75.127.2) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-21_04:2021-07-21, 2021-07-21 signatures=0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Hi Marek, On 7/20/21 11:46 PM, Marek Vasut wrote: > Commit 500327e2ea7 ("ARM: dts: stm32mp1: DT alignment with Linux kernel v5.8-rc1") > renamed sdmmc2_d47_pins_b phandle to sdmmc2_d47_pins_c, but without updating > the AV96 DT which uses that phandle. Linux missed similar update as well and > it was only added in commit 1ad6e36ec266 ("ARM: dts: stm32: Fix sdmmc2 pins > on AV96") . > > Update the AV96 DT pinmux phandle, otherwise eMMC 8bit mode does not work > and access to eMMC takes a very long time to fall back to 4bit mode. > > Signed-off-by: Marek Vasut > Cc: Patrick Delaunay > Cc: Patrice Chotard > --- > arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi | 2 +- > arch/arm/dts/stm32mp15xx-dhcor-avenger96.dts | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi b/arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi > index 1ae57e18542..8b275e4950e 100644 > --- a/arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi > +++ b/arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi > @@ -57,7 +57,7 @@ > }; > }; > > -&sdmmc2_d47_pins_b { > +&sdmmc2_d47_pins_c { > u-boot,dm-spl; > pins { > u-boot,dm-spl; > diff --git a/arch/arm/dts/stm32mp15xx-dhcor-avenger96.dts b/arch/arm/dts/stm32mp15xx-dhcor-avenger96.dts > index 9b5dda318ec..0e860e5cf88 100644 > --- a/arch/arm/dts/stm32mp15xx-dhcor-avenger96.dts > +++ b/arch/arm/dts/stm32mp15xx-dhcor-avenger96.dts > @@ -152,7 +152,7 @@ > > &sdmmc2 { > pinctrl-names = "default"; > - pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_b>; > + pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_c>; > non-removable; > no-sd; > no-sdio; Reviewed-by: Patrick Delaunay And sorry for the alignment issue. Thanks Patrick