summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx6ull-phytec-phycore-som.dtsi
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2020-02-26 13:44:34 +0530
committerPeng Fan <peng.fan@nxp.com>2020-03-09 08:33:16 +0800
commita85121392015e30bd12302ea2986b7ca662d198d (patch)
tree167dd48c999a37c6468712fe6b31291e142704e6 /arch/arm/dts/imx6ull-phytec-phycore-som.dtsi
parentc7d106b4eb3fef78cd05a51b3b6950f152d93c06 (diff)
mmc: am654_sdhci: Implement workaround for card detect
The 4 bit MMC controllers have an internal debounce for the SDCD line with a debounce delay of 1 second. Therefore, after clocks to the IP are enabled, software has to wait for this time before it can power on the controller. Add a deferred_probe() callback which polls on sdcd for a maximum of 2 seconds before switching on power to the controller or (in the case of no card) returning a ENOMEDIUM. This pushes the 1 second wait time to when the card is actually needed rather than at every probe() making sure that users who don't insert an SD card in the slot don't have to wait such a long time. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/dts/imx6ull-phytec-phycore-som.dtsi')
0 files changed, 0 insertions, 0 deletions