mbox series

[v2,0/2] mmc: Allow speed modes to be adjusted dynamically

Message ID 20230929-mmc-caps-v2-0-11a4c2d94f15@axis.com (mailing list archive)
Headers show
Series mmc: Allow speed modes to be adjusted dynamically | expand

Message

Vincent Whitchurch Sept. 29, 2023, 7:45 a.m. UTC
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@axis.com/

---
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,

Comments

Ulf Hansson Oct. 10, 2023, 2:27 p.m. UTC | #1
On Fri, 29 Sept 2023 at 09:45, Vincent Whitchurch
<vincent.whitchurch@axis.com> wrote:
>
> 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@axis.com/
>
> ---
> 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(-)
> ---

Applied for next, thanks!

Kind regards
Uffe