From patchwork Fri Feb 14 08:58:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammad Rasim X-Patchwork-Id: 11381933 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 688A4139A for ; Fri, 14 Feb 2020 08:58:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 468DF222C2 for ; Fri, 14 Feb 2020 08:58:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="q7GP+kEL"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HuJK5ZmI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 468DF222C2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7cu/b7Gz2bPkZcli05Ecg1kziJ2ZzlVxWS2cqAuOMNM=; b=q7GP+kELbP4YlA px/Sj9HyQ8wJ4lpm6E2BlV7/0wVqDBD1prJRUOKJ87q3HS6A0lucEQjCRs0AH7C1I8pCTzhsJSb5S rd2dtjWbJX1SwtjLr/jKgEFPQHDA4ET5Z6pdfYrdhE5Vu60w7/0Xw6+2ixHD2J2TNav1Qr9ncHSnt 2xRxgZBZ6UR7kiBuB+sEbvRG9U6S6ktlLureg2jgO1pZWvGha/HCYgQw1QFcDQGHztCxjlTFbQX9T JH9s/HWWkvIaqmrXPfVbgcKn6no+9glDxjs6VNp56NlSEaS+X9z3OnMbQzTSOLgaKliylTXhxsktD dnVAhKrjCxe37McD1MmQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j2Wne-0004Iv-1G; Fri, 14 Feb 2020 08:58:14 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j2Wnb-0004GY-81 for linux-amlogic@lists.infradead.org; Fri, 14 Feb 2020 08:58:12 +0000 Received: by mail-wm1-x341.google.com with SMTP id m10so1557769wmc.0 for ; Fri, 14 Feb 2020 00:58:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JNHMsrFpW6UxmjPYn9L8QH02HyfSoGO3j/SqFO5X3Sg=; b=HuJK5ZmIt1gRK1Xh9dxdU0IkgGYYPnl6lf6LKs+/jKZE7iEOXRHH13u6ksUmfpduet 7OnmusNgdjYuirXERXkdabhTwWzLanp6Af5vSr+5ebIu3FucjNa9KbpXZRtmQ9/hT9de 8JzuZZ6s7IyFxL0RZm69jsoU99t5UDRon9cTcMLCgTwwP2mPrYHCPDV2Fcj3Yi+2jSTX Ua2qpkOlGR7FvMYS1bYb89L4HrDmPU8HxPeIbfVXuo524EK72TxEF8yCG2HTKEF94Wc/ b0jnH6T1yfYKxMfymnVqwiSd5k/Ddl2nw6Jin5X/AsB7WUSWbmBhfQKr8zLRq1QjakVd bnpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JNHMsrFpW6UxmjPYn9L8QH02HyfSoGO3j/SqFO5X3Sg=; b=tawzCDUtnCl+TQxxBGL3H5nJ/iCrQjV36jfjzTqsxqs89/xv9xympyvh31PNrePUL8 WfsvtnM3YYLTA5a7uAAtZsg0S4L3Wdq8NpH8uieA7CDnkHSThk4XrffNg4kXriLjrl2p Xxdwn1qWUQHpMWFmssDR4rjOkMx9/HSqNNELPiF4aB0csuSKX42qUnxR/VV4rrx68ISL gE1MJDd2OMNuONaU+STeW1KWVfK7lOrctRioM45z1Vz4oWDCn3flBj2YrRUUkij93Jlk p95LwYbQoC2i5b9QkKHNIhlqvqHa7lSeuoHWApFq/Dddb2ZGgrkwzCf0rlJrS3Z7u0s9 OyKw== X-Gm-Message-State: APjAAAUMBqWpUWEFm8vqnxCzFO3G+mgipfjgt3IsKMc2bZE6wUmVxVMw losYTs9pEPznXhm+ofM0nxw= X-Google-Smtp-Source: APXvYqwH46ZVwvqUpazhBp15QCAhXvH0sIB103vvSXT8bKEQ66FJzKLQeWXPMiqcSOaKoZWNAmmLOA== X-Received: by 2002:a7b:cd14:: with SMTP id f20mr3384909wmj.43.1581670689597; Fri, 14 Feb 2020 00:58:09 -0800 (PST) Received: from localhost ([37.237.208.38]) by smtp.gmail.com with ESMTPSA id z19sm6206418wmi.43.2020.02.14.00.58.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2020 00:58:08 -0800 (PST) From: Mohammad Rasim To: linux-media@vger.kernel.org, Sean Young , Mauro Carvalho Chehab , Kevin Hilman , linux-amlogic@lists.infradead.org Subject: [PATCH v5 1/3] media: rc: add keymap for Videostrong KII Pro Date: Fri, 14 Feb 2020 11:58:00 +0300 Message-Id: <20200214085802.28742-2-mohammad.rasim96@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200214085802.28742-1-mohammad.rasim96@gmail.com> References: <20200214085802.28742-1-mohammad.rasim96@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200214_005811_284256_2FAEE867 X-CRM114-Status: GOOD ( 12.17 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [mohammad.rasim96[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [mohammad.rasim96[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mohammad Rasim Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org This is an NEC remote control device shipped with the Videostrong KII Pro tv box. Signed-off-by: Mohammad Rasim Reviewed-by: Neil Armstrong --- drivers/media/rc/keymaps/Makefile | 1 + .../media/rc/keymaps/rc-videostrong-kii-pro.c | 83 +++++++++++++++++++ include/media/rc-map.h | 1 + 3 files changed, 85 insertions(+) create mode 100644 drivers/media/rc/keymaps/rc-videostrong-kii-pro.c -- 2.25.0 diff --git a/drivers/media/rc/keymaps/Makefile b/drivers/media/rc/keymaps/Makefile index 63261ef6380a..aaa1bf81d00d 100644 --- a/drivers/media/rc/keymaps/Makefile +++ b/drivers/media/rc/keymaps/Makefile @@ -119,6 +119,7 @@ obj-$(CONFIG_RC_MAP) += rc-adstech-dvb-t-pci.o \ rc-videomate-m1f.o \ rc-videomate-s350.o \ rc-videomate-tv-pvr.o \ + rc-videostrong-kii-pro.o \ rc-wetek-hub.o \ rc-wetek-play2.o \ rc-winfast.o \ diff --git a/drivers/media/rc/keymaps/rc-videostrong-kii-pro.c b/drivers/media/rc/keymaps/rc-videostrong-kii-pro.c new file mode 100644 index 000000000000..74a278ffa3f1 --- /dev/null +++ b/drivers/media/rc/keymaps/rc-videostrong-kii-pro.c @@ -0,0 +1,83 @@ +// SPDX-License-Identifier: GPL-2.0+ +// +// Copyright (C) 2019 Mohammad Rasim + +#include +#include + +// +// Keytable for the Videostrong KII Pro STB remote control +// + +static struct rc_map_table kii_pro[] = { + { 0x59, KEY_POWER }, + { 0x19, KEY_MUTE }, + { 0x42, KEY_RED }, + { 0x40, KEY_GREEN }, + { 0x00, KEY_YELLOW }, + { 0x03, KEY_BLUE }, + { 0x4a, KEY_BACK }, + { 0x48, KEY_FORWARD }, + { 0x08, KEY_PREVIOUSSONG}, + { 0x0b, KEY_NEXTSONG}, + { 0x46, KEY_PLAYPAUSE }, + { 0x44, KEY_STOP }, + { 0x1f, KEY_FAVORITES}, //KEY_F5? + { 0x04, KEY_PVR}, + { 0x4d, KEY_EPG}, + { 0x02, KEY_INFO}, + { 0x09, KEY_SUBTITLE}, + { 0x01, KEY_AUDIO}, + { 0x0d, KEY_HOMEPAGE}, + { 0x11, KEY_TV}, // DTV ? + { 0x06, KEY_UP}, + { 0x5a, KEY_LEFT}, + { 0x1a, KEY_ENTER}, // KEY_OK ? + { 0x1b, KEY_RIGHT}, + { 0x16, KEY_DOWN}, + { 0x45, KEY_MENU}, + { 0x05, KEY_ESC}, + { 0x13, KEY_VOLUMEUP }, + { 0x17, KEY_VOLUMEDOWN }, + { 0x58, KEY_APPSELECT}, + { 0x12, KEY_VENDOR}, // mouse + { 0x55, KEY_PAGEUP}, // KEY_CHANNELUP ? + { 0x15, KEY_PAGEDOWN}, //KEY_CHANNELDOWN ? + { 0x52, KEY_1}, + { 0x50, KEY_2}, + { 0x10, KEY_3}, + { 0x56, KEY_4}, + { 0x54, KEY_5}, + { 0x14, KEY_6}, + { 0x4e, KEY_7}, + { 0x4c, KEY_8}, + { 0x0c, KEY_9}, + { 0x18, KEY_F7}, + { 0x0f, KEY_0}, + { 0x51, KEY_BACKSPACE}, +}; + +static struct rc_map_list kii_pro_map = { + .map = { + .scan = kii_pro, + .size = ARRAY_SIZE(kii_pro), + .rc_proto = RC_PROTO_NEC, + .name = RC_MAP_KII_PRO, + } +}; + +static int __init init_rc_map_kii_pro(void) +{ + return rc_map_register(&kii_pro_map); +} + +static void __exit exit_rc_map_kii_pro(void) +{ + rc_map_unregister(&kii_pro_map); +} + +module_init(init_rc_map_kii_pro) +module_exit(exit_rc_map_kii_pro) + +MODULE_LICENSE("GPL"); +MODULE_AUTHOR("Mohammad Rasim "); diff --git a/include/media/rc-map.h b/include/media/rc-map.h index f99575a0d29c..d22810dcd85c 100644 --- a/include/media/rc-map.h +++ b/include/media/rc-map.h @@ -274,6 +274,7 @@ struct rc_map *rc_map_get(const char *name); #define RC_MAP_VIDEOMATE_K100 "rc-videomate-k100" #define RC_MAP_VIDEOMATE_S350 "rc-videomate-s350" #define RC_MAP_VIDEOMATE_TV_PVR "rc-videomate-tv-pvr" +#define RC_MAP_KII_PRO "rc-videostrong-kii-pro" #define RC_MAP_WETEK_HUB "rc-wetek-hub" #define RC_MAP_WETEK_PLAY2 "rc-wetek-play2" #define RC_MAP_WINFAST "rc-winfast" From patchwork Fri Feb 14 08:58:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammad Rasim X-Patchwork-Id: 11381937 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3483314E3 for ; Fri, 14 Feb 2020 08:58:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 125CC222C2 for ; Fri, 14 Feb 2020 08:58:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="mQm/IUz4"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MhpUMtp2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 125CC222C2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PAND0uTLOU/d+RQJfjESFdY1yd/SNLJQMYoSjpCUpzE=; b=mQm/IUz4hnJwcd vQQwI9/a4eAjVWDjxCMlPKsqOFH/iq82ZUJtcJOkH2/EdLq9SlDWr3bYrjh5GPwFQYFewDU6UA6jX JzB5o5yRR+6gZ+Y4M/YEYSzpKeupFsCt4a4ISvV9Q0SJHQnX0JoMXx/pBDMZheoENHPLAXVEIJgOE GcrBLPP2WtPpZJcPCVwEDWlyPoDZa0M9V2zhKwFAFpW5f2gq2Tgh315MazZI0KqFFfnEYQHFaG0ef AU7IvpOufBJrwCY1JWOy0nTyY8wDgF5+L465Dz95Fs/6Sre8sDYTsbv1FFqHsgELOfbMMKzO5QUsx 2UgY+vHiLH9Jbvz1/Xdw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j2Wng-0004LY-Op; Fri, 14 Feb 2020 08:58:16 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j2Wnd-0004Ia-VA for linux-amlogic@lists.infradead.org; Fri, 14 Feb 2020 08:58:15 +0000 Received: by mail-wr1-x443.google.com with SMTP id z3so10002073wru.3 for ; Fri, 14 Feb 2020 00:58:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Irc90DN0i25mcUWnLAY9jN+3gV3ff2V6EdTyREmtBhE=; b=MhpUMtp2apgY8D8kmzQUyar86n+3R9c9/kRmQDn3d0qgrykpbmz0su5D/DkMPPYOf5 fQ4dYJ6eb1+0zv7soSO8uK1W5jW3PMrM8YqDT3j/hxZEdc+48Fa706AjpEAqQYpHk00I IIQ1RPK34q5OAIGa6Q0DLneHjD+3MDAsZpJGNp35CdUZh4/I4Erk7j31lWYkAqldxyOu nAeNR8F5gdu3Pgjf0xTkgdxhVnoBdPrfflET7Zf659LQt/SvnwxG4mlSydozeNxHR8w7 62jWOrod9gOq/82kEJ7hRL1LkMUJcZ8vdmpNZmwZIa3OMeLTMsIK2rRoxOehN1rzWX06 Y7wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Irc90DN0i25mcUWnLAY9jN+3gV3ff2V6EdTyREmtBhE=; b=FQ90WmDa/y2UnPvJ+G6tOnsOTRGZoL8860l/+OUzXSGQKaFFAhDJovb3I3XaMr+4xH 4DsTzQHe/tD6ExIQQctyAbgK5XPgIcVfKMmcMjB+Q7u1PkGr6Ylrje+vNj+Kzw/piBxE 5q2xhVfD8/bSnXDu7U2xZM4/heiXfnYuWfHR+sM763U6uhfHoBfsAvs9itWkgU0TUMh3 ZOl8boJ9mFfkRBeRuNOq5tfjoWOm4ZQXGRQfIUsrm4LtxvFC5Pj5jr8lK/C1AuePy41O 85+WF8NKogiVQw2Ot09ISF30hKiZBPW4O5ydrdlmEyDy7eVJ52yMEeFAkxUTf8k4EN3F hAww== X-Gm-Message-State: APjAAAVGFTKq9QfndEU0d+DHySLf63HVHPnIzSoEx2Oove/bRc1Dh4Fy UwKf0dfo/llYMIGYiLUHZojzYG6l X-Google-Smtp-Source: APXvYqxCKt3cCV/56HGkS2Sfu0F9XYisTXgYw9P466q6HqRPWnVlZJZH976Oc0JLl6CqaWPZWyz3Ng== X-Received: by 2002:adf:9427:: with SMTP id 36mr2978504wrq.166.1581670692639; Fri, 14 Feb 2020 00:58:12 -0800 (PST) Received: from localhost ([37.237.208.38]) by smtp.gmail.com with ESMTPSA id n8sm6004306wrx.42.2020.02.14.00.58.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2020 00:58:12 -0800 (PST) From: Mohammad Rasim To: linux-media@vger.kernel.org, Sean Young , Mauro Carvalho Chehab , Rob Herring , Kevin Hilman , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v5 2/3] dt-bindings: media: add new kii pro key map Date: Fri, 14 Feb 2020 11:58:01 +0300 Message-Id: <20200214085802.28742-3-mohammad.rasim96@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200214085802.28742-1-mohammad.rasim96@gmail.com> References: <20200214085802.28742-1-mohammad.rasim96@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200214_005814_011014_356CD4BE X-CRM114-Status: UNSURE ( 9.06 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [mohammad.rasim96[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [mohammad.rasim96[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mohammad Rasim Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org Add new entry for rc-videostrong-kii-pro in linux,rc-map-name Signed-off-by: Mohammad Rasim Acked-by: Rob Herring --- Documentation/devicetree/bindings/media/rc.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.25.0 diff --git a/Documentation/devicetree/bindings/media/rc.yaml b/Documentation/devicetree/bindings/media/rc.yaml index a64ee038d235..b27c9385d490 100644 --- a/Documentation/devicetree/bindings/media/rc.yaml +++ b/Documentation/devicetree/bindings/media/rc.yaml @@ -143,6 +143,7 @@ properties: - rc-videomate-k100 - rc-videomate-s350 - rc-videomate-tv-pvr + - rc-videostrong-kii-pro - rc-wetek-hub - rc-wetek-play2 - rc-winfast From patchwork Fri Feb 14 08:58:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammad Rasim X-Patchwork-Id: 11381939 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1DFA214E3 for ; Fri, 14 Feb 2020 08:58:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EF80A20873 for ; Fri, 14 Feb 2020 08:58:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NM7BOOwp"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QNSNL+rL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EF80A20873 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=38BqcuOANs63sWPYuf0EVTkqvP4MT0u3Cr92ijNmB3I=; b=NM7BOOwpi9AIR/ msoCUg7XobiHhJfinyRIygb+sXvi9fkIaINr8mNf+enW/FI/L6OHvjVjLk7kK0aSZUcLpR4lwZnEw Hs0DtvWKlwruYMEPGRrZi2dvX1jywQJXI1wvg/aA4iwIKbtzVJVlhd53C+r9YlZD/2uqhrJ7Dobul Em5OEXcH0ETfeqK7RHVqaGo1ljzBAH3SBHwpVKosWAEUO/7ZKZkAkgndlBTt57mV6hCNqPbJhERTJ 93HewabvGCNZYJGnwk3LZX1pgqx7ftNi81vI9MVbdE4OH01doCaMI8+juRhH2k4kqyHxcGN8oR0hE gZfUA7Aky0ny8qekUVNw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j2Wni-0004NZ-LQ; Fri, 14 Feb 2020 08:58:18 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j2Wng-0004Ks-I2 for linux-amlogic@lists.infradead.org; Fri, 14 Feb 2020 08:58:17 +0000 Received: by mail-wr1-x443.google.com with SMTP id n10so8027308wrm.1 for ; Fri, 14 Feb 2020 00:58:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yQ0C2cfvwwMn2o7yU/lEkQ7YMEf3i0RTZvnkKI64a6k=; b=QNSNL+rLNykFchgRV/DrFjK9t/JCB785ApX8p4Y/EGA9ZdzyAG43eEMjRRUbl8CjS0 6ko18LXph/gvjvCTB7rK68zOVC90F0ImDfg0IPYczHY9uK8ziaMk5HbQUpLRCqZXaUDi +LFi3gX5GFlmNT2izBO8sv38IKIP7SC1miwxTx/cTsnxi6mZ+Ie587QvaNiVqNHz6TyF 8WW62dCS1Y06F6duOLIH8kriXsgF7ISpEvkHSBDtGQQfTGggDbq5f8/iFhg9W91Rq1iI a2C/W4rLyzGPCCB/K7LWyiXfyKkdXVqEztozeU3Qai/wTub03/szHq5rwykoVrfuJrq4 7Cbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yQ0C2cfvwwMn2o7yU/lEkQ7YMEf3i0RTZvnkKI64a6k=; b=OQ9xjU/Av2QzPip6X7F3HG63rF1lW0Zg28rlQuF5lbCeYSeBJv6aRqU3c+Q+VUWIXf x8lJYp3czeZzhfTmRTVD/vLuZ/wGVy+e/77jST+bE/ZBeu7WwUkmWxkJzlpTJUzZ7Clr SFVfkZHBhK+IleqIuuElFoBmi0O+Rsh4buJjJ9Xdyk8aopR9BdttRC1mq795is4RkEqU tBPAWwzFGXxIy0CbnqbKBHrBowhNJ9ZsU442xug7nNpHfB6jj0KjbaM0eOWHzteXOLxR 6wcl3737Kb8iJ4ZckCMeWuiJd/mp7Dblp6gQx/9hyhNWoKDMoGGOB2ugn7//i5TyLqq3 peWA== X-Gm-Message-State: APjAAAXxJg+jeG/7rmQl1t2exoxGPdpRbiuUkLlXe0AdcdF5afP7UQU+ 3ai7TaSZRN53tYocTkBdgEA= X-Google-Smtp-Source: APXvYqwcae7yq515E6DyyuqdQxOHKOJomhuVpxmU5znQpy5j/SDuy3fPMOh9j/xQoLAGJpdL5fteOg== X-Received: by 2002:adf:ed0c:: with SMTP id a12mr2854532wro.368.1581670695393; Fri, 14 Feb 2020 00:58:15 -0800 (PST) Received: from localhost ([37.237.208.38]) by smtp.gmail.com with ESMTPSA id x6sm6211708wrr.6.2020.02.14.00.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2020 00:58:14 -0800 (PST) From: Mohammad Rasim To: linux-media@vger.kernel.org, Sean Young , Mauro Carvalho Chehab , Rob Herring , Kevin Hilman , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v5 3/3] arm64: dts: amlogic: add rc-videostrong-kii-pro keymap Date: Fri, 14 Feb 2020 11:58:02 +0300 Message-Id: <20200214085802.28742-4-mohammad.rasim96@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200214085802.28742-1-mohammad.rasim96@gmail.com> References: <20200214085802.28742-1-mohammad.rasim96@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200214_005816_595403_D167F28A X-CRM114-Status: UNSURE ( 8.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [mohammad.rasim96[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [mohammad.rasim96[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mohammad Rasim Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org videostrong kii pro comes with a nec rc, add the keymap to the dts Signed-off-by: Mohammad Rasim Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts | 4 ++++ 1 file changed, 4 insertions(+) -- 2.25.0 diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts index 2f1f829450a2..6c9cc45fb417 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts @@ -76,3 +76,7 @@ eth_phy0: ethernet-phy@0 { }; }; }; + +&ir { + linux,rc-map-name = "rc-videostrong-kii-pro"; +};