mbox series

[RFC,0/2] mmc: allow to rely on the DT to apply quirks

Message ID 20211014143031.1313783-1-Jerome.Pouiller@silabs.com (mailing list archive)
Headers show
Series mmc: allow to rely on the DT to apply quirks | expand

Message

Jérôme Pouiller Oct. 14, 2021, 2:30 p.m. UTC
From: Jérôme Pouiller <jerome.pouiller@silabs.com>

Hi Ulf,

I try to write a patch to problem discussed here[1].

This patch is not complete. Especially, it does not contains the necessary
FIXUP macro in card.h. I would like to have your comment on the concept.

[1] https://lore.kernel.org/netdev/CAPDyKFr62Kykg3=9WiXAV8UToqjw8gj4t6bbM7pGQ+iGGQRLmg@mail.gmail.com/

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

 drivers/mmc/core/card.h   |  3 ++
 drivers/mmc/core/quirks.h | 59 ++++++++++++++++++++++++++++-----------
 2 files changed, 45 insertions(+), 17 deletions(-)