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/devicetree/bindings/mmc/exynos-dw-mshc.txt | |
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/devicetree/bindings/mmc/exynos-dw-mshc.txt')
-rw-r--r-- | Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt | 17 |
1 files changed, 5 insertions, 12 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 | }; |