diff options
author | Chris Ball <cjb@laptop.org> | 2012-08-22 13:21:01 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-09-04 13:58:26 -0400 |
commit | abe1e05da365350ac282ba5f6831aae13d97074e (patch) | |
tree | f1c57aaadeb9a761b250cdb185c78b4c90d38904 | |
parent | 0a4585c634534ca5a6d5e60b4d2850b4efedc85e (diff) |
mmc: dt: Add card-detection properties to core binding.
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r-- | Documentation/devicetree/bindings/mmc/mmc.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/mmc/mmc.txt b/Documentation/devicetree/bindings/mmc/mmc.txt index 8a6811f4a02f..8e2e0ba2f486 100644 --- a/Documentation/devicetree/bindings/mmc/mmc.txt +++ b/Documentation/devicetree/bindings/mmc/mmc.txt | |||
@@ -9,12 +9,17 @@ Interpreted by the OF core: | |||
9 | Required properties: | 9 | Required properties: |
10 | - bus-width: Number of data lines, can be <1>, <4>, or <8> | 10 | - bus-width: Number of data lines, can be <1>, <4>, or <8> |
11 | 11 | ||
12 | Card detection: | ||
13 | If no property below is supplied, standard SDHCI card detect is used. | ||
14 | Only one of the properties in this section should be supplied: | ||
15 | - broken-cd: There is no card detection available; polling must be used. | ||
16 | - cd-gpios: Specify GPIOs for card detection, see gpio binding | ||
17 | - non-removable: non-removable slot (like eMMC); assume always present. | ||
18 | |||
12 | Optional properties: | 19 | Optional properties: |
13 | - cd-gpios: Specify GPIOs for card detection, see gpio binding | ||
14 | - wp-gpios: Specify GPIOs for write protection, see gpio binding | 20 | - wp-gpios: Specify GPIOs for write protection, see gpio binding |
15 | - cd-inverted: when present, polarity on the cd gpio line is inverted | 21 | - cd-inverted: when present, polarity on the cd gpio line is inverted |
16 | - wp-inverted: when present, polarity on the wp gpio line is inverted | 22 | - wp-inverted: when present, polarity on the wp gpio line is inverted |
17 | - non-removable: non-removable slot (like eMMC) | ||
18 | - max-frequency: maximum operating clock frequency | 23 | - max-frequency: maximum operating clock frequency |
19 | 24 | ||
20 | Example: | 25 | Example: |