Skip to content

mmc: core: extend mmc_fixup_device and transplant ti,wl1251 quirks from to be retired omap_hsmmc

H. Nikolaus Schaller linux-mmc linux-omap lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 5 repliesIn review
  2. v15 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mmc: core: rewrite mmc_fixup_device()drivers/mmc/core/quirks.h+24 -170 replies
2/6mmc: core: allow to match the device tree to apply quirksdrivers/mmc/core/card.h drivers/mmc/core/quirks.h+20 -00 replies
3/6mmc: core: provide macro and table to match the device tree to apply quirksdrivers/mmc/core/card.h drivers/mmc/core/quirks.h drivers/mmc/core/sdio.c+20 -00 replies
4/6mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIOdrivers/mmc/core/sdio.c+3 -12 replies
5/6mmc: core: transplant ti,wl1251 quirks from to be retired omap_hsmmcdrivers/mmc/core/card.h drivers/mmc/core/quirks.h+20 -00 replies
6/6mmc: host: omap_hsmmc: revert special init for wl1251drivers/mmc/host/omap_hsmmc.c+0 -360 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] mmc: core: extend mmc_fixup_device and transplant ti,wl1251 quirks from to be retired omap_hsmmc

PATCH V2 2021-11-10 18:17:11:
* remove setting card->ocr = 0x80 because it is no longer needed (by H. Nikolaus Schaller <[email protected]>)
* include patch "mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO" by Ulf Hansson <[email protected]>

PATCH V1 2021-11-09 11:59:08:
* merge call of mmc_fixup_device for sdio into other commit (suggested by Ulf Hansson <[email protected]>)
* do not call mmc_fixup_device(card, sdio_card_init_methods) for mmc and sd interfaces, just sdio (suggested by Ulf Hansson <[email protected]>)
* do not use a matching list but a single string constant (suggested by Ulf Hansson <[email protected]>)
* switched to "[PATCH v1]" (suggested by Ulf Hansson <[email protected]>)

RFC V4 2021-11-05 10:05:51:
* remove const from char *const * (Ulf Hansson <[email protected]>)
* use for_each_child_of_node() to scan compatible children (Ulf Hansson <[email protected]>) (see: https://lore.kernel.org/lkml/CAPDyKFpr0kpRXoUACNNSwe8pL1S9wJPjnX+GFGS1PNezKCDYzQ@mail.gmail.com/)

RFC V3 2021-11-03 14:00:13:
* patches have been split into smaller ones a little further
* propose a new macro for setup of device tree compatible quirks
* directly include patches by [email protected] in this series

RFC V2 2021-11-01 10:24:26:
* reworked to not misuse mmc_select_card() but add a call to mmc_fixup_device() right after where host->ops->init_card
was called before to apply the wl1251 specific quirks.
Device tree matching is done by a new table passed to mmc_fixup_device(). suggested by: [email protected]
based on patches by: [email protected]

RFC V1 2021-10-06 13:24:13:

H. Nikolaus Schaller (3):
mmc: core: provide macro and table to match the device tree to apply
quirks
mmc: core: transplant ti,wl1251 quirks from to be retired omap_hsmmc
mmc: host: omap_hsmmc: revert special init for wl1251

Jérôme Pouiller (2):
mmc: core: rewrite mmc_fixup_device()
mmc: core: allow to match the device tree to apply quirks

Ulf Hansson (1):
mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO

 drivers/mmc/core/card.h       | 36 ++++++++++++++++++++
 drivers/mmc/core/quirks.h     | 64 +++++++++++++++++++++++++----------
 drivers/mmc/core/sdio.c       |  5 ++-
 drivers/mmc/host/omap_hsmmc.c | 36 --------------------
 4 files changed, 87 insertions(+), 54 deletions(-)
Signature · 1 line
2.33.0