summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2020-08-25 22:30:15 +0530
committerUlf Hansson <ulf.hansson@linaro.org>2020-09-07 09:11:30 +0200
commit7ca0f166f5b211f89fde9cf02357403e6f9715bc (patch)
tree08e8a047e05596e9f7f49e686fd7aa6bb4bcae3f /tools/perf/scripts/python/exported-sql-viewer.py
parentd425e42d600849ed81bca4e407a09f2555405ec7 (diff)
mmc: sdhci_am654: Add workaround for card detect debounce timer
There is a one time delay because of a card detect debounce timer in the controller IP. This timer runs as soon as power is applied to the module regardless of whether a card is present or not and any writes to SDHCI_POWER_ON will return 0 before it expires. This timeout has been measured to be about 1 second in am654x and j721e. Write-and-read-back in a loop on SDHCI_POWER_ON for a maximum of 1.5 seconds to make sure that the controller actually powers on. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Link: https://lore.kernel.org/r/20200825170015.32285-1-faiz_abbas@ti.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions