Skip to contentSkip to conversation

media: rc: add keymap for minix-neo remote

PATCH New Christian Hewitt 1 participant 1 message Feb 1, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: rc: add keymap for minix-neo remote

Add a keymap and bindings for the simple IR (NEC) remote used with Minix 'NEO' branded Android STB devices.

---
 .../devicetree/bindings/media/rc.yaml         |  1 +
 drivers/media/rc/keymaps/Makefile             |  1 +
 drivers/media/rc/keymaps/rc-minix-neo.c       | 55 +++++++++++++++++++
 include/media/rc-map.h                        |  1 +
 4 files changed, 58 insertions(+)
 create mode 100644 drivers/media/rc/keymaps/rc-minix-neo.c
Documentation/devicetree/bindings/media/rc.yaml +1 -0
index 946441b4e1a5..cbffdd6a470d 100644
@@ -93,6 +93,7 @@ properties:
       - rc-medion-x10
       - rc-medion-x10-digitainer
       - rc-medion-x10-or2x
+      - rc-minix-neo
       - rc-msi-digivox-ii
       - rc-msi-digivox-iii
       - rc-msi-tvanywhere
drivers/media/rc/keymaps/Makefile +1 -0
index b252a1d2ebd6..b7f53f44c5c8 100644
@@ -70,6 +70,7 @@ obj-$(CONFIG_RC_MAP) += rc-adstech-dvb-t-pci.o \
 			rc-medion-x10.o \
 			rc-medion-x10-digitainer.o \
 			rc-medion-x10-or2x.o \
+			rc-minix-neo.o \
 			rc-msi-digivox-ii.o \
 			rc-msi-digivox-iii.o \
 			rc-msi-tvanywhere.o \
drivers/media/rc/keymaps/rc-minix-neo.c new file +55 -0

55 lines not on this page · raw message

include/media/rc-map.h +1 -0
index 999b750bc6b8..a6fca9cc761f 100644
@@ -273,6 +273,7 @@ struct rc_map *rc_map_get(const char *name);
 #define RC_MAP_MEDION_X10                "rc-medion-x10"
 #define RC_MAP_MEDION_X10_DIGITAINER     "rc-medion-x10-digitainer"
 #define RC_MAP_MEDION_X10_OR2X           "rc-medion-x10-or2x"
+#define RC_MAP_MINIX_NEO                 "rc-minix-neo"
 #define RC_MAP_MSI_DIGIVOX_II            "rc-msi-digivox-ii"
 #define RC_MAP_MSI_DIGIVOX_III           "rc-msi-digivox-iii"
 #define RC_MAP_MSI_TVANYWHERE            "rc-msi-tvanywhere"
Signature · 1 line
2.17.1