1. 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
  2. 21 10月, 2012 2 次提交
    • P
      ARM: OMAP2+: PRM: create PRM reset source API for the watchdog timer driver · 2bb2a5d3
      Paul Walmsley 提交于
      The OMAP watchdog timer driver needs to determine what caused the SoC
      to reset for its GETBOOTSTATUS ioctl.  So, define a set of standard
      reset sources across OMAP SoCs.  For OMAP2xxx, 3xxx, and 4xxx SoCs,
      define mappings from the SoC-specific reset source register bits to
      the standardized reset source IDs.  Create SoC-specific PRM functions
      that read the appropriate per-SoC register and use the mapping to
      return the standardized reset bits.  Register the SoC-specific PRM
      functions with the common PRM code via prm_register().  Create a
      function in the common PRM code, prm_read_reset_sources(), that
      calls the SoC-specific function, registered during boot.
      
      This patch does not yet handle some SoCs, such as AM33xx.  Those SoCs
      were not handled by the code this will replace.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      2bb2a5d3
    • P
      ARM: OMAP2+: PRM: split PRM functions into OMAP2, OMAP3-specific files · 139563ad
      Paul Walmsley 提交于
      Move OMAP3xxx-specific PRM functions & macros into prm3xxx.[ch] and
      OMAP2xxx-specific macros into prm2xxx.h.  (prm2xxx.c will be created
      by a subsequent patch when it's needed.)  Move basic PRM register
      access functions into static inline functions in prm2xxx_3xxx.h, leaving
      only OMAP2/3 hardreset functions in prm2xxx_3xxx.c.
      
      Also clarify the initcall function naming to reinforce that this code
      is specifically for the PRM IP block.
      
      This is in preparation for the upcoming powerdomain series and the
      upcoming move of this code to drivers/.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Reviewed-by: NRuss Dill <Russ.Dill@ti.com>
      Acked-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      139563ad
  3. 22 12月, 2010 1 次提交
  4. 21 5月, 2010 1 次提交
    • P
      OMAP2 PRCM: convert OMAP2 PRCM macros to the _SHIFT/_MASK suffixes · f38ca10a
      Paul Walmsley 提交于
      Fix all of the remaining OMAP2 PRCM register shift/bitmask macros that
      did not use the _SHIFT/_MASK suffixes to use them.  This makes the use
      of these macros consistent.  It is intended to reduce error, as code
      can be inspected visually by reviewers to ensure that bitshifts and
      bitmasks are used in the appropriate places.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      f38ca10a
  5. 19 8月, 2008 1 次提交
  6. 15 4月, 2008 1 次提交