From: "Antti Seppälä" <a.seppala@gmail.com>
To: linux-media@vger.kernel.org
Cc: "Mauro Carvalho Chehab" <m.chehab@samsung.com>,
"Sean Young" <sean@mess.org>,
"Antti Seppälä" <a.seppala@gmail.com>
Subject: [RFCv2 PATCH 0/5] rc: Add generic sysfs interface for handling wakeup codes
Date: Sun, 26 Jan 2014 23:50:21 +0200 [thread overview]
Message-ID: <1390773026-567-1-git-send-email-a.seppala@gmail.com> (raw)
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(-)
--
1.8.3.2
next reply other threads:[~2014-01-26 21:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-26 21:50 Antti Seppälä [this message]
2014-01-26 21:50 ` [RFCv2 PATCH 1/5] rc-core: Add defintions needed for sysfs callback Antti Seppälä
2014-01-26 21:50 ` [RFCv2 PATCH 2/5] rc-core: Add support for reading/writing wakeup codes via sysfs Antti Seppälä
2014-01-26 21:50 ` [RFCv2 PATCH 3/5] rc-loopback: Add support for reading/writing wakeup scancodes " Antti Seppälä
2014-01-26 21:50 ` [RFCv2 PATCH 4/5] nuvoton-cir: Add support for reading/writing wakeup samples " Antti Seppälä
2014-01-26 21:50 ` [RFCv2 PATCH 5/5] winbond-cir: Add support for reading/writing wakeup scancodes " Antti Seppälä
2014-01-30 19:24 ` Sean Young
2014-01-31 13:34 ` Antti Seppälä
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1390773026-567-1-git-send-email-a.seppala@gmail.com \
--to=a.seppala@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=m.chehab@samsung.com \
--cc=sean@mess.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox