1. 07 1月, 2006 1 次提交
  2. 06 1月, 2006 8 次提交
  3. 05 1月, 2006 1 次提交
  4. 13 12月, 2005 1 次提交
    • L
      [ARM] 3201/1: PXA27x: Prevent hangup during resume due to inadvertedly... · 1ee9530a
      Lothar Wassmann 提交于
      [ARM] 3201/1: PXA27x: Prevent hangup during resume due to inadvertedly enabling MBREQ (replaces: 3198/1)
      
      Patch from Lothar Wassmann
      
      The patch makes sure, that the ouptut functions of pins are restored
      before restoring the Alternat Function settings, preventing pins from
      being intermediately configured for undefined or unwanted alternate
      functions.
      
      Here is the original comment:
      I've got a PXA270 system that uses GPIO80 as nCS4. This system did
      hang on resume. Digging into the problem I found that the processor
      stalled immediately when restoring the GAFR2_U register which restored
      the alternate function for GPIO80. Since the GPDR registers were
      restored after the GAFR registers, the offending GPIO was configured
      as input at this point.
      Thus the alternate function that was in effect after restoring the
      GAFR was in fact the input function "MBREQ" instead of the output
      function "nCS4". The "PXA27x Processor Family Developer's Manual"
      (Footnote in Table 6-1 on page 6-3) states that:
      "The MBREQ alternate function must not be enabled until the PSSR[RDH]
      bit field is cleared. For more details, see Table 3-15, "PSSR Bit
      Definitions" on page 3-71."
      
      There is another note in the Developer's Manual (chapter 24.4.2
      "GPIO operation as Alternate Function" on page 24-4)
      stating that:
      "Configuring a GPIO for an alternate function that is not defined for
      it causes unpredictable results."
      
      Since some GPIOs have no input function defined, and to prevent
      inadvertedly programming the MBREQ function on some pin, the GAFR
      registers should be restored after the GPDR registers have been
      restored.
      
      Additional provisions have to be made when the MBREQ function is
      actually required. The corresponding GAFR bits should not be restored
      with the regular GAFR restore, but must be set only after the PSSR
      bits have been cleared.
      Signed-off-by: NLothar Wassmann <LW@KARO-electronics.de>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1ee9530a
  5. 01 12月, 2005 1 次提交
  6. 29 11月, 2005 1 次提交
  7. 21 11月, 2005 1 次提交
  8. 16 11月, 2005 1 次提交
  9. 13 11月, 2005 5 次提交
  10. 11 11月, 2005 2 次提交
    • L
      [ARM] 3098/1: pxa2xx disable ssp irq · b216c018
      Liam Girdwood 提交于
      Patch from Liam Girdwood
      
      This patch allows users of the pxa SSP driver to register their own irq
      handlers instead of using the default SSP handler. It also cleans up the
      CKEN clock and irq detection as the values are now stored in a table.
      
      This patch replaces 2845/1
      
      Changes:-
      o Added flags parameter to ssp_init()
      o Added SSP_NO_IRQ flag to disable registering of ssp irq handler (for
      drivers that want to register their own handler)
      o Cleaned up clock and irq detection, values are now stored in table.
      o Added build changes to allow other drivers (e.g audio) to select the
      ssp driver.
      o corgi_ssp.c changed to use new interface.
      Signed-off-by: NLiam Girdwood <liam.girdwood@wolfsonmicro.com>
      Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b216c018
    • R
      [ARM] 3096/1: Add SharpSL Zaurus power and battery management core driver · 078abcf9
      Richard Purdie 提交于
      Patch from Richard Purdie
      
      This patch adds a power and battery management core driver which with
      the addition of the right device files, supports the c7x0 and cxx00
      series of Sharp Zaurus handhelds.
      
      The driver is complex for several reasons. Battery charging is manually
      monitored and controlled. When suspended, the device needs to
      periodically partially resume, check the charging status and then
      re-suspend. It does without bothering the higher linux layers as
      a full resume and re-suspend is unnecessary. The code is carefully
      written to avoid interrupts or calling code outside the module under
      these circumstances. It also vets the various wake up sources and
      monitors the device's power situation.
      
      Hooks to limit the backlight intensity and to notify the battery
      monitoring code of backlight events are connected/added as the
      backlight is one of the biggest users of power on the device.
      Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      078abcf9
  11. 10 11月, 2005 1 次提交
  12. 09 11月, 2005 4 次提交
  13. 07 11月, 2005 1 次提交
  14. 06 11月, 2005 2 次提交
  15. 05 11月, 2005 1 次提交
  16. 02 11月, 2005 1 次提交
  17. 31 10月, 2005 1 次提交
    • T
      [PATCH] fix missing includes · 4e57b681
      Tim Schmielau 提交于
      I recently picked up my older work to remove unnecessary #includes of
      sched.h, starting from a patch by Dave Jones to not include sched.h
      from module.h. This reduces the number of indirect includes of sched.h
      by ~300. Another ~400 pointless direct includes can be removed after
      this disentangling (patch to follow later).
      However, quite a few indirect includes need to be fixed up for this.
      
      In order to feed the patches through -mm with as little disturbance as
      possible, I've split out the fixes I accumulated up to now (complete for
      i386 and x86_64, more archs to follow later) and post them before the real
      patch.  This way this large part of the patch is kept simple with only
      adding #includes, and all hunks are independent of each other.  So if any
      hunk rejects or gets in the way of other patches, just drop it.  My scripts
      will pick it up again in the next round.
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4e57b681
  18. 30 10月, 2005 4 次提交
  19. 29 10月, 2005 1 次提交
  20. 28 10月, 2005 2 次提交