Commit ae0c12cc authored by Zach Brown's avatar Zach Brown Committed by Ulf Hansson

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: default avatarZach Brown <zach.brown@ni.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 0bc0b6e8
...@@ -36,6 +36,9 @@ Optional Properties: ...@@ -36,6 +36,9 @@ Optional Properties:
- #clock-cells: If specified this should be the value <0>. With this property - #clock-cells: If specified this should be the value <0>. With this property
in place we will export a clock representing the Card Clock. This clock in place we will export a clock representing the Card Clock. This clock
is expected to be consumed by our PHY. You must also specify is expected to be consumed by our PHY. You must also specify
- xlnx,fails-without-test-cd: when present, the controller doesn't work when
the CD line is not connected properly, and the line is not connected
properly. Test mode can be used to force the controller to function.
Example: Example:
sdhci@e0100000 { sdhci@e0100000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment