RFC rc: Add generic sysfs interface for handling wakeup codes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest5 patches 2 repliesIn review
- v1 RFC4 patches 17 repliesSuperseded
Changes in v2 from the cover letter
- Added wakeup_protocols file to control which protocol to use with
wakeup
- Renamed interface to wakeup_code
- Clean-up device attribute registration
- Ported winbond-cir to use this interface
- Brought interface closer to
https://patchwork.linuxtv.org/patch/21625/
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | rc-core: Add defintions needed for sysfs callbackinclude/ | +17 | 0 replies | |
| 2/5 | rc-core: Add support for reading/writing wakeup codes via sysfsdrivers/ | +165 | 0 replies | |
| 3/5 | rc-loopback: Add support for reading/writing wakeup scancodes via sysfsdrivers/ | +40 | 0 replies | |
| 4/5 | nuvoton-cir: Add support for reading/writing wakeup samples via sysfsdrivers/ drivers/ | +120 | 0 replies | |
| 5/5 | winbond-cir: Add support for reading/writing wakeup scancodes via sysfsdrivers/ | +48 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFCv2 PATCH 0/5] rc: Add generic sysfs interface for handling wakeup codes
I'm resending the patch series as it seems that my initial attempt was not delivered to patchwork or linux-media list. Apologies for duplicate emails to people who may have received the first attempt.
Patches 1 & 2 in this series introduce a simple sysfs file interface for reading and writing wakeup scancodes or ir samples to rc drivers.
The interface is designed to be flexible yet easy enough to adapt to. It can support almost any kind of known wakeup scancode and sample formats.
Patches 3-5 in the series port some existing drivers to use this interface.
Changes in v2:
- Added wakeup_protocols file to control which protocol to use with
wakeup
- Renamed interface to wakeup_code
- Clean-up device attribute registration
- Ported winbond-cir to use this interface
- Brought interface closer to
https://patchwork.linuxtv.org/patch/21625/
Antti Seppälä (5):
rc-core: Add defintions needed for sysfs callback
rc-core: Add support for reading/writing wakeup codes via sysfs
rc-loopback: Add support for reading/writing wakeup scancodes via
sysfs
nuvoton-cir: Add support for reading/writing wakeup samples via sysfs
winbond-cir: Add support for reading/writing wakeup scancodes via
sysfs
drivers/media/rc/nuvoton-cir.c | 118 +++++++++++++++++++++++++++ drivers/media/rc/nuvoton-cir.h | 2 + drivers/media/rc/rc-loopback.c | 40 +++++++++ drivers/media/rc/rc-main.c | 179 +++++++++++++++++++++++++++++++++++++---- drivers/media/rc/winbond-cir.c | 66 ++++++++++----- include/media/rc-core.h | 17 ++++ 6 files changed, 390 insertions(+), 32 deletions(-)
Signature · 1 line
1.8.3.2