aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/rc-map.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-04-03 20:16:59 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-03 20:16:59 -0400
commitef1c4a6fa91bbbe9b09f770d28eba31a9edf770c (patch)
tree52f5d175031c553160d14890e876ffc5432d2467 /include/media/rc-map.h
parent147a89bc71e7db40f011454a40add7ff2d10f8d8 (diff)
parentf8a695c4b43d02c89b8bba9ba6058fd5db1bc71d (diff)
Merge tag 'media/v4.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media updates from Mauro Carvalho Chehab: - new CEC pin injection code for testing purposes - DVB frontend cxd2099 promoted from staging - new platform driver for Sony cxd2880 DVB devices - new sensor drivers: mt9t112, ov2685, ov5695, ov772x, tda1997x, tw9910.c - removal of unused cx18 and ivtv alsa mixers - the reneseas-ceu driver doesn't depend on soc_camera anymore and moved from staging - removed the mantis_vp3028 driver, unused since 2009 - s5p-mfc: add support for version 10 of the MSP - added a decoder for imon protocol - atomisp: lots of cleanups - imx074 and mt9t031: don't depend on soc_camera anymore, being promoted from staging - added helper functions to better support DVB I2C binding - lots of driver improvements and cleanups * tag 'media/v4.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (438 commits) media: v4l2-ioctl: rename a temp var that stores _IOC_SIZE(cmd) media: fimc-capture: get rid of two warnings media: dvb-usb-v2: fix a missing dependency of I2C_MUX media: uvc: to the right check at uvc_ioctl_enum_framesizes() media: cec-core: fix a bug at cec_error_inj_write() media: tda9840: cleanup a warning media: tm6000: avoid casting just to print pointer address media: em28xx-input: improve error handling code media: zr364xx: avoid casting just to print pointer address media: vivid-radio-rx: add a cast to avoid a warning media: saa7134-alsa: don't use casts to print a buffer address media: solo6x10: get rid of an address space warning media: zoran: don't cast pointers to print them media: ir-kbd-i2c: change the if logic to avoid a warning media: ir-kbd-i2c: improve error handling code media: saa7134-input: improve error handling media: s2255drv: fix a casting warning media: ivtvfb: Cleanup some warnings media: videobuf-dma-sg: Fix a weird cast soc_camera: fix a weird cast on printk ...
Diffstat (limited to 'include/media/rc-map.h')
-rw-r--r--include/media/rc-map.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/media/rc-map.h b/include/media/rc-map.h
index 7046734b3895..bfa3017cecba 100644
--- a/include/media/rc-map.h
+++ b/include/media/rc-map.h
@@ -36,6 +36,7 @@
36#define RC_PROTO_BIT_SHARP BIT_ULL(RC_PROTO_SHARP) 36#define RC_PROTO_BIT_SHARP BIT_ULL(RC_PROTO_SHARP)
37#define RC_PROTO_BIT_XMP BIT_ULL(RC_PROTO_XMP) 37#define RC_PROTO_BIT_XMP BIT_ULL(RC_PROTO_XMP)
38#define RC_PROTO_BIT_CEC BIT_ULL(RC_PROTO_CEC) 38#define RC_PROTO_BIT_CEC BIT_ULL(RC_PROTO_CEC)
39#define RC_PROTO_BIT_IMON BIT_ULL(RC_PROTO_IMON)
39 40
40#define RC_PROTO_BIT_ALL \ 41#define RC_PROTO_BIT_ALL \
41 (RC_PROTO_BIT_UNKNOWN | RC_PROTO_BIT_OTHER | \ 42 (RC_PROTO_BIT_UNKNOWN | RC_PROTO_BIT_OTHER | \
@@ -49,7 +50,8 @@
49 RC_PROTO_BIT_RC6_0 | RC_PROTO_BIT_RC6_6A_20 | \ 50 RC_PROTO_BIT_RC6_0 | RC_PROTO_BIT_RC6_6A_20 | \
50 RC_PROTO_BIT_RC6_6A_24 | RC_PROTO_BIT_RC6_6A_32 | \ 51 RC_PROTO_BIT_RC6_6A_24 | RC_PROTO_BIT_RC6_6A_32 | \
51 RC_PROTO_BIT_RC6_MCE | RC_PROTO_BIT_SHARP | \ 52 RC_PROTO_BIT_RC6_MCE | RC_PROTO_BIT_SHARP | \
52 RC_PROTO_BIT_XMP | RC_PROTO_BIT_CEC) 53 RC_PROTO_BIT_XMP | RC_PROTO_BIT_CEC | \
54 RC_PROTO_BIT_IMON)
53/* All rc protocols for which we have decoders */ 55/* All rc protocols for which we have decoders */
54#define RC_PROTO_BIT_ALL_IR_DECODER \ 56#define RC_PROTO_BIT_ALL_IR_DECODER \
55 (RC_PROTO_BIT_RC5 | RC_PROTO_BIT_RC5X_20 | \ 57 (RC_PROTO_BIT_RC5 | RC_PROTO_BIT_RC5X_20 | \
@@ -62,7 +64,7 @@
62 RC_PROTO_BIT_RC6_0 | RC_PROTO_BIT_RC6_6A_20 | \ 64 RC_PROTO_BIT_RC6_0 | RC_PROTO_BIT_RC6_6A_20 | \
63 RC_PROTO_BIT_RC6_6A_24 | RC_PROTO_BIT_RC6_6A_32 | \ 65 RC_PROTO_BIT_RC6_6A_24 | RC_PROTO_BIT_RC6_6A_32 | \
64 RC_PROTO_BIT_RC6_MCE | RC_PROTO_BIT_SHARP | \ 66 RC_PROTO_BIT_RC6_MCE | RC_PROTO_BIT_SHARP | \
65 RC_PROTO_BIT_XMP) 67 RC_PROTO_BIT_XMP | RC_PROTO_BIT_IMON)
66 68
67#define RC_PROTO_BIT_ALL_IR_ENCODER \ 69#define RC_PROTO_BIT_ALL_IR_ENCODER \
68 (RC_PROTO_BIT_RC5 | RC_PROTO_BIT_RC5X_20 | \ 70 (RC_PROTO_BIT_RC5 | RC_PROTO_BIT_RC5X_20 | \
@@ -75,7 +77,7 @@
75 RC_PROTO_BIT_RC6_0 | RC_PROTO_BIT_RC6_6A_20 | \ 77 RC_PROTO_BIT_RC6_0 | RC_PROTO_BIT_RC6_6A_20 | \
76 RC_PROTO_BIT_RC6_6A_24 | \ 78 RC_PROTO_BIT_RC6_6A_24 | \
77 RC_PROTO_BIT_RC6_6A_32 | RC_PROTO_BIT_RC6_MCE | \ 79 RC_PROTO_BIT_RC6_6A_32 | RC_PROTO_BIT_RC6_MCE | \
78 RC_PROTO_BIT_SHARP) 80 RC_PROTO_BIT_SHARP | RC_PROTO_BIT_IMON)
79 81
80#define RC_SCANCODE_UNKNOWN(x) (x) 82#define RC_SCANCODE_UNKNOWN(x) (x)
81#define RC_SCANCODE_OTHER(x) (x) 83#define RC_SCANCODE_OTHER(x) (x)
@@ -211,6 +213,7 @@ struct rc_map *rc_map_get(const char *name);
211#define RC_MAP_HISI_TV_DEMO "rc-hisi-tv-demo" 213#define RC_MAP_HISI_TV_DEMO "rc-hisi-tv-demo"
212#define RC_MAP_IMON_MCE "rc-imon-mce" 214#define RC_MAP_IMON_MCE "rc-imon-mce"
213#define RC_MAP_IMON_PAD "rc-imon-pad" 215#define RC_MAP_IMON_PAD "rc-imon-pad"
216#define RC_MAP_IMON_RSC "rc-imon-rsc"
214#define RC_MAP_IODATA_BCTV7E "rc-iodata-bctv7e" 217#define RC_MAP_IODATA_BCTV7E "rc-iodata-bctv7e"
215#define RC_MAP_IT913X_V1 "rc-it913x-v1" 218#define RC_MAP_IT913X_V1 "rc-it913x-v1"
216#define RC_MAP_IT913X_V2 "rc-it913x-v2" 219#define RC_MAP_IT913X_V2 "rc-it913x-v2"