dt-bindings: mmc: sdhci-am654: Add flag to force setting of TESTCD bit
authorAswath Govindraju <a-govindraju@ti.com>
Mon, 25 Apr 2022 06:31:19 +0000 (12:01 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 26 Apr 2022 12:05:55 +0000 (14:05 +0200)
commit7a0587496a6233b9ffa8441573d38f8844751066
treeee4e34b63b791fb1da16b9d960557c20345516c5
parentc25a7e5d18ba6e88932ef8ebcf6635cca630d032
dt-bindings: mmc: sdhci-am654: Add flag to force setting of TESTCD bit

The ARASAN MMC controller on Keystone 3 class of devices needs the SDCD
line to be connected for proper functioning. Similar to the issue pointed
out in sdhci-of-arasan.c driver, commit 3794c542641f ("mmc:
sdhci-of-arasan: Set controller to test mode when no CD bit").

In cases where SDCD line is not connected, adding
"ti,fails-without-test-cd" in the DT node helps to indicate the
controller, that the SDCD line has been pulled down, using the TESTCD bit.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Link: https://lore.kernel.org/r/20220425063120.10135-2-a-govindraju@ti.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/sdhci-am654.yaml