1. 13 9月, 2012 1 次提交
    • T
      ARM: OMAP: Split plat/hardware.h, use local soc.h for omap2+ · dbc04161
      Tony Lindgren 提交于
      As the plat and mach includes need to disappear for single zImage work,
      we need to remove plat/hardware.h.
      
      Do this by splitting plat/hardware.h into omap1 and omap2+ specific files.
      
      The old plat/hardware.h already has omap1 only defines, so it gets moved
      to mach/hardware.h for omap1. For omap2+, we use the local soc.h
      that for now just includes the related SoC headers to keep this patch more
      readable.
      
      Note that the local soc.h still includes plat/cpu.h that can be dealt
      with in later patches. Let's also include plat/serial.h from common.h for
      all the board-*.c files. This allows making the include files local later
      on without patching these files again.
      
      Note that only minimal changes are done in this patch for the
      drivers/watchdog/omap_wdt.c driver to keep things compiling. Further
      patches are needed to eventually remove cpu_is_omap usage in the drivers.
      
      Also only minimal changes are done to sound/soc/omap/* to remove the
      unneeded includes and to define OMAP44XX_MCPDM_L3_BASE locally so there's
      no need to include omap44xx.h.
      
      While at it, also sort some of the includes in the standard way.
      
      Cc: linux-watchdog@vger.kernel.org
      Cc: alsa-devel@alsa-project.org
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Cc: Jarkko Nikula <jarkko.nikula@bitmer.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Acked-by: NWim Van Sebroeck <wim@iguana.be>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      dbc04161
  2. 12 9月, 2012 1 次提交
    • P
      ARM: OMAP: unwrap strings · 7852ec05
      Paul Walmsley 提交于
      Find and unwrap wrapped strings in the style:
      
      	pr_debug("clockdomain: hardware cannot set/clear wake up of "
      		 "%s when %s wakes up\n", clkdm1->name, clkdm2->name);
      
      Keeping these strings contiguous seems to be the current Linux kernel
      policy.
      
      The offending lines were found with the following command:
      
          pcregrep -rnM '"\s*$\s*"' arch/arm/*omap*
      
      While here, some messages have been clarified, some pr_warning(
      ... calls have been converted to pr_warn( ..., and some printk(KERN_*
      ... have been converted to pr_*.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      7852ec05
  3. 09 7月, 2012 1 次提交
  4. 05 7月, 2012 1 次提交
  5. 12 5月, 2012 1 次提交
    • M
      arm: omap3: am35x: Don't mark missing features as present · 1ce02996
      Mark A. Greer 提交于
      The Chip Identification register on the am35x family of SoCs
      has bits 12, 7:5, and 3:2 marked as reserved and are read as
      zeroes.  Unfortunately, on other omap SoCs, a 0 bit means a
      feature is "Full Use" so the OMAP3_CHECK_FEATURE() macro
      called by omap3_check_features() will incorrectly interpret
      those zeroes to mean that a feature is present even though it
      isn't.  To fix that, the feature bits that are incorrectly
      set (namely, OMAP3_HAS_IVA and OMAP3_HAS_ISP) need to be
      cleared after all of the calls to OMAP3_CHECK_FEATURE() in
      omap3_check_features() are made.
      Signed-off-by: NMark A. Greer <mgreer@animalcreek.com>
      [khilman@ti.com: use soc_is_am35xx() instead of cpu_is_am35xx()]
      Signed-off-by: NKevin Hilman <khilman@ti.com>
      1ce02996
  6. 11 5月, 2012 1 次提交
  7. 10 5月, 2012 1 次提交
  8. 06 3月, 2012 1 次提交
  9. 01 3月, 2012 1 次提交
  10. 20 12月, 2011 2 次提交
  11. 14 12月, 2011 5 次提交
  12. 18 11月, 2011 1 次提交
  13. 08 10月, 2011 1 次提交
    • P
      ARM: OMAP3: PM: fix I/O wakeup and I/O chain clock control detection · b02b9172
      Paul Walmsley 提交于
      The way that we detect which OMAP3 chips support I/O wakeup and
      software I/O chain clock control is broken.
      
      Currently, I/O wakeup is marked as present for all OMAP3 SoCs other
      than the AM3505/3517.  The TI81xx family of SoCs are at present
      considered to be OMAP3 SoCs, but don't support I/O wakeup.  To resolve
      this, convert the existing blacklist approach to an explicit,
      whitelist support, in which only SoCs which are known to support I/O
      wakeup are listed.  (At present, this only includes OMAP34xx,
      OMAP3503, OMAP3515, OMAP3525, OMAP3530, and OMAP36xx.)
      
      Also, the current code incorrectly detects the presence of a
      software-controllable I/O chain clock on several chips that don't
      support it.  This results in writes to reserved bitfields, unnecessary
      delays, and console messages on kernels running on those chips:
      
          http://www.spinics.net/lists/linux-omap/msg58735.html
      
      Convert this test to a feature test with a chip-by-chip whitelist.
      
      Thanks to Dave Hylands <dhylands@gmail.com> for reporting this problem
      and doing some testing to help isolate the cause.  Thanks to Steve
      Sakoman <sakoman@gmail.com> for catching a bug in the first version of
      this patch.  Thanks to Russell King <linux@arm.linux.org.uk> for
      comments.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Dave Hylands <dhylands@gmail.com>
      Cc: Steve Sakoman <sakoman@gmail.com>
      Tested-by: NSteve Sakoman <sakoman@gmail.com>
      Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
      Signed-off-by: NKevin Hilman <khilman@ti.com>
      b02b9172
  14. 15 9月, 2011 5 次提交
  15. 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
  16. 08 7月, 2011 2 次提交
  17. 15 3月, 2011 1 次提交
  18. 18 2月, 2011 1 次提交
  19. 17 2月, 2011 1 次提交
  20. 09 10月, 2010 1 次提交
    • 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
  21. 02 10月, 2010 1 次提交
  22. 28 9月, 2010 1 次提交
  23. 24 9月, 2010 1 次提交
  24. 16 8月, 2010 1 次提交
    • N
      omap3: id: fix 3630 rev detection · 77c0870c
      Nishanth Menon 提交于
      Wrong placement of break causes all revisions of 3630 to be
      detected as 3630 es1.2, we need to break main loop if we have
      an identified chip, default falls through as in the rest of the
      switches in this function.
      
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Sanjeev Premi <premi@ti.com>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      Cc: Manjunath K <manjugk@ti.com>
      Cc: Anand Gadiyar <gadiyar@ti.com>
      Cc: Felipe Balbi <felipe.balbi@nokia.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      77c0870c
  25. 04 8月, 2010 1 次提交
    • A
      OMAP3630: Add ES1.1 and ES1.2 detection · b0a1a6ce
      Anand Gadiyar 提交于
      Add revision detection for ES1.1 and ES1.2. Set default
      revision as ES1.2.
      
      Add CHIP_GE_OMAP3630ES1_1 to detect revisions 1.1 and later.
      This is needed for at least one feature that is broken in
      3630ES1.0 but exists on older (3430 ES3.1) and newer revisions.
      
      Additionally, update some of the CHIP_GE_* macros to use other
      macros for ease of maintenance.
      Signed-off-by: NAnand Gadiyar <gadiyar@ti.com>
      Cc: Nishanth Menon <nm@ti.com>
      Cc: Manjunatha GK <manjugk@ti.com>
      [tony@atomide.com: update to remove fallthrough handling]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      b0a1a6ce
  26. 02 8月, 2010 4 次提交
  27. 25 2月, 2010 1 次提交
    • V
      OMAP3 clock: add support for 192Mhz DPLL4M2 output · 7356f0b2
      Vishwanath BS 提交于
      In 3630, DPLL4M2 output can be 96MHz or 192MHz (for SGX to run at
      192). This patch has changes to support this feature. 96MHz clock is
      generated by dividing 192Mhz clock by 2 using CM_CLKSEL_CORE register.
      SGX can select Core Clock, 192MHz clock or CM_96M_FCLK as it's
      functional clock. In summary changes done are:
      1. Added a feature called omap3_has_192mhz_clk and enabled for 3630
      2. Added a new clock node called omap_192m_alwon_ck
      3. Made omap_96m_alwon_fck to derive its clock from omap_192m_alwon_ck
      Signed-off-by: NVishwanath BS <Vishwanath.bs@ti.com>
      [paul@pwsan.com: fixed whitespace]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      7356f0b2