diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-10 14:16:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-10 14:16:00 -0400 |
commit | bfffbea1aaeeb1eb6500c83ff9653416daa5b490 (patch) | |
tree | 1325ecb176b7a3d04924d6a1563b15ad6085d36a /Documentation/devicetree/bindings/mmc | |
parent | 34ae0a6f05aee9f51fca17001b4a90703d434ae1 (diff) | |
parent | 01ebea1b411aafc8eab440bf1d2037f01bbed99b (diff) |
Merge tag 'mmc-updates-for-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc
Pull MMC updates from Chris Ball:
"MMC highlights for 3.11:
Core:
- Add support for eMMC 5.1 devices
- Add MMC_CAP_AGGRESSIVE_PM capability for aggressive power
management of eMMC/SD between requests, using runtime PM
- Add an ioctl to perform the eMMC 4.5 Sanitize command. Sample code
at:
git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
Drivers:
- dw_mmc: Add support for Rockchip's Cortex-A9 SoCs
- dw_mmc: Add support for Altera SoCFPGAs
- sdhci-esdhc-imx: Add support for 8-bit bus width, non-removable
cards
- sdhci-bcm-kona: New driver for Broadcom Kona (281xx) SoCs
- sdhi/tmio: Add DT DMA support"
* tag 'mmc-updates-for-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (87 commits)
mmc: bcm281xx SDHCI driver
mmc: sdhci: add card_event callback to sdhci
mmc: core: Fixup Oops for SDIO shutdown
mmc: sdhci-pci: add another device id
mmc: esdhc: Fix bug when writing to SDHCI_HOST_CONTROL register
mmc: esdhc: Add support for 8-bit bus width and non-removable card
mmc: core: production year for eMMC 4.41 and later
mmc: omap: remove unnecessary #if 0's
mmc: sdhci: fix ctrl_2 on super-speed selection
mmc: dw_mmc-pltfm: add Rockchip variant
mmc: dw_mmc-pltfm: move probe and remove below dt match table
mmc: dw_mmc-pltfm: remove static from dw_mci_pltfm_remove
mmc: sdhci-acpi: add support for eMMC hardware reset for HID 80860F14
mmc: sdhci-pci: add support for eMMC hardware reset for BYT eMMC.
mmc: dw_mmc: Add support DW SD/MMC driver on SOCFPGA
mmc: sdhci: fix caps2 for HS200
sdhci-pxav3: Fix runtime PM initialization
mmc: core: Add DT-bindings for MMC_CAP2_FULL_PWR_CYCLE
mmc: core: Invent MMC_CAP2_FULL_PWR_CYCLE
mmc: core: Enable power_off_notify for eMMC shutdown sequence
...
Diffstat (limited to 'Documentation/devicetree/bindings/mmc')
-rw-r--r-- | Documentation/devicetree/bindings/mmc/mmc.txt | 1 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 23 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mmc/synopsis-dw-mshc.txt | 20 |
3 files changed, 44 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/mmc.txt b/Documentation/devicetree/bindings/mmc/mmc.txt index 85aada2263d5..458b57f199af 100644 --- a/Documentation/devicetree/bindings/mmc/mmc.txt +++ b/Documentation/devicetree/bindings/mmc/mmc.txt | |||
@@ -28,6 +28,7 @@ Optional properties: | |||
28 | - cap-mmc-highspeed: MMC high-speed timing is supported | 28 | - cap-mmc-highspeed: MMC high-speed timing is supported |
29 | - cap-power-off-card: powering off the card is safe | 29 | - cap-power-off-card: powering off the card is safe |
30 | - cap-sdio-irq: enable SDIO IRQ signalling on this interface | 30 | - cap-sdio-irq: enable SDIO IRQ signalling on this interface |
31 | - full-pwr-cycle: full power cycle of the card is supported | ||
31 | 32 | ||
32 | *NOTE* on CD and WP polarity. To use common for all SD/MMC host controllers line | 33 | *NOTE* on CD and WP polarity. To use common for all SD/MMC host controllers line |
33 | polarity properties, we have to fix the meaning of the "normal" and "inverted" | 34 | polarity properties, we have to fix the meaning of the "normal" and "inverted" |
diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt new file mode 100644 index 000000000000..8a3d91d47b6a --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | |||
@@ -0,0 +1,23 @@ | |||
1 | * Rockchip specific extensions to the Synopsis Designware Mobile | ||
2 | Storage Host Controller | ||
3 | |||
4 | The Synopsis designware mobile storage host controller is used to interface | ||
5 | a SoC with storage medium such as eMMC or SD/MMC cards. This file documents | ||
6 | differences between the core Synopsis dw mshc controller properties described | ||
7 | by synopsis-dw-mshc.txt and the properties used by the Rockchip specific | ||
8 | extensions to the Synopsis Designware Mobile Storage Host Controller. | ||
9 | |||
10 | Required Properties: | ||
11 | |||
12 | * compatible: should be | ||
13 | - "rockchip,rk2928-dw-mshc": for Rockchip RK2928 and following | ||
14 | |||
15 | Example: | ||
16 | |||
17 | rkdwmmc0@12200000 { | ||
18 | compatible = "rockchip,rk2928-dw-mshc"; | ||
19 | reg = <0x12200000 0x1000>; | ||
20 | interrupts = <0 75 0>; | ||
21 | #address-cells = <1>; | ||
22 | #size-cells = <0>; | ||
23 | }; | ||
diff --git a/Documentation/devicetree/bindings/mmc/synopsis-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsis-dw-mshc.txt index 1180d7814af8..cdcebea9c6f5 100644 --- a/Documentation/devicetree/bindings/mmc/synopsis-dw-mshc.txt +++ b/Documentation/devicetree/bindings/mmc/synopsis-dw-mshc.txt | |||
@@ -39,6 +39,19 @@ Required Properties: | |||
39 | 39 | ||
40 | Optional properties: | 40 | Optional properties: |
41 | 41 | ||
42 | * clocks: from common clock binding: handle to biu and ciu clocks for the | ||
43 | bus interface unit clock and the card interface unit clock. | ||
44 | |||
45 | * clock-names: from common clock binding: Shall be "biu" and "ciu". | ||
46 | If the biu clock is missing we'll simply skip enabling it. If the | ||
47 | ciu clock is missing we'll just assume that the clock is running at | ||
48 | clock-frequency. It is an error to omit both the ciu clock and the | ||
49 | clock-frequency. | ||
50 | |||
51 | * clock-frequency: should be the frequency (in Hz) of the ciu clock. If this | ||
52 | is specified and the ciu clock is specified then we'll try to set the ciu | ||
53 | clock to this at probe time. | ||
54 | |||
42 | * num-slots: specifies the number of slots supported by the controller. | 55 | * num-slots: specifies the number of slots supported by the controller. |
43 | The number of physical slots actually used could be equal or less than the | 56 | The number of physical slots actually used could be equal or less than the |
44 | value specified by num-slots. If this property is not specified, the value | 57 | value specified by num-slots. If this property is not specified, the value |
@@ -55,6 +68,9 @@ Optional properties: | |||
55 | 68 | ||
56 | * broken-cd: as documented in mmc core bindings. | 69 | * broken-cd: as documented in mmc core bindings. |
57 | 70 | ||
71 | * vmmc-supply: The phandle to the regulator to use for vmmc. If this is | ||
72 | specified we'll defer probe until we can find this regulator. | ||
73 | |||
58 | Aliases: | 74 | Aliases: |
59 | 75 | ||
60 | - All the MSHC controller nodes should be represented in the aliases node using | 76 | - All the MSHC controller nodes should be represented in the aliases node using |
@@ -67,6 +83,8 @@ board specific portions as listed below. | |||
67 | 83 | ||
68 | dwmmc0@12200000 { | 84 | dwmmc0@12200000 { |
69 | compatible = "snps,dw-mshc"; | 85 | compatible = "snps,dw-mshc"; |
86 | clocks = <&clock 351>, <&clock 132>; | ||
87 | clock-names = "biu", "ciu"; | ||
70 | reg = <0x12200000 0x1000>; | 88 | reg = <0x12200000 0x1000>; |
71 | interrupts = <0 75 0>; | 89 | interrupts = <0 75 0>; |
72 | #address-cells = <1>; | 90 | #address-cells = <1>; |
@@ -74,11 +92,13 @@ board specific portions as listed below. | |||
74 | }; | 92 | }; |
75 | 93 | ||
76 | dwmmc0@12200000 { | 94 | dwmmc0@12200000 { |
95 | clock-frequency = <400000000>; | ||
77 | num-slots = <1>; | 96 | num-slots = <1>; |
78 | supports-highspeed; | 97 | supports-highspeed; |
79 | broken-cd; | 98 | broken-cd; |
80 | fifo-depth = <0x80>; | 99 | fifo-depth = <0x80>; |
81 | card-detect-delay = <200>; | 100 | card-detect-delay = <200>; |
101 | vmmc-supply = <&buck8>; | ||
82 | 102 | ||
83 | slot@0 { | 103 | slot@0 { |
84 | reg = <0>; | 104 | reg = <0>; |