diff options
author | Paul Walmsley <paul@pwsan.com> | 2011-02-25 17:52:04 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-03-07 22:21:17 -0500 |
commit | 224113969dc9cc7a55f69da4dde5dc3fd1bbeb76 (patch) | |
tree | 3c1b100f82fc9bf22fdad164aeb7e68ab65a78d0 /arch/arm/mach-omap2/clock2420_data.c | |
parent | 241d3a8dca239610d3d991bf58d4fe38c2d86fd5 (diff) |
OMAP2xxx: clock: remove dsp_irate_ick
After commit 81b34fbecbfbf24ed95c2d80d5cb14149652408f ("OMAP2 clock:
split OMAP2420, OMAP2430 clock data into their own files"), it's
possible to remove dsp_irate_ick from the OMAP2420 and OMAP2430 clock
files. It was originally only needed due to a 2420/2430 clock tree difference,
and now that the data is in separate files, it's superfluous.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock2420_data.c')
-rw-r--r-- | arch/arm/mach-omap2/clock2420_data.c | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/arch/arm/mach-omap2/clock2420_data.c b/arch/arm/mach-omap2/clock2420_data.c index 22eeafc89b9f..53bd999c63ae 100644 --- a/arch/arm/mach-omap2/clock2420_data.c +++ b/arch/arm/mach-omap2/clock2420_data.c | |||
@@ -454,36 +454,22 @@ static struct clk dsp_fck = { | |||
454 | .recalc = &omap2_clksel_recalc, | 454 | .recalc = &omap2_clksel_recalc, |
455 | }; | 455 | }; |
456 | 456 | ||
457 | /* DSP interface clock */ | 457 | static const struct clksel dsp_ick_clksel[] = { |
458 | static const struct clksel_rate dsp_irate_ick_rates[] = { | 458 | { .parent = &dsp_fck, .rates = dsp_ick_rates }, |
459 | { .div = 1, .val = 1, .flags = RATE_IN_24XX }, | ||
460 | { .div = 2, .val = 2, .flags = RATE_IN_24XX }, | ||
461 | { .div = 0 }, | ||
462 | }; | ||
463 | |||
464 | static const struct clksel dsp_irate_ick_clksel[] = { | ||
465 | { .parent = &dsp_fck, .rates = dsp_irate_ick_rates }, | ||
466 | { .parent = NULL } | 459 | { .parent = NULL } |
467 | }; | 460 | }; |
468 | 461 | ||
469 | /* This clock does not exist as such in the TRM. */ | ||
470 | static struct clk dsp_irate_ick = { | ||
471 | .name = "dsp_irate_ick", | ||
472 | .ops = &clkops_null, | ||
473 | .parent = &dsp_fck, | ||
474 | .clksel_reg = OMAP_CM_REGADDR(OMAP24XX_DSP_MOD, CM_CLKSEL), | ||
475 | .clksel_mask = OMAP24XX_CLKSEL_DSP_IF_MASK, | ||
476 | .clksel = dsp_irate_ick_clksel, | ||
477 | .recalc = &omap2_clksel_recalc, | ||
478 | }; | ||
479 | |||
480 | /* 2420 only */ | ||
481 | static struct clk dsp_ick = { | 462 | static struct clk dsp_ick = { |
482 | .name = "dsp_ick", /* apparently ipi and isp */ | 463 | .name = "dsp_ick", /* apparently ipi and isp */ |
483 | .ops = &clkops_omap2_iclk_dflt_wait, | 464 | .ops = &clkops_omap2_iclk_dflt_wait, |
484 | .parent = &dsp_irate_ick, | 465 | .parent = &dsp_fck, |
466 | .clkdm_name = "dsp_clkdm", | ||
485 | .enable_reg = OMAP_CM_REGADDR(OMAP24XX_DSP_MOD, CM_ICLKEN), | 467 | .enable_reg = OMAP_CM_REGADDR(OMAP24XX_DSP_MOD, CM_ICLKEN), |
486 | .enable_bit = OMAP2420_EN_DSP_IPI_SHIFT, /* for ipi */ | 468 | .enable_bit = OMAP2420_EN_DSP_IPI_SHIFT, /* for ipi */ |
469 | .clksel_reg = OMAP_CM_REGADDR(OMAP24XX_DSP_MOD, CM_CLKSEL), | ||
470 | .clksel_mask = OMAP24XX_CLKSEL_DSP_IF_MASK, | ||
471 | .clksel = dsp_ick_clksel, | ||
472 | .recalc = &omap2_clksel_recalc, | ||
487 | }; | 473 | }; |
488 | 474 | ||
489 | /* | 475 | /* |
@@ -1812,7 +1798,6 @@ static struct omap_clk omap2420_clks[] = { | |||
1812 | CLK(NULL, "mpu_ck", &mpu_ck, CK_242X), | 1798 | CLK(NULL, "mpu_ck", &mpu_ck, CK_242X), |
1813 | /* dsp domain clocks */ | 1799 | /* dsp domain clocks */ |
1814 | CLK(NULL, "dsp_fck", &dsp_fck, CK_242X), | 1800 | CLK(NULL, "dsp_fck", &dsp_fck, CK_242X), |
1815 | CLK(NULL, "dsp_irate_ick", &dsp_irate_ick, CK_242X), | ||
1816 | CLK(NULL, "dsp_ick", &dsp_ick, CK_242X), | 1801 | CLK(NULL, "dsp_ick", &dsp_ick, CK_242X), |
1817 | CLK(NULL, "iva1_ifck", &iva1_ifck, CK_242X), | 1802 | CLK(NULL, "iva1_ifck", &iva1_ifck, CK_242X), |
1818 | CLK(NULL, "iva1_mpu_int_ifck", &iva1_mpu_int_ifck, CK_242X), | 1803 | CLK(NULL, "iva1_mpu_int_ifck", &iva1_mpu_int_ifck, CK_242X), |