]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 23 May 2017 12:17:36 +0000 (14:17 +0200)
commite9256e142f597edf90c68cec22db4c4aebaa27de
treed46304bb84308db1b084819e36db02aaeadeb228
parentc477ebe21fabe0010a2ed324ce3a1762c757d867
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>
drivers/mmc/core/pwrseq_simple.c