diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2014-08-07 03:37:59 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-08-11 05:48:39 -0400 |
commit | c83c8737e3edb33f60101d2d7692675d0cb6bdf1 (patch) | |
tree | 5d78cf0d613eaeb17d2421de28518a2772c7f6ff /Documentation | |
parent | 26375b5c8449927f740ce0e837e23f45c951fb80 (diff) |
mmc: dw_mmc: modify the dt-binding for removing slot-node and supports-highspeed
Almost all SoCs use one slot per host controller.
(Even if controller can support the multiple slot, Recommend to use one slot per host controller.)
Don't use the slot-node and deprecate the "supports-highspeed" property.
Instead, use the cap-mmc/sd-highspeed.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Tushar Behera <trblinux@gmail.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Sachin Kamat <sachin.kamat@samsung.com>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation')
3 files changed, 15 insertions, 26 deletions
diff --git a/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt index 532b1d440abc..6cd3525d0e09 100644 --- a/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt +++ b/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt | |||
@@ -46,13 +46,14 @@ Required Properties: | |||
46 | - if CIU clock divider value is 0 (that is divide by 1), both tx and rx | 46 | - if CIU clock divider value is 0 (that is divide by 1), both tx and rx |
47 | phase shift clocks should be 0. | 47 | phase shift clocks should be 0. |
48 | 48 | ||
49 | Required properties for a slot: | 49 | Required properties for a slot (Deprecated - Recommend to use one slot per host): |
50 | 50 | ||
51 | * gpios: specifies a list of gpios used for command, clock and data bus. The | 51 | * gpios: specifies a list of gpios used for command, clock and data bus. The |
52 | first gpio is the command line and the second gpio is the clock line. The | 52 | first gpio is the command line and the second gpio is the clock line. The |
53 | rest of the gpios (depending on the bus-width property) are the data lines in | 53 | rest of the gpios (depending on the bus-width property) are the data lines in |
54 | no particular order. The format of the gpio specifier depends on the gpio | 54 | no particular order. The format of the gpio specifier depends on the gpio |
55 | controller. | 55 | controller. |
56 | (Deprecated - Refer to Documentation/devicetree/binding/pinctrl/samsung-pinctrl.txt) | ||
56 | 57 | ||
57 | Example: | 58 | Example: |
58 | 59 | ||
@@ -69,21 +70,13 @@ Example: | |||
69 | 70 | ||
70 | dwmmc0@12200000 { | 71 | dwmmc0@12200000 { |
71 | num-slots = <1>; | 72 | num-slots = <1>; |
72 | supports-highspeed; | 73 | cap-mmc-highspeed; |
74 | cap-sd-highspeed; | ||
73 | broken-cd; | 75 | broken-cd; |
74 | fifo-depth = <0x80>; | 76 | fifo-depth = <0x80>; |
75 | card-detect-delay = <200>; | 77 | card-detect-delay = <200>; |
76 | samsung,dw-mshc-ciu-div = <3>; | 78 | samsung,dw-mshc-ciu-div = <3>; |
77 | samsung,dw-mshc-sdr-timing = <2 3>; | 79 | samsung,dw-mshc-sdr-timing = <2 3>; |
78 | samsung,dw-mshc-ddr-timing = <1 2>; | 80 | samsung,dw-mshc-ddr-timing = <1 2>; |
79 | 81 | bus-width = <8>; | |
80 | slot@0 { | ||
81 | reg = <0>; | ||
82 | bus-width = <8>; | ||
83 | gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>, | ||
84 | <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>, | ||
85 | <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>, | ||
86 | <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>, | ||
87 | <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>; | ||
88 | }; | ||
89 | }; | 82 | }; |
diff --git a/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt index e5bc49f764d1..3b3544931437 100644 --- a/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt +++ b/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt | |||
@@ -34,13 +34,11 @@ Example: | |||
34 | num-slots = <1>; | 34 | num-slots = <1>; |
35 | vmmc-supply = <&ldo12>; | 35 | vmmc-supply = <&ldo12>; |
36 | fifo-depth = <0x100>; | 36 | fifo-depth = <0x100>; |
37 | supports-highspeed; | ||
38 | pinctrl-names = "default"; | 37 | pinctrl-names = "default"; |
39 | pinctrl-0 = <&sd_pmx_pins &sd_cfg_func1 &sd_cfg_func2>; | 38 | pinctrl-0 = <&sd_pmx_pins &sd_cfg_func1 &sd_cfg_func2>; |
40 | slot@0 { | 39 | bus-width = <4>; |
41 | reg = <0>; | 40 | disable-wp; |
42 | bus-width = <4>; | 41 | cd-gpios = <&gpio10 3 0>; |
43 | disable-wp; | 42 | cap-mmc-highspeed; |
44 | cd-gpios = <&gpio10 3 0>; | 43 | cap-sd-highspeed; |
45 | }; | ||
46 | }; | 44 | }; |
diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt index 2d4a7258a10d..346c6095a615 100644 --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt | |||
@@ -67,7 +67,8 @@ Optional properties: | |||
67 | * card-detect-delay: Delay in milli-seconds before detecting card after card | 67 | * card-detect-delay: Delay in milli-seconds before detecting card after card |
68 | insert event. The default value is 0. | 68 | insert event. The default value is 0. |
69 | 69 | ||
70 | * supports-highspeed: Enables support for high speed cards (up to 50MHz) | 70 | * supports-highspeed (DEPRECATED): Enables support for high speed cards (up to 50MHz) |
71 | (use "cap-mmc-highspeed" or "cap-sd-highspeed" instead) | ||
71 | 72 | ||
72 | * broken-cd: as documented in mmc core bindings. | 73 | * broken-cd: as documented in mmc core bindings. |
73 | 74 | ||
@@ -98,14 +99,11 @@ board specific portions as listed below. | |||
98 | clock-frequency = <400000000>; | 99 | clock-frequency = <400000000>; |
99 | clock-freq-min-max = <400000 200000000>; | 100 | clock-freq-min-max = <400000 200000000>; |
100 | num-slots = <1>; | 101 | num-slots = <1>; |
101 | supports-highspeed; | ||
102 | broken-cd; | 102 | broken-cd; |
103 | fifo-depth = <0x80>; | 103 | fifo-depth = <0x80>; |
104 | card-detect-delay = <200>; | 104 | card-detect-delay = <200>; |
105 | vmmc-supply = <&buck8>; | 105 | vmmc-supply = <&buck8>; |
106 | 106 | bus-width = <8>; | |
107 | slot@0 { | 107 | cap-mmc-highspeed; |
108 | reg = <0>; | 108 | cap-sd-highspeed; |
109 | bus-width = <8>; | ||
110 | }; | ||
111 | }; | 109 | }; |