diff options
author | Esben Haabendal <eha@doredevelopment.dk> | 2011-03-07 22:45:28 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-03-07 22:45:28 -0500 |
commit | 290293eda2c6dd368476d71433bdef07c39a6829 (patch) | |
tree | 3bc7815356d324774f85526ea18586e37146bb38 /Documentation | |
parent | adef658ddf71e709eb1bdc181b86c62b933b967b (diff) |
of_mmc_spi: add card detect irq support
Signed-off-by: Esben Haabendal <eha@doredevelopment.dk>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/powerpc/dts-bindings/mmc-spi-slot.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/powerpc/dts-bindings/mmc-spi-slot.txt b/Documentation/powerpc/dts-bindings/mmc-spi-slot.txt index c39ac2891951..89a0084df2f7 100644 --- a/Documentation/powerpc/dts-bindings/mmc-spi-slot.txt +++ b/Documentation/powerpc/dts-bindings/mmc-spi-slot.txt | |||
@@ -7,8 +7,13 @@ Required properties: | |||
7 | - voltage-ranges : two cells are required, first cell specifies minimum | 7 | - voltage-ranges : two cells are required, first cell specifies minimum |
8 | slot voltage (mV), second cell specifies maximum slot voltage (mV). | 8 | slot voltage (mV), second cell specifies maximum slot voltage (mV). |
9 | Several ranges could be specified. | 9 | Several ranges could be specified. |
10 | - gpios : (optional) may specify GPIOs in this order: Card-Detect GPIO, | 10 | |
11 | Optional properties: | ||
12 | - gpios : may specify GPIOs in this order: Card-Detect GPIO, | ||
11 | Write-Protect GPIO. | 13 | Write-Protect GPIO. |
14 | - interrupts : the interrupt of a card detect interrupt. | ||
15 | - interrupt-parent : the phandle for the interrupt controller that | ||
16 | services interrupts for this device. | ||
12 | 17 | ||
13 | Example: | 18 | Example: |
14 | 19 | ||
@@ -20,4 +25,6 @@ Example: | |||
20 | &qe_pio_d 15 0>; | 25 | &qe_pio_d 15 0>; |
21 | voltage-ranges = <3300 3300>; | 26 | voltage-ranges = <3300 3300>; |
22 | spi-max-frequency = <50000000>; | 27 | spi-max-frequency = <50000000>; |
28 | interrupts = <42>; | ||
29 | interrupt-parent = <&PIC>; | ||
23 | }; | 30 | }; |