diff options
author | Doug Anderson <dianders@chromium.org> | 2013-06-07 13:28:30 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-06-27 12:39:10 -0400 |
commit | 3c6d89ea34605df0f4fe6e6dac5abcb781f82f53 (patch) | |
tree | e557f975d861bd72b04c78e7aeec470532ea1627 /Documentation/devicetree/bindings/mmc | |
parent | 870556a3dfb16d004f8e09dd59a1eddc727fcf0c (diff) |
mmc: dw_mmc: Add the ability to set the ciu clock frequency
As of now we rely on code outside of the driver to set the ciu clock
frequency. There's no reason to do that. Add support for setting up
the clock in the driver during probe.
Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc')
-rw-r--r-- | Documentation/devicetree/bindings/mmc/synopsis-dw-mshc.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/synopsis-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsis-dw-mshc.txt index d5cc94ecd60e..dd31b00f0866 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 |
@@ -70,6 +83,8 @@ board specific portions as listed below. | |||
70 | 83 | ||
71 | dwmmc0@12200000 { | 84 | dwmmc0@12200000 { |
72 | compatible = "snps,dw-mshc"; | 85 | compatible = "snps,dw-mshc"; |
86 | clocks = <&clock 351>, <&clock 132>; | ||
87 | clock-names = "biu", "ciu"; | ||
73 | reg = <0x12200000 0x1000>; | 88 | reg = <0x12200000 0x1000>; |
74 | interrupts = <0 75 0>; | 89 | interrupts = <0 75 0>; |
75 | #address-cells = <1>; | 90 | #address-cells = <1>; |
@@ -77,6 +92,7 @@ board specific portions as listed below. | |||
77 | }; | 92 | }; |
78 | 93 | ||
79 | dwmmc0@12200000 { | 94 | dwmmc0@12200000 { |
95 | clock-frequency = <400000000>; | ||
80 | num-slots = <1>; | 96 | num-slots = <1>; |
81 | supports-highspeed; | 97 | supports-highspeed; |
82 | broken-cd; | 98 | broken-cd; |