1. 04 4月, 2012 2 次提交
  2. 14 3月, 2012 1 次提交
  3. 25 2月, 2012 1 次提交
  4. 16 12月, 2011 2 次提交
  5. 14 12月, 2011 3 次提交
  6. 05 11月, 2011 1 次提交
    • B
      ARM: OMAP2+: clock data: Remove redundant timer clkdev · 2847111c
      Benoit Cousson 提交于
      The commit 318c3e15
      added some "fck" clock alias to timer devices that are
      not needed anymore since hwmod framework will create
      them automatically.
      
      A warning was added to highlight and thus fix the redundancy.
      
      [    0.616424]  omap_timer.1: alias fck already exists
      [    0.621948]  omap_timer.2: alias fck already exists
      [    0.627380]  omap_timer.3: alias fck already exists
      [    0.632781]  omap_timer.4: alias fck already exists
      [    0.638214]  omap_timer.5: alias fck already exists
      [    0.643615]  omap_timer.6: alias fck already exists
      [    0.649078]  omap_timer.7: alias fck already exists
      [    0.654479]  omap_timer.8: alias fck already exists
      [    0.659881]  omap_timer.9: alias fck already exists
      [    0.665283]  omap_timer.10: alias fck already exists
      [    0.670776]  omap_timer.11: alias fck already exists
      
      Remove all the clkdev entries for timer fck alias.
      Signed-off-by: NBenoit Cousson <b-cousson@ti.com>
      Cc: Tarun Kanti DebBarma <tarun.kanti@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      2847111c
  7. 22 9月, 2011 1 次提交
  8. 14 9月, 2011 1 次提交
    • P
      OMAP3: id: remove identification codes that only correspond to marketing names · 1f1b0353
      Paul Walmsley 提交于
      The OMAP3505/AM3505 appears to be based on the same silicon as the
      OMAP3517/AM3517, with some features disabled via eFuse bits.  Follow
      the same practice as OMAP3430 and identify these devices internally as
      part of the OMAP3517/AM3517 family.
      
      The OMAP3503/3515/3525/3530 chips appear to be based on the same silicon
      as the OMAP3430, with some features disabled via eFuse bits.  Identify
      these devices internally as part of the OMAP3430 family.
      
      Remove the old OMAP35XX_CLASS, which actually covered two very different
      chip families.  The OMAP3503/3515/3525/3530 chips will now be covered by
      OMAP343X_CLASS, since the silicon appears to be identical.  For the
      OMAP3517/AM3517 family, create a new class, OMAP3517_CLASS.
      
      Thanks to Tony Lindgren <tony@atomide.com> for some help with the second
      revision of this patch.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Sanjeev Premi <premi@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Tested-by: NIgor Grinberg <grinberg@compulab.co.il>
      Tested-by: NAbhilash Koyamangalath <abhilash.kv@ti.com>
      1f1b0353
  9. 23 8月, 2011 1 次提交
    • P
      OMAP3: clock: indicate that gpt12_fck and wdt1_fck are in the WKUP clockdomain · e21757a0
      Paul Walmsley 提交于
      The oscillator that supplies GPT12_FCLK and WDT1_FCLK exists in the
      WKUP powerdomain[1].  This resolves at least one boot-time warning:
      
      omap_hwmod: gpt12_fck: missing clockdomain for gpt12_fck.
      
      1. _OMAP34xx Multimedia High Security (HS) Device Silicon Revision 3.1.x
         Security Addendum Version K (SWPU119K)_  Figure 3-29.  August 2010.
      e21757a0
  10. 10 7月, 2011 1 次提交
    • B
      OMAP: omap_device: Create clkdev entry for hwmod main_clk · bf1e0776
      Benoit Cousson 提交于
      Extend the existing function to create clkdev for every optional
      clocks to add a well one "fck" alias for the main_clk of the
      omap_hwmod.
      It will allow to remove these static clkdev entries from the
      clockXXX_data.c file.
      Signed-off-by: NBenoit Cousson <b-cousson@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Kevin Hilman <khilman@ti.com>
      Cc: Todd Poynor <toddpoynor@google.com>
      [paul@pwsan.com: remove all of the "fck" role clkdev aliases from the
       clock data files; fixed error message]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      bf1e0776
  11. 11 3月, 2011 2 次提交
  12. 08 3月, 2011 2 次提交
  13. 02 3月, 2011 1 次提交
  14. 01 3月, 2011 1 次提交
  15. 26 2月, 2011 3 次提交
  16. 17 2月, 2011 1 次提交
  17. 11 1月, 2011 1 次提交
  18. 22 12月, 2010 5 次提交
    • J
      OMAP: clock: fix configuration of J-Type DPLLs to work for OMAP3 and OMAP4 · a36795c1
      Jon Hunter 提交于
      J-Type DPLLs have additional configuration parameters that need to
      be programmed when setting the multipler and divider for the DPLL.
      These parameters being the sigma delta divider (SD_DIV) for the DPLL
      and the digital controlled oscillator (DCO) to be used by the DPLL.
      
      The current code is implemented specifically to configure the
      OMAP3630 PER J-Type DPLL. The OMAP4430 USB DPLL is also a J-Type DPLL
      and so this code needs to be updated to work for both OMAP3 and OMAP4
      devices and any other future devices that have J-TYPE DPLLs.
      
      For the OMAP3630 PER DPLL both the SD_DIV and DCO paramenters are
      used but for the OMAP4430 USB DPLL only the SD_DIV field is used.
      The current implementation will only program the SD_DIV and DCO
      fields if the DPLL has both and hence this does not work for
      OMAP4430.
      
      In order to make the code more generic add two new fields to the
      dpll_data structure for the SD_DIV field and DCO field bit-masks
      and only program these fields if the masks are defined for a specific
      DPLL. This simplifies the code and allows us to remove the flag
      DPLL_NO_DCO_SEL.
      
      Tested on OMAP36xx Zoom3 and OMAP4 Blaze.
      Signed-off-by: NJon Hunter <jon-hunter@ti.com>
      [paul@pwsan.com: removed explicit inlining and added '_' prefix on lookup_*()
       functions; added testing info to commit message; added 35xx comments back in]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      a36795c1
    • C
      OMAP3: clock: Update clock domain name for mcspi fck · b183aaf7
      Charulatha V 提交于
      Update clock3xxx_data for mcspi1-4 with appropriate clock domain name.
      Signed-off-by: NCharulatha V <charu@ti.com>
      Signed-off-by: NGovindraj.R <govindraj.raja@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      b183aaf7
    • P
      OMAP3: clock: clarify usage of struct clksel_rate.flags and struct omap_clk.cpu · 553d239a
      Paul Walmsley 提交于
      Clarify the usage of the struct omap_clk.cpu flags (e.g., CK_*) to use
      bits only for individual SoC variants (e.g., CK_3430ES1, CK_3505,
      etc.).  Superset flags, such as CK_3XXX or CK_AM35XX, are now defined
      as disjunctions of individual SoC variant flags.  This simplifies the
      definition and use of these flags.  struct omap_clk record definitions
      can now simply specify the bitmask of actual SoCs that the records are
      valid for.  The clock init code can simply set a single CPU type mask
      bit for the SoC that is currently in use, and test against that,
      rather than needing to set some combination of flags.
      
      Similarly, clarify the use of struct clksel_rate.flags.  The bit
      allocated for RATE_IN_3XXX has been reassigned, and RATE_IN_3XXX has
      been defined as a disjunction of the 34xx and 36xx rate flags.  The
      advantages are the same as the above.
      
      Clarify the usage of struct omap_clk.cpu flags such as CK_34XX to only
      apply to the SoCs that they name, e.g., OMAP34xx chips.  The previous
      practice caused significantly different SoCs, such as OMAP36xx, to be
      included in CK_34XX.  In my opinion, this is much more intuitive.
      
      Similarly, clarify the use of struct clksel_rate.flags, such that
      RATE_IN_3430ES2PLUS now only applies to 34xx chips with ES level >= 2
      - it does not apply to OMAP36xx.
      
      ...
      
      At some point, it probably makes sense to collapse the CK_* and
      RATE_IN_* flags together into a single bitfield, and possibly use the
      existing CHIP_IS_OMAP* flags for platform detection.
      
      ...
      
      This all seems to work fine on OMAP34xx and OMAP36xx Beagle.  Not sure
      if it works on Sitara or the TI816X, unfortunately I don't have any
      here to test with.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      553d239a
    • B
      OMAP3: clock data: Add "wkup_clkdm" in sr1_fck and sr2_fck · ae4b4fc1
      Benoit Cousson 提交于
      The smartreflex modules belong to an ALWON_FCLK clock domain that
      does not have any SW control. The gating of that interface clock
      is triggered by a transition of the WKUP clock domain to idle.
      
      Attach both smartreflex instances on OMAP3 to the WKUP clock domain.
      
      The missing clock domain field in srX_fck clock nodes was reported by
      Kevin during the discussion about smartreflex on OMAP3:
      https://patchwork.kernel.org/patch/199342/Signed-off-by: NBenoit Cousson <b-cousson@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      ae4b4fc1
    • P
      OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files · 59fb659b
      Paul Walmsley 提交于
      In preparation for adding OMAP4-specific PRCM accessor/mutator
      functions, split the existing OMAP2/3 PRCM code into OMAP2/3-specific
      files.  Most of what was in mach-omap2/{cm,prm}.{c,h} has now been
      moved into mach-omap2/{cm,prm}2xxx_3xxx.{c,h}, since it was
      OMAP2xxx/3xxx-specific.
      
      This process also requires the #includes in each of these files to be
      changed to reference the new file name.  As part of doing so, add some
      comments into plat-omap/sram.c and plat-omap/mcbsp.c, which use
      "sideways includes", to indicate that these users of the PRM/CM includes
      should not be doing so.
      
      Thanks to Felipe Contreras <felipe.contreras@gmail.com> for comments on this
      patch.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Jarkko Nikula <jhnikula@gmail.com>
      Cc: Peter Ujfalusi <peter.ujfalusi@nokia.com>
      Cc: Liam Girdwood <lrg@slimlogic.co.uk>
      Cc: Omar Ramirez Luna <omar.ramirez@ti.com>
      Acked-by: NOmar Ramirez Luna <omar.ramirez@ti.com>
      Cc: Felipe Contreras <felipe.contreras@gmail.com>
      Acked-by: NFelipe Contreras <felipe.contreras@gmail.com>
      Cc: Greg Kroah-Hartman <greg@kroah.com>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Reviewed-by: NKevin Hilman <khilman@deeprootsystems.com>
      Tested-by: NKevin Hilman <khilman@deeprootsystems.com>
      Tested-by: NRajendra Nayak <rnayak@ti.com>
      Tested-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      59fb659b
  19. 21 12月, 2010 1 次提交
  20. 10 12月, 2010 2 次提交
  21. 01 12月, 2010 1 次提交
  22. 09 10月, 2010 2 次提交
    • P
      OMAP: control: move plat-omap/control.h to mach-omap2/control.h · 4814ced5
      Paul Walmsley 提交于
      Only OMAP2+ platforms have the System Control Module (SCM) IP block.
      In the past, we've kept the SCM header file in plat-omap.  This has
      led to abuse - device drivers including it; includes being added that
      create implicit dependencies on OMAP2+ builds; etc.
      
      In response, move the SCM headers into mach-omap2/.
      
      As part of this, remove the direct SCM access from the OMAP UDC
      driver.  It was clearly broken.  The UDC code needs an indepth review for
      use on OMAP2+ chips.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Cory Maccarrone <darkstar6262@gmail.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      4814ced5
    • P
      OMAP3xxx: clock: add clkdev aliases for McBSP fclk source switching · 829e5b12
      Paul Walmsley 提交于
      The OMAP3 clock tree already contains the infrastructure to support
      clock framework-based McBSP functional clock source switching.  But it
      did not contain the clkdev aliases for the McBSP code to refer to the
      parent clocks in an SoC integration-neutral way.  So, add the clkdev
      aliases for the parent clocks.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      829e5b12
  23. 30 9月, 2010 1 次提交
  24. 28 9月, 2010 1 次提交
  25. 03 9月, 2010 1 次提交
  26. 16 8月, 2010 1 次提交