aboutsummaryrefslogtreecommitdiff
path: root/include/media/ir-kbd-i2c.h
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2014-01-17 10:58:49 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-02-06 09:18:57 -0200
commit00942d1a1bd93ac108c1b92d504c568a37be1833 (patch)
tree34c0e172aac0ec1ebbb5bb27cf33703c96c44262 /include/media/ir-kbd-i2c.h
parent324a6673a8635f050b68d78066ba25a2a17c2817 (diff)
[media] media: rc: add sysfs scancode filtering interface
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: James 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: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media/ir-kbd-i2c.h')
0 files changed, 0 insertions, 0 deletions