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=-11.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,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 54DBEC433DF for ; Wed, 14 Oct 2020 13:27:58 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C50A722201 for ; Wed, 14 Oct 2020 13:27:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Cw/rMw9s"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="ZAbExVn7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C50A722201 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Content-ID:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=izCYhGU1QH3bR5Ih5TSMFemPQQ9aRIZPmFwKI1Zkx98=; b=Cw/rMw9syBFLEAhIBXgkKN2ko Ue+7B6DhaLQIjkeXw5RF61hlyTN5dA7fEUl5SQsYJ7QNYuDfGSqpQY5U94VbkCIC+lgmQW04Vcpf0 wq4jjvik0KC9LzKXmVdNPF8QiI4sVBni3Sj4FJAN1f7teyYVvf5u93JWqtez07Uk+FRmhdoLKqRrg uQ79natSyzxxug82E9aPZf6hqa5RxjgJYUDk7CdG9lc0l5Xo6R+CRl30Hs2oMKBFEe2bPOLGXcrKv Xh9rGUmdu/3ue/ZH25WYAfQP9w2eW36qbTqC10TBb0SyHmzfTPljslBZJkioYDIq7ze8Wbgj0Ii87 m1SAZmanA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kSgnZ-0003pq-BR; Wed, 14 Oct 2020 13:26:33 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kSgnV-0003oC-Si for linux-arm-kernel@lists.infradead.org; Wed, 14 Oct 2020 13:26:31 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09EDH8ch014255; Wed, 14 Oct 2020 15:26:22 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=lviZr5mndgb1DhcV9IXIyhpaaUsdsfiUCsuP6d87wN0=; b=ZAbExVn7GfBMhBQ+8UKOmdFv87zS+BbDd2+8sxvXSIxR3NbGofB/RtqEXDNcNYiw4nvO sDXWcY9zsNo2ge5S1v9Ck4C3z9JJdNdYRB5CtGdOX2cRcNKBaGwIN2jjBc19HWCOPa7Q QP9tlP0key/QzQxtSbL25WyeS0srk78vwbBM8H6uvFEzJV9Q1uT0OqBZzXyn4B4jmMNh cGpMv+v4LoXaoQU2WUPda4RjN4K2otXbw6miGMEsge/zvWJNSA5sAYoeAluWNqnBFYXg XmbKCJ73MTfJu7Scdk1l+t+zkOyurgLS8a3yxh2K4nBSkuP6RfmT/tEN93kBX6Xdikfy /A== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 34356ee021-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Oct 2020 15:26:22 +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 31AF110002A; Wed, 14 Oct 2020 15:26:22 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 08D5A2DC5BF; Wed, 14 Oct 2020 15:26:22 +0200 (CEST) Received: from SFHDAG2NODE1.st.com (10.75.127.4) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 14 Oct 2020 15:26:21 +0200 Received: from SFHDAG2NODE1.st.com ([fe80::4413:c8c:992b:bb90]) by SFHDAG2NODE1.st.com ([fe80::4413:c8c:992b:bb90%20]) with mapi id 15.00.1473.003; Wed, 14 Oct 2020 15:26:21 +0200 From: Yann GAUTIER To: Marek Vasut , "linux-arm-kernel@lists.infradead.org" Subject: Re: [Linux-stm32] [PATCH] ARM: dts: stm32: Consistently enable internal pull-ups for SD bus Thread-Topic: [Linux-stm32] [PATCH] ARM: dts: stm32: Consistently enable internal pull-ups for SD bus Thread-Index: AQHWoi2b7WHkvVHtlkyJZn5NXXCBPw== Date: Wed, 14 Oct 2020 13:26:21 +0000 Message-ID: References: <20201009210820.243659-1-marex@denx.de> In-Reply-To: <20201009210820.243659-1-marex@denx.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.50] Content-ID: <51810C541DF4C642B5D14321E14C8CBD@st.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-10-14_07:2020-10-14, 2020-10-14 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201014_092630_727799_4C171469 X-CRM114-Status: GOOD ( 28.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "a.fatoum@pengutronix.de" , Maxime Coquelin , Patrick DELAUNAY , "linux-stm32@st-md-mailman.stormreply.com" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10/9/20 11:08 PM, Marek Vasut wrote: > The default state of SD bus and clock line is logical HI. SD card IO is > open-drain and pulls the bus lines LO. Always enable the SD bus pull ups > to guarantee this behavior. Note that on systems with bus voltage level > shifter on the SD bus, the pull ups might also be built into the level > shifter, however that should have no negative impact. > > Signed-off-by: Marek Vasut > Cc: Alexandre Torgue > Cc: Maxime Coquelin > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: linux-stm32@st-md-mailman.stormreply.com > To: linux-arm-kernel@lists.infradead.org > --- > arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi > index b2d19583450c..73d9a5b7f5ba 100644 > --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi > +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi > @@ -1291,13 +1291,13 @@ pins1 { > ; /* SDMMC1_CMD */ > slew-rate = <1>; > drive-push-pull; > - bias-disable; > + bias-pull-up; Hi Marek, This pin config is used by ST board, where we have a level shifter. This shouldn't be changed. We discussed this with Alex, and a new group should be added in this case. > }; > pins2 { > pinmux = ; /* SDMMC1_CK */ > slew-rate = <2>; > drive-push-pull; > - bias-disable; > + bias-pull-up; Same case for this one. > }; > }; > > @@ -1447,13 +1447,13 @@ pins1 { > ; /* SDMMC2_CMD */ > slew-rate = <1>; > drive-push-pull; > - bias-disable; > + bias-pull-up; This node sdmmc2_b4_pins_b should be used by ST board DK2, which has external pull-ups. So this shouldn't be changed as well. > }; > pins2 { > pinmux = ; /* SDMMC2_CK */ > slew-rate = <2>; > drive-push-pull; > - bias-disable; > + bias-pull-up; Same here. > }; > }; > > @@ -1510,7 +1510,7 @@ pins { > ; /* SDMMC2_D7 */ > slew-rate = <1>; > drive-push-pull; > - bias-disable; > + bias-pull-up; This one is also used on Linux Automation MC-1 board, Ahmad, is it OK for you? Best regards, Yann > }; > }; > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel