From patchwork Fri Feb 14 08:57:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammad Rasim X-Patchwork-Id: 11381929 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 C2CDA14E3 for ; Fri, 14 Feb 2020 08:58:10 +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 A059520873 for ; Fri, 14 Feb 2020 08:58:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Oqmfr5JJ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="sorFWCWI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A059520873 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: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:In-Reply-To:References: List-Owner; bh=nd85rEAegBnkIXytd55fwNnz9o0piA+tx++u3nSjfog=; b=Oqmfr5JJuNnyW7 CoCpflmD7gZYJzXstQR9L0MtEMtNdcGsqn60mMNveWk8zMOVeckZdeTDxZJWWwsP74+RR7v80q8Ud moVn4urxX5PR0pD12rMQ6MyL32jmVuR7GDhP9y/54dA1oo2oUFJxQAmHwqo0q2f11JfRc5xVinSiK xga1mG98BLti/Rn9cnO8mun0SmaJRXc7Ua/mWhzaD4HPioibghjeKPHtaKHKykPRGHys/Irc1qQR8 A+xUX15Bnf8ZYAZIc23mOOxTPe8sp6UoFj8EcvX17ZHEo6aipWt3z4JkULvFhE7y2mPWh5EaBXbJd yQMEkw6vM+woybBAUusQ==; 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 1j2Wna-0004GZ-D5; Fri, 14 Feb 2020 08:58:10 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j2WnY-0004G4-6Q for linux-amlogic@lists.infradead.org; Fri, 14 Feb 2020 08:58:09 +0000 Received: by mail-wr1-x441.google.com with SMTP id t3so9965812wru.7 for ; Fri, 14 Feb 2020 00:58:07 -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:mime-version :content-transfer-encoding; bh=L8Oay6M2aipK08IBflheRQHNuufw6eTuZLUwnVJHnls=; b=sorFWCWILNy5MZNFcQfwY1Z2yc4r00I7QJ61cWt8A+va2UyyPpE4Bpy4eV8cHii39y g7ypnfKjfPfe2Qsc0eWU2HlaOGFIBQrORnBxuird34/OUcGj1Cx923/rk2TQICdd09Ol CUf/iwQIA0RU0KY8OjkKAU6mTa8W+qzEobj+GhIpARfTiwDDush9cY10NFcE/hzFJ1mO IP2iu2oamGnBQtaeT9Qjlmld+F04KXbNReH/e+E/r+RQ86evkrjY7KED0cLzjTEX3Asd a7voMdvrBiKp/7I/iGmUhOtC5kD+13l6XUMrHeObLjKLEaUfELyvFr/0lNxP0tH8y2DJ tfsQ== 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:mime-version :content-transfer-encoding; bh=L8Oay6M2aipK08IBflheRQHNuufw6eTuZLUwnVJHnls=; b=ae5nKSheRIU0hbJUQdYLqnqVwXd1fH3BP4XW6HpIp5jx8nyglwpMic0wZk1e+EnjQf LbJ2W0ULQoRL9Vv45HXBArPOV7AI93SMdc/Xgk3ZlLwQpEa1knff/2qOW+ClhYJjTwRI VzIzTgqpBPRjOu1PlUP/FBIRS/HUHBZ5wWcuCcK3L5jDzXy2onOqt7PSJQsto2/pj8B5 5o66GFjj7AsxKicSEI6RxNdRuY4vyz/N5++VunVPv3x3/aelctS/Ou5WJnWQJXqn68EF 3SK94hUhSaBUXnuISpjIcRn+yqyi4xvu3ZmiCOi3QiDBBdzVKodmwc0nDYpLOThIvHaK 9e0g== X-Gm-Message-State: APjAAAWZZDivCLrIadUKiml/1qzIBMxxr991OjYOr0uuiFiPPnAkGGbG x7JMZqgPnM7ibK/XpufTzH0= X-Google-Smtp-Source: APXvYqxKdjXN02Pnj9KYKKYeXWDFgZFeIGk7m5MUR6KEQFGwQxCVqVt2738iyFf//KCaatVTWWbXXg== X-Received: by 2002:adf:dd52:: with SMTP id u18mr2815815wrm.131.1581670686537; Fri, 14 Feb 2020 00:58:06 -0800 (PST) Received: from localhost ([37.237.208.38]) by smtp.gmail.com with ESMTPSA id 2sm6112697wrq.31.2020.02.14.00.58.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2020 00:58:05 -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 0/3] add videostrong kii pro keymap Date: Fri, 14 Feb 2020 11:57:59 +0300 Message-Id: <20200214085802.28742-1-mohammad.rasim96@gmail.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200214_005808_261141_6E615AEE X-CRM114-Status: GOOD ( 10.89 ) 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:441 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 remote control, this adds support for this remote and also select it from the device dts Changes since v1: - fix styling issues Changes since v2: - use KEY_VENDOR for mouse key - use KEY_PVR instead of KEY_RECORD - use KEY_APPSELECT for the launcher - use KEY_TV for the tv app key Changes since v3: - add a patch to use the keymap by the device's dts Changes since v4: - add a patch to update the rc bindings Mohammad Rasim (3): media: rc: add keymap for Videostrong KII Pro dt-bindings: media: add new kii pro key map arm64: dts: amlogic: add rc-videostrong-kii-pro keymap .../devicetree/bindings/media/rc.yaml | 1 + .../boot/dts/amlogic/meson-gxbb-kii-pro.dts | 4 + drivers/media/rc/keymaps/Makefile | 1 + .../media/rc/keymaps/rc-videostrong-kii-pro.c | 83 +++++++++++++++++++ include/media/rc-map.h | 1 + 5 files changed, 90 insertions(+) create mode 100644 drivers/media/rc/keymaps/rc-videostrong-kii-pro.c --- 2.25.0