aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-05-04 16:45:17 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-04 16:45:17 -0400
commit173192958d06b8d1eb44f56d74373052ad6a9a60 (patch)
tree838a4f063c994d4d0a6259a85f21005c4098b752 /Documentation
parente72a5d1ceb1c5cbe39c35c1c7a7f5909cbe8451a (diff)
parente4404fab2e0b70287a471a1e760c9338ce683fde (diff)
Merge tag 'mmc-updates-for-3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc
Pull MMC update from Chris Ball: "MMC highlights for 3.10: Core: - Introduce MMC_CAP2_NO_PRESCAN_POWERUP to allow skipping mmc_power_up() at boot/initialization time if it's already happened, for performance (faster boot time) reasons. - Fix a bit width test failure that resulted in old eMMC cards being put into 1-bit mode when 4-bit mode was available. - Expose fwrev/hwrev for MMCv4 parts. - Improve card removal logic in the case where the card's removed slowly; we were missing card removal events if the card retained contact with the slot pads for long enough to reply to a CMD13 while being removed. Drivers: - davinci_mmc: Support using PIO instead of DMA. - dw_mmc: Add support for Exynos4412. - mxcmmc: DT support, use slot-gpio API. - mxs-mmc: Add broken-cd/cd-inverted/non-removable DT property support. - sdhci-sirf: New sdhci-pltfm driver for CSR SiRF SoCs: SiRFprimaII: unicore ARM Cortex-A9 SiRFatlas6: unicore ARM Cortex-A9 SiRFmarco: dual core ARM Cortex-A9 SMP - sdhci-tegra: Add support for Tegra114 platforms, use mmc_of_parse()" * tag 'mmc-updates-for-3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (66 commits) mmc: sdhci-tegra: fix MODULE_DEVICE_TABLE mmc: core: fix init controller performance regression, updated patch mmc: mxcmmc: enable DMA support on mpc512x mmc: mxcmmc: constify mxcmci_devtype mmc: mxcmmc: use slot-gpio API for write-protect detection mmc: mxcmmc: add mpc512x SDHC support mmc: mxcmmc: fix race conditions for host->req and host->data access mmc: mxcmmc: DT support mmc: dw_mmc: let device core setup the default pin configuration mmc: mxs-mmc: add broken-cd property mmc: mxs-mmc: add non-removable property mmc: mxs-mmc: add cd-inverted property mmc: core: call pm_runtime_put_noidle in pm_runtime_get_sync failed case mmc: mxcmmc: Fix bug when card is present during boot mmc: core: fix performance regression initializing MMC host controllers Revert "mmc: core: wait while adding MMC host to ensure root mounts successfully" mmc: atmel-mci: pio hang on block errors mmc: core: Fix bit width test failing on old eMMC cards mmc: dw_mmc: Use pr_info instead of printk mmc: dw_mmc: Check return value of regulator_enable ...
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/mmc/fsl-imx-mmc.txt24
-rw-r--r--Documentation/devicetree/bindings/mmc/samsung-sdhci.txt35
-rw-r--r--Documentation/devicetree/bindings/mmc/sdhci-sirf.txt18
-rw-r--r--Documentation/mmc/mmc-dev-attrs.txt1
4 files changed, 47 insertions, 31 deletions
diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-mmc.txt b/Documentation/devicetree/bindings/mmc/fsl-imx-mmc.txt
new file mode 100644
index 000000000000..db442355cd24
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/fsl-imx-mmc.txt
@@ -0,0 +1,24 @@
1* Freescale Secure Digital Host Controller for i.MX2/3 series
2
3This file documents differences to the properties defined in mmc.txt.
4
5Required properties:
6- compatible : Should be "fsl,<chip>-mmc", chip can be imx21 or imx31
7
8Optional properties:
9- dmas: One DMA phandle with arguments as defined by the devicetree bindings
10 of the used DMA controller.
11- dma-names: Has to be "rx-tx".
12
13Example:
14
15sdhci1: sdhci@10014000 {
16 compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
17 reg = <0x10014000 0x1000>;
18 interrupts = <11>;
19 dmas = <&dma 7>;
20 dma-names = "rx-tx";
21 bus-width = <4>;
22 cd-gpios = <&gpio3 29>;
23 status = "okay";
24};
diff --git a/Documentation/devicetree/bindings/mmc/samsung-sdhci.txt b/Documentation/devicetree/bindings/mmc/samsung-sdhci.txt
index 3b3a1ee055ff..328e990d2546 100644
--- a/Documentation/devicetree/bindings/mmc/samsung-sdhci.txt
+++ b/Documentation/devicetree/bindings/mmc/samsung-sdhci.txt
@@ -5,13 +5,6 @@ MMC, SD and eMMC storage mediums. This file documents differences between the
5core mmc properties described by mmc.txt and the properties used by the 5core mmc properties described by mmc.txt and the properties used by the
6Samsung implmentation of the SDHCI controller. 6Samsung implmentation of the SDHCI controller.
7 7
8Note: The mmc core bindings documentation states that if none of the core
9card-detect bindings are used, then the standard sdhci card detect mechanism
10is used. The Samsung's SDHCI controller bindings extends this as listed below.
11
12[A] The property "samsung,cd-pinmux-gpio" can be used as stated in the
13 "Optional Board Specific Properties" section below.
14
15Required SoC Specific Properties: 8Required SoC Specific Properties:
16- compatible: should be one of the following 9- compatible: should be one of the following
17 - "samsung,s3c6410-sdhci": For controllers compatible with s3c6410 sdhci 10 - "samsung,s3c6410-sdhci": For controllers compatible with s3c6410 sdhci
@@ -20,18 +13,8 @@ Required SoC Specific Properties:
20 controller. 13 controller.
21 14
22Required Board Specific Properties: 15Required Board Specific Properties:
23- Samsung GPIO variant (will be completely replaced by pinctrl): 16- pinctrl-0: Should specify pin control groups used for this controller.
24 - gpios: Should specify the gpios used for clock, command and data lines. The 17- pinctrl-names: Should contain only one value - "default".
25 gpio specifier format depends on the gpio controller.
26- Pinctrl variant (preferred if available):
27 - pinctrl-0: Should specify pin control groups used for this controller.
28 - pinctrl-names: Should contain only one value - "default".
29
30Optional Board Specific Properties:
31- samsung,cd-pinmux-gpio: Specifies the card detect line that is routed
32 through a pinmux to the card-detect pin of the card slot. This property
33 should be used only if none of the mmc core card-detect properties are
34 used. Only for Samsung GPIO variant.
35 18
36Example: 19Example:
37 sdhci@12530000 { 20 sdhci@12530000 {
@@ -39,19 +22,9 @@ Example:
39 reg = <0x12530000 0x100>; 22 reg = <0x12530000 0x100>;
40 interrupts = <0 75 0>; 23 interrupts = <0 75 0>;
41 bus-width = <4>; 24 bus-width = <4>;
42 cd-gpios = <&gpk2 2 2 3 3>; 25 cd-gpios = <&gpk2 2 0>;
43
44 /* Samsung GPIO variant */
45 gpios = <&gpk2 0 2 0 3>, /* clock line */
46 <&gpk2 1 2 0 3>, /* command line */
47 <&gpk2 3 2 3 3>, /* data line 0 */
48 <&gpk2 4 2 3 3>, /* data line 1 */
49 <&gpk2 5 2 3 3>, /* data line 2 */
50 <&gpk2 6 2 3 3>; /* data line 3 */
51
52 /* Pinctrl variant */
53 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>;
54 pinctrl-names = "default"; 26 pinctrl-names = "default";
27 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>;
55 }; 28 };
56 29
57 Note: This example shows both SoC specific and board specific properties 30 Note: This example shows both SoC specific and board specific properties
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-sirf.txt b/Documentation/devicetree/bindings/mmc/sdhci-sirf.txt
new file mode 100644
index 000000000000..dd6ed464bcb8
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/sdhci-sirf.txt
@@ -0,0 +1,18 @@
1* SiRFprimII/marco/atlas6 SDHCI Controller
2
3This file documents differences between the core properties in mmc.txt
4and the properties used by the sdhci-sirf driver.
5
6Required properties:
7- compatible: sirf,prima2-sdhc
8
9Optional properties:
10- cd-gpios: card detect gpio, with zero flags.
11
12Example:
13
14 sd0: sdhci@56000000 {
15 compatible = "sirf,prima2-sdhc";
16 reg = <0xcd000000 0x100000>;
17 cd-gpios = <&gpio 6 0>;
18 };
diff --git a/Documentation/mmc/mmc-dev-attrs.txt b/Documentation/mmc/mmc-dev-attrs.txt
index 0d98fac8893b..189bab09255a 100644
--- a/Documentation/mmc/mmc-dev-attrs.txt
+++ b/Documentation/mmc/mmc-dev-attrs.txt
@@ -22,6 +22,7 @@ All attributes are read-only.
22 manfid Manufacturer ID (from CID Register) 22 manfid Manufacturer ID (from CID Register)
23 name Product Name (from CID Register) 23 name Product Name (from CID Register)
24 oemid OEM/Application ID (from CID Register) 24 oemid OEM/Application ID (from CID Register)
25 prv Product Revision (from CID Register) (SD and MMCv4 only)
25 serial Product Serial Number (from CID Register) 26 serial Product Serial Number (from CID Register)
26 erase_size Erase group size 27 erase_size Erase group size
27 preferred_erase_size Preferred erase size 28 preferred_erase_size Preferred erase size