Commit abe1e05d authored by Chris Ball's avatar Chris Ball

mmc: dt: Add card-detection properties to core binding.

Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 0a4585c6
...@@ -9,12 +9,17 @@ Interpreted by the OF core: ...@@ -9,12 +9,17 @@ Interpreted by the OF core:
Required properties: Required properties:
- bus-width: Number of data lines, can be <1>, <4>, or <8> - bus-width: Number of data lines, can be <1>, <4>, or <8>
Card detection:
If no property below is supplied, standard SDHCI card detect is used.
Only one of the properties in this section should be supplied:
- broken-cd: There is no card detection available; polling must be used.
- cd-gpios: Specify GPIOs for card detection, see gpio binding
- non-removable: non-removable slot (like eMMC); assume always present.
Optional properties: Optional properties:
- cd-gpios: Specify GPIOs for card detection, see gpio binding
- wp-gpios: Specify GPIOs for write protection, see gpio binding - wp-gpios: Specify GPIOs for write protection, see gpio binding
- cd-inverted: when present, polarity on the cd gpio line is inverted - cd-inverted: when present, polarity on the cd gpio line is inverted
- wp-inverted: when present, polarity on the wp gpio line is inverted - wp-inverted: when present, polarity on the wp gpio line is inverted
- non-removable: non-removable slot (like eMMC)
- max-frequency: maximum operating clock frequency - max-frequency: maximum operating clock frequency
Example: Example:
......
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