1. 05 Mar, 2010 1 commit
  2. 02 Mar, 2010 1 commit
  3. 01 Mar, 2010 1 commit
  4. 26 Feb, 2010 2 commits
  5. 25 Feb, 2010 1 commit
  6. 24 Feb, 2010 1 commit
  7. 22 Feb, 2010 7 commits
  8. 20 Feb, 2010 3 commits
  9. 19 Feb, 2010 3 commits
  10. 18 Feb, 2010 2 commits
  11. 17 Feb, 2010 1 commit
  12. 11 Feb, 2010 7 commits
  13. 08 Feb, 2010 1 commit
  14. 04 Feb, 2010 8 commits
  15. 01 Feb, 2010 1 commit
    • Alberto Panizzo's avatar
      Input: add imx-keypad driver to support the IMX Keypad Port · 76cdc083
      Alberto Panizzo authored
      The IMX family of Application Processors is shipped with a Keypad Port
      supported by this driver.
      
      The peripheral can control up to an 8x8 matrix key pad where all the
      scanning is done via software.  The hardware provides two interrupts:
      one for key presses (KDI) and one for all key releases (KRI). There is
      also a simple circuit for glitch reduction (said for synchronization)
      made by two series of 3 D-latches clocked by the keypad-clock that
      stabilize the interrupts sources. KDI and KRI are fired only if the
      respective conditions are maintained for at last 4 keypad-clock cycle.
      
      Since those circuits are poor for a correct debounce process (the
      keypad-clock frequency is 32K and bounces longer than 94us are not
      masked) the driver, when an interrupt arrives, samples the matrix
      with a period of 10ms until the readins are stable for
      IMX_KEYPAD_SCANS_FOR_STABILITY times (currently set at 3). After
      getting stable result appropriate events are sent through the input
      stack.
      
      If some keys are maintained pressed, the driver continues to scan
      the matrix with a longer period (60ms) to catch possible multiple
      key presses without overloading the cpu. This process ends when all
      keys are released.
      
      This driver is tested to build in kernel or as a module and follow
      the specification of Freescale Application processors:
      i.MX25 i.MX27 i.MX31 i.MX35 i.MX51 especially tested on i.MX31.
      Signed-off-by: default avatarAlberto Panizzo <maramaopercheseimorto@gmail.com>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      76cdc083