1. 19 1月, 2013 1 次提交
    • J
      ARM: OMAP2: Fix missing omap2xxx_clkt_vps_late_init function calls · bdcc6127
      Jon Hunter 提交于
      During the migration to the common clock framework, calls to the
      functions omap2xxx_clkt_vps_late_init() were not preserved for
      OMAP2420 and OMAP2430. This causes the variables "sys_ck_rate" and
      "curr_prcm_set" to be uninitialised on boot. On reboot, this causes the
      following error message to be displayed because the appropriate MPU
      clock frequency (derived from sys_ck_rate) cannot be found.
      
      "Could not set MPU rate to 4294MHz"
      
      Fix this by adding back calls to omap2xxx_clkt_vps_late_init() in the
      OMAP2420 and OMAP2430 clock initialisation code.
      Signed-off-by: NJon Hunter <jon-hunter@ti.com>
      [paul@pwsan.com: dropped the duplicated call to
       omap2xxx_clkt_vps_check_bootloader_rates() after consultation with Jon;
       updated patch description]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      bdcc6127
  2. 13 11月, 2012 1 次提交
    • R
      ARM: OMAP2: clock: Add 24xx data using common struct clk · 6ab9f69e
      Rajendra Nayak 提交于
      The patch is the output from a python script which converts
      from the old OMAP clk format to COMMON clk format using a
      JSON parser in between which was developed by Paul Walmsley.
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      [paul@pwsan.com: replace omap2_init_clksel_parent() with
       omap2_clksel_find_parent_index(); reflowed macros; dropped 243x clkdev
       aliases in 242x file; added recalc_rate fn ptrs to APLL clocks;
       fixed some checkpatch warnings]
      [mturquette@ti.com: removed deprecated variables from omap24x0_clk_init]
      Signed-off-by: NMike Turquette <mturquette@ti.com>
      [paul@pwsan.com: fixed boot crash due to missing clock init code; added twl.fck
       alias; fix DPLL rate initialization; fix APLL clocks and virt_prcm_set
       initialization]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      6ab9f69e