diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2016-06-04 03:09:54 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2016-07-06 11:38:13 -0400 |
commit | 893b77980c84cfcf2e0caff9740080c351433405 (patch) | |
tree | 79eb3205a4afcac8dbfd7645d29ce2b04b3671fd | |
parent | f19786f95ca0e1282231ce398369c6740d3853fd (diff) |
clk: clps711x: Changing the compatibility string to match with the smallest supported chip
This patch changes the compatibility string to match with the smallest
supported chip (EP7209). Since the DT-support for this CPU is not yet
announced, this change is safe.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | Documentation/devicetree/bindings/clock/clps711x-clock.txt | 4 | ||||
-rw-r--r-- | drivers/clk/clk-clps711x.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/clock/clps711x-clock.txt b/Documentation/devicetree/bindings/clock/clps711x-clock.txt index ce5a7476f05d..f1bd53f79d91 100644 --- a/Documentation/devicetree/bindings/clock/clps711x-clock.txt +++ b/Documentation/devicetree/bindings/clock/clps711x-clock.txt | |||
@@ -1,7 +1,7 @@ | |||
1 | * Clock bindings for the Cirrus Logic CLPS711X CPUs | 1 | * Clock bindings for the Cirrus Logic CLPS711X CPUs |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : Shall contain "cirrus,clps711x-clk". | 4 | - compatible : Shall contain "cirrus,ep7209-clk". |
5 | - reg : Address of the internal register set. | 5 | - reg : Address of the internal register set. |
6 | - startup-frequency: Factory set CPU startup frequency in HZ. | 6 | - startup-frequency: Factory set CPU startup frequency in HZ. |
7 | - #clock-cells : Should be <1>. | 7 | - #clock-cells : Should be <1>. |
@@ -13,7 +13,7 @@ for the full list of CLPS711X clock IDs. | |||
13 | Example: | 13 | Example: |
14 | clks: clks@80000000 { | 14 | clks: clks@80000000 { |
15 | #clock-cells = <1>; | 15 | #clock-cells = <1>; |
16 | compatible = "cirrus,ep7312-clk", "cirrus,clps711x-clk"; | 16 | compatible = "cirrus,ep7312-clk", "cirrus,ep7209-clk"; |
17 | reg = <0x80000000 0xc000>; | 17 | reg = <0x80000000 0xc000>; |
18 | startup-frequency = <73728000>; | 18 | startup-frequency = <73728000>; |
19 | }; | 19 | }; |
diff --git a/drivers/clk/clk-clps711x.c b/drivers/clk/clk-clps711x.c index 1f60b02416a7..adaf109f2fe2 100644 --- a/drivers/clk/clk-clps711x.c +++ b/drivers/clk/clk-clps711x.c | |||
@@ -184,5 +184,5 @@ static void __init clps711x_clk_init_dt(struct device_node *np) | |||
184 | of_clk_add_provider(np, of_clk_src_onecell_get, | 184 | of_clk_add_provider(np, of_clk_src_onecell_get, |
185 | &clps711x_clk->clk_data); | 185 | &clps711x_clk->clk_data); |
186 | } | 186 | } |
187 | CLK_OF_DECLARE(clps711x, "cirrus,clps711x-clk", clps711x_clk_init_dt); | 187 | CLK_OF_DECLARE(clps711x, "cirrus,ep7209-clk", clps711x_clk_init_dt); |
188 | #endif | 188 | #endif |