1. 06 Feb, 2014 2 commits
    • James Hogan's avatar
      [media] media: rc: add sysfs scancode filtering interface · 00942d1a
      James Hogan authored
      Add and document a generic sysfs based scancode filtering interface for
      making use of IR data matching hardware to filter out uninteresting
      scancodes. Two filters exist, one for normal operation and one for
      filtering scancodes which are permitted to wake the system from suspend.
      
      The following files are added to /sys/class/rc/rc?/:
       - filter: normal scancode filter value
       - filter_mask: normal scancode filter mask
       - wakeup_filter: wakeup scancode filter value
       - wakeup_filter_mask: wakeup scancode filter mask
      
      A new s_filter() driver callback is added which must arrange for the
      specified filter to be applied at the right time. Drivers can convert
      the scancode filter into a raw IR data filter, which can be applied
      immediately or later (for wake up filters).
      Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
      Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
      Cc: linux-media@vger.kernel.org
      Cc: Rob Landley <rob@landley.net>
      Cc: linux-doc@vger.kernel.org
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      00942d1a
    • James Hogan's avatar
      [media] rc: ir-raw: Load ir-sharp-decoder module at init · 324a6673
      James Hogan authored
      Commit 1d184b0b ([media] media: rc: add raw decoder for Sharp
      protocol) added a new raw IR decoder for the sharp protocol, but didn't
      add the code to load the module at init as is done for other raw
      decoders, so add that code now.
      Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      324a6673
  2. 04 Feb, 2014 38 commits