All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liming Sun <limings@nvidia.com>
To: Adrian Hunter <adrian.hunter@intel.com>,
	Ulf Hansson <ulf.hansson@linaro.org>,
	David Thompson <davthompson@nvidia.com>
Cc: Liming Sun <limings@nvidia.com>, <linux-mmc@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: [PATCH v1 0/2] eMMC RST_N support on BlueField-2 SoC
Date: Wed, 12 Jun 2024 18:52:36 -0400	[thread overview]
Message-ID: <cover.1718213918.git.limings@nvidia.com> (raw)

The dw_mmc driver supports eMMC RST_N recovery flow but doesn't work
on BlueField-2 SoC because the RST_N register is designed as secure
register. This patch series enhance the dw_mci_drv_data structure to
support platform-specific hw_reset(), then implements this function in
dw_mmc-bluefield.c to support RST_N via SMC call.

Liming Sun (2):
  dw_mmc: support platform specific hw_reset()
  dw_mmc-bluefield: add hw_reset() support

 drivers/mmc/host/dw_mmc-bluefield.c | 18 +++++++++++++++++-
 drivers/mmc/host/dw_mmc.c           |  6 ++++++
 drivers/mmc/host/dw_mmc.h           |  2 ++
 3 files changed, 25 insertions(+), 1 deletion(-)

-- 
2.30.1


             reply	other threads:[~2024-06-12 22:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-12 22:52 Liming Sun [this message]
2024-06-12 22:52 ` [PATCH v1 1/2] dw_mmc: support platform specific hw_reset() Liming Sun
2024-06-12 22:52 ` [PATCH v1 2/2] dw_mmc-bluefield: add hw_reset() support Liming Sun
2024-06-20 14:22   ` Ulf Hansson
2024-06-25 19:13     ` Liming Sun
2024-07-08 13:15       ` Ulf Hansson

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=cover.1718213918.git.limings@nvidia.com \
    --to=limings@nvidia.com \
    --cc=adrian.hunter@intel.com \
    --cc=davthompson@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.