dt: sdhci-of-arasan: Add device tree option xlnx, fails-without-test-cd
authorZach Brown <zach.brown@ni.com>
Fri, 16 Sep 2016 15:01:41 +0000 (10:01 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Sep 2016 19:31:33 +0000 (21:31 +0200)
commitae0c12cc4e4b0405ffd48368f742ba0d5a01f7f1
tree5cffe11d27ac2bee65323d018957d5206865a887
parent0bc0b6e86524526c92a9409faea79d53db8e7e6e
dt: sdhci-of-arasan: Add device tree option xlnx, fails-without-test-cd

The sdhci controller on xilinx zynq devices will not function unless
the CD bit is provided. http://www.xilinx.com/support/answers/61064.html
In cases where it is impossible to provide the CD bit in hardware,
setting the controller to test mode and then setting inserted to true
will get the controller to function without the CD bit.

The device property "xlnx,fails-without-test-cd" will let the arasan
driver know the controller does not have the CD line wired and that the
controller does not function without it.

Signed-off-by: Zach Brown <zach.brown@ni.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/arasan,sdhci.txt