During board verification, there is a need to test the various supported eMMC/SD speed modes. However, since the framework chooses the best mode supported by the card and the host controller's caps, this currently necessitates changing the devicetree for every iteration. This series provides a way to adjust speed modes dynamically via debugfs. -- Changes in v2: - Replace module parameter with a debugfs file. - Add patch to move mmc_select_card_type(). - Link to v1: https://lore.kernel.org/r/20220623080009.1775574-1-vincent.whitchurch@xxxxxxxx/ --- Vincent Whitchurch (2): mmc: core: Always reselect card type mmc: debugfs: Allow host caps to be modified drivers/mmc/core/debugfs.c | 51 ++++++++++++++++++++++++++++++++++++++++++++-- drivers/mmc/core/mmc.c | 7 ++++++- 2 files changed, 55 insertions(+), 3 deletions(-) --- base-commit: 6465e260f48790807eef06b583b38ca9789b6072 change-id: 20230928-mmc-caps-2cc7c3295b2a Best regards, -- Vincent Whitchurch <vincent.whitchurch@xxxxxxxx>