1. 09 Dec, 2018 1 commit
    • Tony Lindgren's avatar
      Input: omap-keypad - fix idle configuration to not block SoC idle states · e2ca26ec
      Tony Lindgren authored
      With PM enabled, I noticed that pressing a key on the droid4 keyboard will
      block deeper idle states for the SoC. Let's fix this by using IRQF_ONESHOT
      and stop constantly toggling the device OMAP4_KBD_IRQENABLE register as
      suggested by Dmitry Torokhov <dmitry.torokhov@gmail.com>.
      
      From the hardware point of view, looks like we need to manage the registers
      for OMAP4_KBD_IRQENABLE and OMAP4_KBD_WAKEUPENABLE together to avoid
      blocking deeper SoC idle states. And with toggling of OMAP4_KBD_IRQENABLE
      register now gone with IRQF_ONESHOT, also the SoC idle state problem is
      gone during runtime. We still also need to clear OMAP4_KBD_WAKEUPENABLE in
      omap4_keypad_close() though to pair it with omap4_keypad_open() to prevent
      blocking deeper SoC idle states after rmmod omap4-keypad.
      Reported-by: default avatarPavel Machek <pavel@ucw.cz>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      e2ca26ec
  2. 03 Dec, 2018 6 commits
  3. 15 Nov, 2018 1 commit
  4. 12 Nov, 2018 7 commits
  5. 22 Oct, 2018 1 commit
  6. 19 Oct, 2018 1 commit
  7. 17 Oct, 2018 1 commit
  8. 15 Oct, 2018 4 commits
  9. 12 Oct, 2018 1 commit
    • Hans de Goede's avatar
      Input: of_touchscreen - add support for touchscreen-min-x|y · d9265e8a
      Hans de Goede authored
      Some touchscreens, depending on the firmware and/or the digitizer, report
      coordinates which never reach 0 along one or both of their axis.
      
      This has been seen for example on the Silead touchscreens on a Onda V891w
      and a Point of View mobii TAB-P800w(v2.0).
      
      This commit adds support for touchscreen-min-x and touchscreen-min-y
      device-properties which can be set to communicate the actual start
      coordinates (rather then 0,0) to userspace.
      
      This commit also drop the "(in pixels)" comment from the documentation
      of the touchscreen-size-x and touchscreen-size-y properties. The comment
      suggested that there is a relation between the range of reported
      coordinates and the display resolution, which is only true for some
      devices. The "(in pixels)" comment is replaced with "(maximum x coordinate
      reported + 1)" to mirror the language describing the new touchscreen-min-x
      and -min-y properties.
      
      When set this fixes e.g. not being able to click things in the GNOME3
      top-bar on the 2 example tablets.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      d9265e8a
  10. 11 Oct, 2018 2 commits
  11. 05 Oct, 2018 5 commits
  12. 01 Oct, 2018 3 commits
  13. 29 Sep, 2018 3 commits
  14. 18 Sep, 2018 4 commits