Skip to content
  1. Jul 21, 2023
  2. Jul 19, 2023
    • Artur Weber's avatar
      Input: mms114 - add support for touch keys · bf93349b
      Artur Weber authored
      
      
      MELFAS MMS114 and similar touchscreens have support for touch keys.
      Enable support of them in the driver. The keycodes to emit can be
      controlled by the linux,keycodes DT property.
      
      Sidenote - the MAX_TOUCHKEYS value is set to 15, as that's the
      maximum value that the ID field can contain. I don't have access
      to any datasheets that could confirm or deny whether this is accurate.
      
      Most downstream drivers I've been able to find only use up to 2 keys
      (though I did find a driver that mentioned up to 4, but only 2 were
      used). They don't have any checks for a maximum keycode value, it is
      just extracted from the ID bits (0xf mask).
      
      The drivers I've been able to find also don't use touch ID 0; I assume
      that it is never used, so the keycodes provided in the DT start from
      touch ID 1. I suppose this is in-line with the regular behavior
      for touch IDs in touchscreen events, as there the provided touch ID
      is always lowered by 1, which would cause an overflow if it was 0...
      Just in case, we quietly return if the touch ID is set to 0 here.
      
      The implementation of the linux,keycodes property handling code was
      adapted from the msg2638 driver.
      
      Signed-off-by: default avatarArtur Weber <aweber.kernel@gmail.com>
      Link: https://lore.kernel.org/r/20230714100424.29798-3-aweber.kernel@gmail.com
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      bf93349b
    • Artur Weber's avatar
      dt-bindings: mms114: Add linux,keycodes property for touch keys · 21c133be
      Artur Weber authored
      
      
      MELFAS MMS114 and similar touchscreens have support for touch keys.
      Add the linux,keycodes property which can be used to set up the
      keycodes for the touch keys.
      
      Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
      Signed-off-by: default avatarArtur Weber <aweber.kernel@gmail.com>
      Link: https://lore.kernel.org/r/20230714100424.29798-2-aweber.kernel@gmail.com
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      21c133be
    • Samuel Holland's avatar
      Input: da9063 - add wakeup support · d7781232
      Samuel Holland authored
      
      
      Mark the IRQ as a wake IRQ so it will be enabled during system suspend.
      
      Signed-off-by: default avatarSamuel Holland <samuel.holland@sifive.com>
      Link: https://lore.kernel.org/r/20230717192004.1304287-1-samuel.holland@sifive.com
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      d7781232
  3. Jul 18, 2023
  4. Jul 14, 2023
  5. Jul 13, 2023
  6. Jul 11, 2023
  7. Jul 08, 2023