summaryrefslogtreecommitdiffstats
path: root/drivers/clk/st
diff options
context:
space:
mode:
authorGabriel Fernandez <gabriel.fernandez@linaro.org>2015-09-16 03:42:59 -0400
committerStephen Boyd <sboyd@codeaurora.org>2015-09-17 14:51:43 -0400
commitd34e210ed3a28050441f15228fd5ed929028d9cd (patch)
treebd01306070a6e7409f2525599225e8935bc7364c /drivers/clk/st
parent9054a31d603ea82c6ed4914170a8708812a16324 (diff)
drivers: clk: st: Rename st_pll3200c32_407_c0_x into st_pll3200c32_cx_x
Use a generic name for this kind of PLL Correction in dts files are already done here: commit 5eb26c605909 ("ARM: STi: DT: Rename st_pll3200c32_407_c0_x into st_pll3200c32_cx_x") Signed-off-by: Gabriel Fernandez <gabriel.fernandez@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/st')
-rw-r--r--drivers/clk/st/clkgen-fsyn.c8
-rw-r--r--drivers/clk/st/clkgen-pll.c12
2 files changed, 10 insertions, 10 deletions
diff --git a/drivers/clk/st/clkgen-fsyn.c b/drivers/clk/st/clkgen-fsyn.c
index 83ccf142ff2a..576cd0354d48 100644
--- a/drivers/clk/st/clkgen-fsyn.c
+++ b/drivers/clk/st/clkgen-fsyn.c
@@ -307,7 +307,7 @@ static const struct clkgen_quadfs_data st_fs660c32_F_416 = {
307 .get_rate = clk_fs660c32_dig_get_rate, 307 .get_rate = clk_fs660c32_dig_get_rate,
308}; 308};
309 309
310static const struct clkgen_quadfs_data st_fs660c32_C_407 = { 310static const struct clkgen_quadfs_data st_fs660c32_C = {
311 .nrst_present = true, 311 .nrst_present = true,
312 .nrst = { CLKGEN_FIELD(0x2f0, 0x1, 0), 312 .nrst = { CLKGEN_FIELD(0x2f0, 0x1, 0),
313 CLKGEN_FIELD(0x2f0, 0x1, 1), 313 CLKGEN_FIELD(0x2f0, 0x1, 1),
@@ -350,7 +350,7 @@ static const struct clkgen_quadfs_data st_fs660c32_C_407 = {
350 .get_rate = clk_fs660c32_dig_get_rate, 350 .get_rate = clk_fs660c32_dig_get_rate,
351}; 351};
352 352
353static const struct clkgen_quadfs_data st_fs660c32_D_407 = { 353static const struct clkgen_quadfs_data st_fs660c32_D = {
354 .nrst_present = true, 354 .nrst_present = true,
355 .nrst = { CLKGEN_FIELD(0x2a0, 0x1, 0), 355 .nrst = { CLKGEN_FIELD(0x2a0, 0x1, 0),
356 CLKGEN_FIELD(0x2a0, 0x1, 1), 356 CLKGEN_FIELD(0x2a0, 0x1, 1),
@@ -1077,11 +1077,11 @@ static const struct of_device_id quadfs_of_match[] = {
1077 }, 1077 },
1078 { 1078 {
1079 .compatible = "st,stih407-quadfs660-C", 1079 .compatible = "st,stih407-quadfs660-C",
1080 .data = &st_fs660c32_C_407 1080 .data = &st_fs660c32_C
1081 }, 1081 },
1082 { 1082 {
1083 .compatible = "st,stih407-quadfs660-D", 1083 .compatible = "st,stih407-quadfs660-D",
1084 .data = &st_fs660c32_D_407 1084 .data = &st_fs660c32_D
1085 }, 1085 },
1086 {} 1086 {}
1087}; 1087};
diff --git a/drivers/clk/st/clkgen-pll.c b/drivers/clk/st/clkgen-pll.c
index 47a38a994cac..b2a332cf8985 100644
--- a/drivers/clk/st/clkgen-pll.c
+++ b/drivers/clk/st/clkgen-pll.c
@@ -193,7 +193,7 @@ static const struct clkgen_pll_data st_pll3200c32_407_a0 = {
193 .ops = &stm_pll3200c32_ops, 193 .ops = &stm_pll3200c32_ops,
194}; 194};
195 195
196static const struct clkgen_pll_data st_pll3200c32_407_c0_0 = { 196static const struct clkgen_pll_data st_pll3200c32_cx_0 = {
197 /* 407 C0 PLL0 */ 197 /* 407 C0 PLL0 */
198 .pdn_status = CLKGEN_FIELD(0x2a0, 0x1, 8), 198 .pdn_status = CLKGEN_FIELD(0x2a0, 0x1, 8),
199 .locked_status = CLKGEN_FIELD(0x2a0, 0x1, 24), 199 .locked_status = CLKGEN_FIELD(0x2a0, 0x1, 24),
@@ -205,7 +205,7 @@ static const struct clkgen_pll_data st_pll3200c32_407_c0_0 = {
205 .ops = &stm_pll3200c32_ops, 205 .ops = &stm_pll3200c32_ops,
206}; 206};
207 207
208static const struct clkgen_pll_data st_pll3200c32_407_c0_1 = { 208static const struct clkgen_pll_data st_pll3200c32_cx_1 = {
209 /* 407 C0 PLL1 */ 209 /* 407 C0 PLL1 */
210 .pdn_status = CLKGEN_FIELD(0x2c8, 0x1, 8), 210 .pdn_status = CLKGEN_FIELD(0x2c8, 0x1, 8),
211 .locked_status = CLKGEN_FIELD(0x2c8, 0x1, 24), 211 .locked_status = CLKGEN_FIELD(0x2c8, 0x1, 24),
@@ -624,12 +624,12 @@ static const struct of_device_id c32_pll_of_match[] = {
624 .data = &st_pll3200c32_407_a0, 624 .data = &st_pll3200c32_407_a0,
625 }, 625 },
626 { 626 {
627 .compatible = "st,stih407-plls-c32-c0_0", 627 .compatible = "st,plls-c32-cx_0",
628 .data = &st_pll3200c32_407_c0_0, 628 .data = &st_pll3200c32_cx_0,
629 }, 629 },
630 { 630 {
631 .compatible = "st,stih407-plls-c32-c0_1", 631 .compatible = "st,plls-c32-cx_1",
632 .data = &st_pll3200c32_407_c0_1, 632 .data = &st_pll3200c32_cx_1,
633 }, 633 },
634 { 634 {
635 .compatible = "st,stih407-plls-c32-a9", 635 .compatible = "st,stih407-plls-c32-a9",