linux/Documentation/media/uapi/rc
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
..
keytable.c.rst Revert "[media] docs-rst: escape [] characters" 2016-07-13 08:43:30 -03:00
lirc-dev-intro.rst [media] doc-rst: reorganize LIRC ReST files 2016-07-12 09:43:04 -03:00
lirc-dev.rst [media] doc-rst: reorganize LIRC ReST files 2016-07-12 09:43:04 -03:00
lirc-func.rst [media] doc-rst: reorganize LIRC ReST files 2016-07-12 09:43:04 -03:00
lirc-get-features.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-get-length.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-get-rec-mode.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-get-rec-resolution.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-get-send-mode.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-get-timeout.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-header.rst [media] doc-rst: add media/uapi/rc/lirc-header.rst 2016-07-11 10:45:28 -03:00
lirc-read.rst [media] docs-rst: fix two wrong :name: tags 2016-09-09 09:58:26 -03:00
lirc-set-measure-carrier-mode.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-set-rec-carrier-range.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-set-rec-carrier.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-set-rec-timeout-reports.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-set-rec-timeout.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-set-send-carrier.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-set-send-duty-cycle.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-set-transmitter-mask.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-set-wideband-receiver.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
lirc-write.rst [media] docs-rst: Convert LIRC uAPI to use C function references 2016-08-22 21:23:46 -03:00
rc-intro.rst [media] doc-rst: rename some RC files 2016-07-10 07:50:12 -03:00
rc-sysfs-nodes.rst [media] rc: change wakeup_protocols to list all protocol variants 2017-01-30 12:15:12 -02:00
rc-table-change.rst [media] doc-rst: rename some RC files 2016-07-10 07:50:12 -03:00
rc-tables.rst [media] docs-rst: add tabularcolumns to all tables 2016-08-22 10:07:12 -03:00
remote_controllers.rst [media] doc-rst: better organize the media books 2016-07-23 08:03:24 -03:00