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

Vincent Whitchurch posted 2 patches 2 years, 2 months ago
drivers/mmc/core/debugfs.c | 51 ++++++++++++++++++++++++++++++++++++++++++++--
drivers/mmc/core/mmc.c     |  7 ++++++-
2 files changed, 55 insertions(+), 3 deletions(-)
[PATCH v2 0/2] mmc: Allow speed modes to be adjusted dynamically
Posted by Vincent Whitchurch 2 years, 2 months ago
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,
-- 
Vincent Whitchurch <vincent.whitchurch@axis.com>
Re: [PATCH v2 0/2] mmc: Allow speed modes to be adjusted dynamically
Posted by Ulf Hansson 2 years, 2 months ago
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