linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: Yann GAUTIER <yann.gautier@st.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Cc: Alexandre TORGUE <alexandre.torgue@st.com>,
	"a.fatoum@pengutronix.de" <a.fatoum@pengutronix.de>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Patrick DELAUNAY <patrick.delaunay@st.com>,
	"linux-stm32@st-md-mailman.stormreply.com"
	<linux-stm32@st-md-mailman.stormreply.com>
Subject: Re: [Linux-stm32] [PATCH] ARM: dts: stm32: Consistently enable internal pull-ups for SD bus
Date: Wed, 14 Oct 2020 16:55:41 +0200	[thread overview]
Message-ID: <808c1e29-a96f-f3f4-7e5d-7ba2dfed4142@denx.de> (raw)
In-Reply-To: <99663cc5-f897-8233-518b-1a485a2e15b6@st.com>

On 10/14/20 4:52 PM, Yann GAUTIER wrote:
> 
> 
> On 10/14/20 3:30 PM, Marek Vasut wrote:
>> On 10/14/20 3:26 PM, Yann GAUTIER wrote:
>> [...]
>>>> 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 {
>>>>    				 <STM32_PINMUX('D', 2, AF12)>; /* SDMMC1_CMD */
>>>>    			slew-rate = <1>;
>>>>    			drive-push-pull;
>>>> -			bias-disable;
>>>> +			bias-pull-up;
>>> Hi Marek,
>>
>> Hi,
>>
>>> 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.
>>
>> Is it a problem if we enable the pulls up unconditionally with the level
>> shifter present, to make the properties of the SD bus consistent ?
>>
> The risk of having 2 parallel pull-ups is that the resulting value could 
> be below the lower acceptable value for SD. I'll check if that can occur.

That's a good idea, thank you!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2020-10-14 14:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-09 21:08 [PATCH] ARM: dts: stm32: Consistently enable internal pull-ups for SD bus Marek Vasut
2020-10-14 13:26 ` [Linux-stm32] " Yann GAUTIER
2020-10-14 13:30   ` Marek Vasut
2020-10-14 14:52     ` Yann GAUTIER
2020-10-14 14:55       ` Marek Vasut [this message]
2020-10-15 12:44   ` Ahmad Fatoum
2020-10-15 12:52     ` Marek Vasut
2020-10-15 13:18       ` Ahmad Fatoum
2020-10-15 13:40         ` Marek Vasut
2020-10-15 13:47           ` Ahmad Fatoum
2020-10-15 15:51             ` Alexandre Torgue
2020-10-15 17:43               ` Marek Vasut
2020-10-16  6:19               ` Ahmad Fatoum
2020-10-16 11:02                 ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=808c1e29-a96f-f3f4-7e5d-7ba2dfed4142@denx.de \
    --to=marex@denx.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=alexandre.torgue@st.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=patrick.delaunay@st.com \
    --cc=yann.gautier@st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).