Linux MultiMedia Card development
 help / color / mirror / Atom feed
From: "Sverdlin, Alexander" <alexander.sverdlin@siemens.com>
To: "ulf.hansson@linaro.org" <ulf.hansson@linaro.org>,
	"adrian.hunter@intel.com" <adrian.hunter@intel.com>,
	"jm@ti.com" <jm@ti.com>,
	"josua@solid-run.com" <josua@solid-run.com>
Cc: "rabeeh@solid-run.com" <rabeeh@solid-run.com>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"jon@solid-run.com" <jon@solid-run.com>
Subject: Re: [PATCH v2] Revert "mmc: sdhci_am654: Add sdhci_am654_start_signal_voltage_switch"
Date: Wed, 19 Mar 2025 17:19:55 +0000	[thread overview]
Message-ID: <a99d2927cc385aaed018b7e5cbf2a0db709918cf.camel@siemens.com> (raw)
In-Reply-To: <3be2f0a1-65f9-4aa7-9c0b-1f4fe626be17@ti.com>

Hi Judith,

On Wed, 2025-03-19 at 11:25 -0500, Judith Mendez wrote:
> > > > This reverts commit 941a7abd4666912b84ab209396fdb54b0dae685d.
> > > > 
> > > > This commit uses presence of device-tree properties vmmc-supply and
> > > > vqmmc-supply for deciding whether to enable a quirk affecting timing of
> > > > clock and data.
> > > > The intention was to address issues observed with eMMC and SD on AM62
> > > > platforms.
> > > > 
> > > > This new quirk is however also enabled for AM64 breaking microSD access
> > > > on the SolidRun HimmingBoard-T which is supported in-tree since v6.11,
> > > > causing a regression. During boot microSD initialization now fails with
> > > > the error below:
> > > > 
> > > > [    2.008520] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
> > > > [    2.115348] mmc1: error -110 whilst initialising SD card
> > > > 
> > > > The heuristics for enabling the quirk are clearly not correct as they
> > > > break at least one but potentially many existing boards.
> > > > 
> > > > Revert the change and restore original behaviour until a more
> > > > appropriate method of selecting the quirk is derived.
> > > 
> > > 
> > > Somehow I missed these emails, apologies.
> > > 
> > > Thanks for reporting this issue Josua.
> > > 
> > > We do need this patch for am62x devices since it fixes timing issues
> > > with a variety of SD cards on those boards, but if there is a
> > > regression, too bad, patch had to be reverted.
> > > 
> > > I will look again into how to implement this quirk, I think using the
> > > voltage regulator nodes to discover if we need this quirk might not have
> > > been a good idea, based on your explanation. I believe I did test the
> > > patch on am64x SK and am64x EVM boards and saw no boot issue there,
> > > so the issue seems related to the voltage regulator nodes existing in DT
> > > (the heuristics for enabling the quirk) as you call it.
> > > 
> > > Again, thanks for reporting, will look into fixing this issue for am62x
> > > again soon.
> > 
> > does it mean, that 14afef2333af
> > ("arm64: dts: ti: k3-am62-main: Update otap/itap values") has to be reverted
> > as well, for the time being?
> 
> So sorry for the delay in response.
> 
> Does this fix: ("arm64: dts: ti: k3-am62-main: Update otap/itap values")
> cause any issues for you?
> 
> The otap/itap fix is actually setting tap settings according to the
> device datasheet since they were wrong in the first place.
> 
> The values in the datasheet are the optimal tap settings for our
> boards based off of bench characterization results. If these values
> provide issues for you, please let me know.

I've just noticed that 14afef2333af mentioned the reverted 941a7abd4666
in a way that one may think of it as a dependency:
---
    Now that we have fixed timing issues for am62x [1], lets
    change the otap/itap values back according to the device
    datasheet.
    
    [1] https://lore.kernel.org/linux-mmc/20240913185403.1339115-1-jm@ti.com/
---

that why I wanted to double check with you. But if you say they are actually
independent, that's fine for me!

-- 
Alexander Sverdlin
Siemens AG
www.siemens.com

  parent reply	other threads:[~2025-03-19 17:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-27 20:12 [PATCH v2] Revert "mmc: sdhci_am654: Add sdhci_am654_start_signal_voltage_switch" Josua Mayer
2025-02-03 14:04 ` Ulf Hansson
2025-02-05 19:39 ` Judith Mendez
2025-03-19 10:22   ` Sverdlin, Alexander
2025-03-19 16:25     ` Judith Mendez
2025-03-19 17:07       ` Judith Mendez
2025-03-19 17:19       ` Sverdlin, Alexander [this message]
2025-03-19 17:27         ` Judith Mendez

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=a99d2927cc385aaed018b7e5cbf2a0db709918cf.camel@siemens.com \
    --to=alexander.sverdlin@siemens.com \
    --cc=adrian.hunter@intel.com \
    --cc=jm@ti.com \
    --cc=jon@solid-run.com \
    --cc=josua@solid-run.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=rabeeh@solid-run.com \
    --cc=stable@vger.kernel.org \
    --cc=ulf.hansson@linaro.org \
    /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