RFC rc: add RC5-SZ encoder and utilize encoders in nuvoton-cir
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest3 patches 0 repliesNew
- v1 RFC3 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- (Hopefully) fixed all buffer indexing issues
- Write samples to fifo even if if encoded result won't completely fit
- Check filter mask in encoder
- Append some trailing ir silence to the encoded result
- Some cleanups and readability improvements
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | rc-core: Add Manchester encoder (phase encoder) support to rc-coredrivers/ drivers/ | +72 | 0 replies | |
| 2/3 | ir-rc5-sz: Add ir encoding supportdrivers/ | +39 | 0 replies | |
| 3/3 | nuvoton-cir: Add support for writing wakeup samples via sysfs filter callbackdrivers/ drivers/ include/ | +121 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFCv2 PATCH 0/3] rc: add RC5-SZ encoder and utilize encoders in nuvoton-cir
This patchset is an improved version of an earlier attempt to add RC5-SZ encoder to ir-core. The set is based on a series posted by James Hogan (rc: ir-raw: Add encode, implement NEC encode).
This set extends the series by adding a generic RC-5 encoder and adds support for it to RC-5-SZ protocol.
In addition nuvoton-cir driver is modified to read wakeup filters from sysfs and utilize encoding to convert the scancodes to format understood by the underlying hardware.
Changes in v2:
- (Hopefully) fixed all buffer indexing issues
- Write samples to fifo even if if encoded result won't completely fit
- Check filter mask in encoder
- Append some trailing ir silence to the encoded result
- Some cleanups and readability improvements
Antti Seppälä (3):
rc-core: Add Manchester encoder (phase encoder) support to rc-core
ir-rc5-sz: Add ir encoding support
nuvoton-cir: Add support for writing wakeup samples via sysfs filter callback
drivers/media/rc/ir-raw.c | 56 +++++++++++++++++ drivers/media/rc/ir-rc5-sz-decoder.c | 39 ++++++++++++ drivers/media/rc/nuvoton-cir.c | 119 +++++++++++++++++++++++++++++++++++ drivers/media/rc/nuvoton-cir.h | 1 + drivers/media/rc/rc-core-priv.h | 16 +++++ include/media/rc-core.h | 1 + 6 files changed, 232 insertions(+)
Signature · 1 line
1.8.3.2