1. 16 2月, 2010 19 次提交
  2. 13 2月, 2010 1 次提交
  3. 12 2月, 2010 3 次提交
  4. 11 2月, 2010 1 次提交
  5. 04 2月, 2010 5 次提交
  6. 30 1月, 2010 7 次提交
    • P
      OMAP2+ powerdomains/clockdomains: prepare for multi-OMAP configs · 98fa3d8a
      Paul Walmsley 提交于
      Convert CONFIG_ARCH_OMAP34XX to CONFIG_ARCH_OMAP3, and
      CONFIG_ARCH_OMAP24XX to CONFIG_ARCH_OMAP2, in preparation for Tony's
      multi-OMAP patches.
      
      While here, update some copyrights, convert instances of "34xx" to
      "3xxx" where applicable, and convert preprocessor directives of the
      form
      
          #if defined(CONFIG_ARCH_OMAP2) | defined(CONFIG_ARCH_OMAP3)
      
      to
      
          #if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
      
      for standardization.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      98fa3d8a
    • R
      OMAP4: PRCM: Define shift macros as n instead of 1 << n · 56ef28ac
      Rajendra Nayak 提交于
      The macros defining the shift bits in registers for various
      register bit fields are defined as 1 << n.
      Instead define them as n. They can then be used as val << n.
      The changes are generated by updating the script which autogenerates
      the files modifed in the patch.
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      56ef28ac
    • P
      OMAP2/3/4 clock: rename and clean the omap2_clk_init() functions · e80a9729
      Paul Walmsley 提交于
      Rename the omap2_clk_init() in the OMAP2, 3, and 4 clock code to be
      omap2xxx_clk_init(), omap3xxx_clk_init(), etc.  Remove all traces of
      the (commented) old virt_prcm_set code from omap3xxx_clk_init() and
      omap4xxx_clk_init(), since this will be handled with the OPP code that
      is cooking in the PM branch.
      
      After this patch, there should be very little else in the clock code
      that blocks a multi-OMAP 2+3 kernel.  (OMAP2420+OMAP2430 still has some
      outstanding issues that need to be resolved; this is pending on some
      additions to the hwmod data.)
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      e80a9729
    • P
      OMAP3 DPLL: reorganize static functions · 60c3f651
      Paul Walmsley 提交于
      Move all static functions up to the top of the file to match the
      practice in other OMAP clock code.  Make omap3_noncore_dpll_program()
      static (noted by sparse) and prepend an underscore to the function
      name to mark that it is file-local.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      60c3f651
    • P
      OMAP2/3/4 clock: omap2_clk_prepare_for_reboot() is OMAP2xxx-only · feec1277
      Paul Walmsley 提交于
      omap2_clk_prepare_for_reboot() is only applicable to OMAP2xxx chips,
      so rename it to omap2xxx_clk_prepare_for_reboot() and only call it when
      running on OMAP2xxx chips.  Remove the old stub in the OMAP3 clock code.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      feec1277
    • P
      OMAP2/3 clock: remove unnecessary includes and clean up header · da4d2904
      Paul Walmsley 提交于
      Now that almost all of the code has been removed from clock2xxx.c and
      clock34xx.c, many of the includes are now unnecessary and can be removed.
      While we're here, standardize the initial comment blocks.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Richard Woodruff <r-woodruff2@ti.com>
      Cc: Jouni Högander <jouni.hogander@nokia.com>
      da4d2904
    • P
      OMAP2/3 clock: clean up omap*_clk_arch_init() · 4680c29f
      Paul Walmsley 提交于
      In the OMAP3xxx clock code, remove the #ifdef CONFIG_ARCH_OMAP3 in
      clock34xx.c, since this file is only compiled for OMAP3xxx builds.  Also,
      rename omap2_clk_arch_init in this file to omap3xxx_clk_arch_init() to
      pave the way for multi-OMAP kernels.  Ensure that it is not executed
      on non-OMAP3xxx systems.
      
      In the OMAP2xxx clock code, rename omap2_clk_arch_init in this file to
      omap2xxx_clk_arch_init() to pave the way for multi-OMAP kernels.
      Ensure that it is not executed on non-OMAP2xxx systems.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      4680c29f
  7. 29 1月, 2010 4 次提交
    • P
      OMAP3 clock: split out DPLL3 M2 divider functions into mach-omap2/clkt34xx_dpll3m2.c · 35e424e2
      Paul Walmsley 提交于
      Split the DPLL3 M2 divider clock functions out of clock34xx.c and move
      them into mach-omap2/clkt34xx_dpll3m2.c. This is intended to make the
      clock code easier to understand, since all of the functions needed to
      manage the OMAP3 DPLL3 M2 divider are now located in their own file,
      rather than being mixed with other, unrelated functions.
      
      Clock debugging is also now more finely-grained, since the DEBUG macro
      can now be defined for the DPLL3 M2 clock alone.  This should reduce
      unnecessary console noise when debugging DVFS.
      
      Also, if at some future point the mach-omap2/ directory is split
      into OMAP2/3/4 variants, this clkt file can be placed in the mach-omap34xx/
      directory, rather than shared with other chip types that don't use this
      clock type.
      
      This patch also lays the groundwork to skip compilation of this
      code on OMAP3 chips that don't support DVFS (e.g., AM35xx) via
      the Makefile, rather than via #ifdefs.
      
      Thanks to Alexander Shishkin <virtuoso@slind.org> for his comments to
      improve the patch description.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Jouni Högander <jouni.hogander@nokia.com>
      Cc: Alexander Shishkin <virtuoso@slind.org>
      35e424e2
    • P
      OMAP2 clock: don't compile OMAP2430-only functions on non-2430 builds · 6ebe0d88
      Paul Walmsley 提交于
      omap2430_clk_i2chs_find_idlest() doesn't need to be compiled in on
      non-2430 builds, so skip it in those cases to save memory.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      6ebe0d88
    • P
      OMAP2xxx clock: move sys_clk code into mach-omap2/clkt2xxx_sys.c · 44da0a51
      Paul Walmsley 提交于
      Move the sys_clk clock functions from clock2xxx.c to
      mach-omap2/clkt2xxx_sys.c.  This is intended to make the clock code
      easier to understand, since all of the functions needed to manage the
      sys_clk are now located in their own file, rather than being mixed
      with other, unrelated functions.
      
      Clock debugging is also now more finely-grained, since the DEBUG
      macro can now be defined for the sys_clk clock alone.  This
      should reduce unnecessary console noise when debugging.
      
      Also, if at some future point the mach-omap2/ directory is split into
      OMAP2/3/4 variants, this clkt file can be placed in the mach-omap2xxx/
      directory, rather than shared with other chip types that don't use
      this clock type.
      
      Thanks to Alexander Shishkin <virtuoso@slind.org> for his comments to
      improve the patch description.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Alexander Shishkin <virtuoso@slind.org>
      44da0a51
    • P
      OMAP2xxx clock: move osc_clk code into mach-omap2/clkt2xxx_osc.c · 87a1b26c
      Paul Walmsley 提交于
      Move the osc_clk clock functions from clock2xxx.c to
      mach-omap2/clkt2xxx_osc.  This is intended to make the clock code
      easier to understand, since all of the functions needed to manage the
      osc_clk are now located in their own file, rather than being mixed
      with other, unrelated functions.
      
      Clock debugging is also now more finely-grained, since the DEBUG
      macro can now be defined for osc_clk clocks alone.  This
      should reduce unnecessary console noise when debugging.
      
      Also, if at some future point the mach-omap2/ directory is split
      into OMAP2/3/4 variants, this clkt file can be placed in the mach-omap2xxx/
      directory, rather than shared with other chip types that don't use this
      clock type.
      
      Thanks to Alexander Shishkin <virtuoso@slind.org> for his comments to
      improve the patch description.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Alexander Shishkin <virtuoso@slind.org>
      87a1b26c