diff options
| author | Judith Mendez <jm@ti.com> | 2026-08-06 11:22:02 -0500 |
|---|---|---|
| committer | Ulf Hansson <ulfh@kernel.org> | 2026-09-04 10:53:13 +0200 |
| commit | 3c6f98b6e64e565ec548c63e32e58af2af2c1811 (patch) | |
| tree | b2b68fc44d292276e99ae45e8e0637cc3998a804 /include/linux/mmc | |
| parent | 555bb7b7c1497accc0894423220f772f006a9584 (diff) | |
mmc: core: Add power-off-delay-us support
Add support for power-off-delay-us which shall be used to specify
value of delay after deasserting power during MMC power cycles.
Default for delay is 1000us but custom delay can be passed in to work
around hardware issues such as slow RC discharge on MMC VDD rails.
Signed-off-by: Judith Mendez <jm@ti.com>
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'include/linux/mmc')
| -rw-r--r-- | include/linux/mmc/host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index ba84f02c2a10..714417466707 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -23,6 +23,7 @@ struct mmc_ios { unsigned int clock; /* clock rate */ unsigned short vdd; unsigned int power_delay_ms; /* waiting for stable power */ + unsigned int power_off_delay_us; /* waiting for power discharge */ /* vdd stores the bit number of the selected voltage range from below. */ |
