OpenCloudOS-Kernel/Documentation/media
Sean Young 0751d33c27 [media] rc: change wakeup_protocols to list all protocol variants
For IR wakeup, a driver has to program the hardware to wakeup at a
specific IR sequence, so it makes no sense to allow multiple wakeup
protocols to be selected. In the same manner the sysfs interface only
allows one scancode to be provided.

In addition, we need to know the specific variant of the protocol.

In short, these changes are made to the wakeup_protocols sysfs entry:
 - list all the protocol variants rather than the protocol groups,
   e.g. "nec nec-x nec-32" rather than just "nec".
 - only allow one protocol variant to be selected rather than multiple
 - wakeup_filter can only be set once a protocol has been selected in
   wakeup_protocols.

This is an API change, however the only user of this API is the img-ir,
but the wakeup code was never merged to mainline, so it was never used.

Signed-off-by: Sean Young <sean@mess.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Sifan Naeem <sifan.naeem@imgtec.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-01-30 12:15:12 -02:00
..
dvb-drivers Doc: Correct typo, "Introdution" => "Introduction" 2016-12-01 10:44:08 -07:00
kapi [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
uapi [media] rc: change wakeup_protocols to list all protocol variants 2017-01-30 12:15:12 -02:00
v4l-drivers Merge branch 'patchwork' into v4l_for_linus 2016-12-15 08:38:35 -02:00
.gitignore docs-rst: media: build SVG from graphviz files 2016-11-30 17:07:54 -07:00
Makefile Merge branch 'patchwork' into v4l_for_linus 2016-12-15 08:38:35 -02:00
audio.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
ca.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
cec.h.rst.exceptions [media] docs-rst: fix cec bad cross-references 2016-09-09 09:54:21 -03:00
conf.py doc-rst: define PDF's of the media folder 2016-09-01 08:49:33 -06:00
conf_nitpick.py [media] conf_nitpick.py: ignore C domain data used on vb2 2016-09-09 10:18:07 -03:00
dmx.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
frontend.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
index.rst docs-rst: fix LaTeX \DURole renewcommand with Sphinx 1.3+ 2016-11-16 15:20:12 -07:00
intro.rst docs-rst: auto-generate PDF image files 2016-11-16 15:20:59 -07:00
lirc.h.rst.exceptions [media] doc-rst: Fix LIRC_GET_FEATURES references 2016-07-11 11:47:39 -03:00
media.h.rst.exceptions [media] doc-rst: add media.h header to media contrller 2016-07-09 09:49:05 -03:00
media_kapi.rst [media] doc-rst: v4l: Add documentation on CSI-2 bus configuration 2016-11-18 13:27:03 -02:00
media_uapi.rst [media] doc-rst: better organize the media books 2016-07-23 08:03:24 -03:00
net.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
typical_media_device.svg Merge branch 'patchwork' into v4l_for_linus 2016-12-15 08:38:35 -02:00
video.h.rst.exceptions [media] docs-rst exceptions: use C domain references for DVB headers 2016-09-09 09:45:24 -03:00
videodev2.h.rst.exceptions [media] vidioc-g-dv-timings.rst: document the new dv_timings flags 2016-11-16 14:37:57 -02:00