mmc: pwrseq_simple: Parse DTS for the power-off-delay-us property
authorUlf Hansson <ulf.hansson@linaro.org>
Sat, 6 May 2017 09:43:05 +0000 (11:43 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:17 +0000 (15:38 -0500)
commit9f15091a01cd1530999b7d907562b6975d1ba62a
tree2a3dfe07290b36da8a449f6207e0a04b78b5e224
parent7f8bae0082a2a9080feff6d3cc3d15b7a56075f4
mmc: pwrseq_simple: Parse DTS for the power-off-delay-us property

If the optional power-off-delay-us property is found, insert the
corresponding delay after asserting the GPIO during power off. This enables
a graceful shutdown sequence for some devices.

Cc: linux-mmc@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
(cherry picked from commit e9256e142f597edf90c68cec22db4c4aebaa27de)
drivers/mmc/core/pwrseq_simple.c