diff options
| author | Luke Wang <ziniu.wang_1@nxp.com> | 2025-05-21 10:55:01 +0800 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2025-06-24 12:43:22 +0200 |
| commit | 45310531a3e0f5e7467691c5800918068f337775 (patch) | |
| tree | bf9651a14f40925928ed40c556ac6be81c3f739a /tools/perf/scripts/python/stackcollapse.py | |
| parent | mmc: sdhci-esdhc-imx: Don't change pinctrl in suspend if wakeup source (diff) | |
| download | linux-45310531a3e0f5e7467691c5800918068f337775.tar.gz linux-45310531a3e0f5e7467691c5800918068f337775.zip | |
mmc: sdhci-esdhc-imx: refactor clock loopback selection logic
i.MX reference manual specifies that internal clock loopback should be
used for SDR104/HS200/HS400 modes. Move ESDHC_MIX_CTRL_FBCLK_SEL
configuration into the timing selection function to:
1. Explicitly set internal loopback path for SDR104/HS200/HS400 modes
2. Avoid redundant bit manipulation across multiple functions
Preserve ESDHC_MIX_CTRL_FBCLK_SEL during system resume for SDIO devices
with MMC_PM_KEEP_POWER and MMC_PM_WAKE_SDIO_IRQ flag, as the controller
might lose register state during suspend while skipping card
re-initialization.
Signed-off-by: Luke Wang <ziniu.wang_1@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20250521025502.112030-1-ziniu.wang_1@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
