mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ricky Wu <ricky_wu@realtek.com>
To: <ricky_wu@realtek.com>, <ulf.hansson@linaro.org>,
	<linux-mmc@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<ricardo@marliere.net>, <gregkh@linuxfoundation.org>,
	<arnd@arndb.de>
Subject: [PATCH 0/4] Add support SDUC for Realtek card readers
Date: Fri, 19 Jul 2024 13:33:10 +0800	[thread overview]
Message-ID: <20240719053314.1636649-1-ricky_wu@realtek.com> (raw)

Summary:
this patch is for mmc to support SDUC(Secure Digital Ultra Capacity)
and add Realtek Cardreaders to support it 

About SDUC:
SDUC is defined in SD7.0 spec, it support the max capacity is 128TB[1]

Roughly implemented functions by this patch:
1.Mutual identification of SDUC in ACMD41 initialization (5.2.1[2])
2.SDUC card user area capacity calculation (5.2.2[2])
3.Memory read/write commands sequence (5.2.3[2])
4.Erase Commands Sequence (5.2.4[2])

patches:
patch#1: Defined functions and modified some type of parameter
patch#2: For mmc to support SDUC
patch#3: Add Realtek sdmmc host to support SDUC
patch#4: Add Realtek card readers to support SDUC 

Reference:
[1] SD Specifications Part 1 Physical Layer Specification Version 7.00
[2] SD Specifications SDUC Host Implementation Guideline Version 1.00

Ricky Wu(4):
 mmc: core: some definitions and type modifications for SDUC
 mmc: core: add SDUC init rw erase flow to mmc
 mmc: rtsx: make Realtek sdmmc to support SDUC
 misc: rtsx: add Realtek card readers to support SDUC

 drivers/misc/cardreader/rts5227.c |  1 +
 drivers/misc/cardreader/rts5228.c |  1 +
 drivers/misc/cardreader/rts5249.c |  1 +
 drivers/misc/cardreader/rts5260.c |  1 +
 drivers/misc/cardreader/rts5261.c |  1 +
 drivers/misc/cardreader/rts5264.c |  2 +-
 drivers/mmc/core/block.c          | 13 +++++++--
 drivers/mmc/core/bus.c            |  4 ++-
 drivers/mmc/core/card.h           |  3 ++
 drivers/mmc/core/core.c           | 38 +++++++++++++++++--------
 drivers/mmc/core/core.h           |  6 ++--
 drivers/mmc/core/host.h           |  5 ++++
 drivers/mmc/core/queue.h          |  1 +
 drivers/mmc/core/sd.c             | 47 +++++++++++++++++++++++++++++++
 drivers/mmc/host/rtsx_pci_sdmmc.c |  6 ++++
 include/linux/mmc/card.h          |  2 +-
 include/linux/mmc/core.h          |  1 +
 include/linux/mmc/host.h          |  1 +
 include/linux/mmc/sd.h            |  5 ++++
 include/linux/rtsx_pci.h          |  1 +
 20 files changed, 121 insertions(+), 19 deletions(-)


-- 
2.25.1

             reply	other threads:[~2024-07-19  5:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-19  5:33 Ricky Wu [this message]
2024-07-19  5:33 ` [PATCH 1/4] mmc: core: some definitions and type modifications for SDUC Ricky Wu
2024-07-19  5:33 ` [PATCH 2/4] mmc: core: add SDUC init rw erase flow to mmc Ricky Wu
2024-07-19  5:33 ` [PATCH 3/4] mmc: rtsx: make Realtek sdmmc to support SDUC Ricky Wu
2024-07-19  5:33 ` [PATCH 4/4] misc: rtsx: add Realtek card readers " Ricky Wu
2024-07-26  6:13 ` [PATCH 0/4] Add support SDUC for Realtek card readers Avri Altman
2024-07-26 13:15   ` Ricky WU

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=20240719053314.1636649-1-ricky_wu@realtek.com \
    --to=ricky_wu@realtek.com \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ricardo@marliere.net \
    --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

all inboxes | Powered by JetHome®