1. 17 3月, 2015 1 次提交
  2. 15 1月, 2015 1 次提交
    • T
      ARM: OMAP2+: Fix ti81xx devtype · e226ebe9
      Tony Lindgren 提交于
      Otherwise we get error "Cannot detect omap type!" and many
      things can fail with following:
      
      Unhandled fault: imprecise external abort (0xc06) at 0xc6031fb0
      
      This is because the omap_type is being used to set up th SoC
      specific functions for omaps.
      
      Cc: Brian Hutchinson <b.hutchman@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      e226ebe9
  3. 11 12月, 2014 1 次提交
  4. 26 8月, 2014 1 次提交
  5. 16 6月, 2014 1 次提交
  6. 20 5月, 2014 1 次提交
  7. 08 5月, 2014 1 次提交
  8. 01 3月, 2014 2 次提交
  9. 09 10月, 2013 1 次提交
    • N
      ARM: OMAP5: id: Remove ES1.0 support · aa2f4b16
      Nishanth Menon 提交于
      OMAP5 ES1.0 was intended as a test chip and has major register level
      differences w.r.t ES2.0 revision of the chip. All register defines,
      dts support has been solely added for ES2.0 version of the chip.
      Further, all ES1.0 chips and platforms are supposed to have been
      removed from circulation. Hence, there is no need to further retain
      any resemblence of ES1.0 support in id detection code.
      
      Remove the omap_revision handling and BUG() instead to prevent folks
      who mistakenly try an older unsupported chip and report bogus errors.
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Acked-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      aa2f4b16
  10. 04 10月, 2013 1 次提交
  11. 13 8月, 2013 1 次提交
  12. 18 6月, 2013 2 次提交
  13. 12 6月, 2013 3 次提交
  14. 10 5月, 2013 1 次提交
    • T
      ARM: OMAP2+: Remove bogus IS_ERR_OR_NULL checking from id.c · b1dd11d6
      Tony Lindgren 提交于
      Commit 6770b211 (ARM: OMAP2+: Export SoC information to userspace)
      had some broken return value handling as noted by Russell King:
      
      +       soc_dev = soc_device_register(soc_dev_attr);
      +       if (IS_ERR_OR_NULL(soc_dev)) {
      +               kfree(soc_dev_attr);
      +               return;
      +       }
      +
      +       parent = soc_device_to_device(soc_dev);
      +       if (!IS_ERR_OR_NULL(parent))
      +               device_create_file(parent, &omap_soc_attr);
      
      This is nonsense.  For the first, IS_ERR() is sufficient.  For the second,
      tell me what error checking is required in the return value of this
      function:
      
      struct device *soc_device_to_device(struct soc_device *soc_dev)
      {
              return &soc_dev->dev;
      }
      
      when you've already determined that the passed soc_dev is a valid pointer.
      If you read the comments against the prototype:
      
      /**
       * soc_device_to_device - helper function to fetch struct device
       * @soc: Previously registered SoC device container
       */
      struct device *soc_device_to_device(struct soc_device *soc);
      
      if "soc" is valid, it means the "previously registered SoC device container"
      must have succeeded and that can only happen if the struct device has been
      registered.  Ergo, there will always be a valid struct device pointer for
      any registered SoC device container.  Therefore, if soc_device_register()
      succeeds, then the return value from soc_device_to_device() will always be
      valid and no error checking of it is required.
      
      Simples.  The rule as ever applies here: get to know the APIs your using
      and don't fumble around in the dark hoping that you'll get this stuff
      right.
      
      Fix it as noted by Russell.
      Reported-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      b1dd11d6
  15. 09 5月, 2013 1 次提交
  16. 09 4月, 2013 2 次提交
  17. 19 3月, 2013 1 次提交
  18. 02 2月, 2013 1 次提交
  19. 01 2月, 2013 1 次提交
  20. 15 11月, 2012 1 次提交
  21. 09 11月, 2012 1 次提交
  22. 21 9月, 2012 1 次提交
  23. 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
  24. 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
  25. 09 7月, 2012 1 次提交
  26. 05 7月, 2012 1 次提交
  27. 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
  28. 11 5月, 2012 1 次提交
  29. 10 5月, 2012 1 次提交
  30. 06 3月, 2012 1 次提交
  31. 01 3月, 2012 1 次提交
  32. 20 12月, 2011 2 次提交
  33. 14 12月, 2011 2 次提交