mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 13:47:14 +07:00
ed63b9c873
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE+QmuaPwR3wnBdVwACF8+vY7k4RUFAl0kcloACgkQCF8+vY7k 4RU0Mg//c0BK1VjPfh45k3HxDvvoQnaTlQjo1ApvEBa64TR10/JxXi9U+QuhY1H1 QEOjJJrLe3OdWrcBwFT5s15cBdRKn6jB8s67FgN7CFA8IzG4xBjOovOP4MXYXztz TjNlkLwWkkwiQ4C99HInSsmI36ZbnEI3PloJXMrEBnsXQIazjRzMeJ3DKZggSSkN jhedASDgnHgSun0rCFh0mN8k2kiMUZ/XxVIqiCuWT1AzyycoHp+HXm9YilnxD7q0 43X6v4HtxrfJMQWQ8z3Pxb4McHc1j3L8S7Mgu9oSf7oJb12grsDxokytUCnmhFz8 gvNgx3D2OTQk2nrQlxcfgrbqMs2KXLkXIiqg/dZ35hpNfXIOxiOx77zqqIsg2WHr j4qaDcw+TNQU1eUIm0dIcPFi82EMOjAUqHRrvsg94EbBQ1dUniE4GCkCHFU+2TLz YIaWXv/WmavrWTydsoIKqbBBOR9OY9+PDjkxgHsSVPSZ9sAskcPQ5MJdkatoZcu/ glZJD8HEe/w1vi1Ob3ZsXU7KzNWAhIkWvtEWsxAuFGzr8uNfwmzM2a5giNLIV94b W+ZYhQT363uliVSOPFRjqqkVliC/HmV2lcNVzlVymWgeKhRj8fI5JqrDhpLz0XD+ 9Rn90mweCzCSw7/fj/keP9mEnMce4XdkkDB/Pyf+dIMiLMOczoU= =ABgl -----END PGP SIGNATURE----- Merge tag 'media/v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media Pull media updates from Mauro Carvalho Chehab: - new Atmel microship ISC driver - coda has gained support for mpeg2 and mpeg4 - cxusb gained support for analog TV - rockchip staging driver was split into two separate staging drivers - added a new staging driver for Allegro DVT video IP core - added a new staging driver for Amlogic Meson video decoder - lots of improvements and cleanups * tag 'media/v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (398 commits) media: allegro: use new v4l2_m2m_ioctl_try_encoder_cmd funcs media: doc-rst: Fix typos media: radio-raremono: change devm_k*alloc to k*alloc media: stv0297: fix frequency range limit media: rc: Prefer KEY_NUMERIC_* for number buttons on remotes media: dvb_frontend: split dvb_frontend_handle_ioctl function media: mceusb: disable "nonsensical irdata" messages media: rc: remove redundant dev_err message media: cec-notifier: add new notifier functions media: cec: add struct cec_connector_info support media: cec-notifier: rename variables, check kstrdup and n->conn_name media: MAINTAINERS: Add maintainers for Media Controller media: staging: media: tegra-vde: Defer dmabuf's unmapping media: staging: media: tegra-vde: Add IOMMU support media: hdpvr: fix locking and a missing msleep media: v4l2: Test type instead of cfg->type in v4l2_ctrl_new_custom() media: atmel: atmel-isc: fix i386 build error media: v4l2-ctrl: Move compound control initialization media: hantro: Use vb2_get_buffer media: pci: cx88: Change the type of 'missed' to u64 ...
90 lines
1.9 KiB
C
90 lines
1.9 KiB
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (C) 2017 Sigma Designs
|
|
*/
|
|
|
|
#include <linux/module.h>
|
|
#include <media/rc-map.h>
|
|
|
|
static struct rc_map_table tango_table[] = {
|
|
{ 0x4cb4a, KEY_POWER },
|
|
{ 0x4cb48, KEY_FILE },
|
|
{ 0x4cb0f, KEY_SETUP },
|
|
{ 0x4cb4d, KEY_SUSPEND },
|
|
{ 0x4cb4e, KEY_VOLUMEUP },
|
|
{ 0x4cb44, KEY_EJECTCD },
|
|
{ 0x4cb13, KEY_TV },
|
|
{ 0x4cb51, KEY_MUTE },
|
|
{ 0x4cb52, KEY_VOLUMEDOWN },
|
|
|
|
{ 0x4cb41, KEY_NUMERIC_1 },
|
|
{ 0x4cb03, KEY_NUMERIC_2 },
|
|
{ 0x4cb42, KEY_NUMERIC_3 },
|
|
{ 0x4cb45, KEY_NUMERIC_4 },
|
|
{ 0x4cb07, KEY_NUMERIC_5 },
|
|
{ 0x4cb46, KEY_NUMERIC_6 },
|
|
{ 0x4cb55, KEY_NUMERIC_7 },
|
|
{ 0x4cb17, KEY_NUMERIC_8 },
|
|
{ 0x4cb56, KEY_NUMERIC_9 },
|
|
{ 0x4cb1b, KEY_NUMERIC_0 },
|
|
{ 0x4cb59, KEY_DELETE },
|
|
{ 0x4cb5a, KEY_CAPSLOCK },
|
|
|
|
{ 0x4cb47, KEY_BACK },
|
|
{ 0x4cb05, KEY_SWITCHVIDEOMODE },
|
|
{ 0x4cb06, KEY_UP },
|
|
{ 0x4cb43, KEY_LEFT },
|
|
{ 0x4cb01, KEY_RIGHT },
|
|
{ 0x4cb0a, KEY_DOWN },
|
|
{ 0x4cb02, KEY_ENTER },
|
|
{ 0x4cb4b, KEY_INFO },
|
|
{ 0x4cb09, KEY_HOME },
|
|
|
|
{ 0x4cb53, KEY_MENU },
|
|
{ 0x4cb12, KEY_PREVIOUS },
|
|
{ 0x4cb50, KEY_PLAY },
|
|
{ 0x4cb11, KEY_NEXT },
|
|
{ 0x4cb4f, KEY_TITLE },
|
|
{ 0x4cb0e, KEY_REWIND },
|
|
{ 0x4cb4c, KEY_STOP },
|
|
{ 0x4cb0d, KEY_FORWARD },
|
|
{ 0x4cb57, KEY_MEDIA_REPEAT },
|
|
{ 0x4cb16, KEY_ANGLE },
|
|
{ 0x4cb54, KEY_PAUSE },
|
|
{ 0x4cb15, KEY_SLOW },
|
|
{ 0x4cb5b, KEY_TIME },
|
|
{ 0x4cb1a, KEY_AUDIO },
|
|
{ 0x4cb58, KEY_SUBTITLE },
|
|
{ 0x4cb19, KEY_ZOOM },
|
|
|
|
{ 0x4cb5f, KEY_RED },
|
|
{ 0x4cb1e, KEY_GREEN },
|
|
{ 0x4cb5c, KEY_YELLOW },
|
|
{ 0x4cb1d, KEY_BLUE },
|
|
};
|
|
|
|
static struct rc_map_list tango_map = {
|
|
.map = {
|
|
.scan = tango_table,
|
|
.size = ARRAY_SIZE(tango_table),
|
|
.rc_proto = RC_PROTO_NECX,
|
|
.name = RC_MAP_TANGO,
|
|
}
|
|
};
|
|
|
|
static int __init init_rc_map_tango(void)
|
|
{
|
|
return rc_map_register(&tango_map);
|
|
}
|
|
|
|
static void __exit exit_rc_map_tango(void)
|
|
{
|
|
rc_map_unregister(&tango_map);
|
|
}
|
|
|
|
module_init(init_rc_map_tango)
|
|
module_exit(exit_rc_map_tango)
|
|
|
|
MODULE_AUTHOR("Sigma Designs");
|
|
MODULE_LICENSE("GPL");
|