From patchwork Thu Oct 29 21:22:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 7521171 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 602CD9F37F for ; Thu, 29 Oct 2015 21:23:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D938120617 for ; Thu, 29 Oct 2015 21:23:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 044132061A for ; Thu, 29 Oct 2015 21:23:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964804AbbJ2VXo (ORCPT ); Thu, 29 Oct 2015 17:23:44 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:37700 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758072AbbJ2VXm (ORCPT ); Thu, 29 Oct 2015 17:23:42 -0400 Received: by wicfv8 with SMTP id fv8so54102324wic.0 for ; Thu, 29 Oct 2015 14:23:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=CBuTaMbhCssTnIjV/PkI8YVQMZ9vC+l3lQUyzw8fIto=; b=GQ9FQ95doiZ/6P2xJ+KL5xIar2UX1R+TAdcS4MU+17eAPf8+RicU+YlNB4O7XrAgEN lZLtlV3vB8DzxVmwi+PnnvttV6MsLkTCE9d+zqyoEFpWRXXmGkrZ8es1JNPK4X0vW73H 55c053A8npe7QjV12QkskdpF4wuW8RVZKTz5E+hXQRqHGPVuWxTm9qNujo6Ou4Hw+uW8 lL9ajrICU4Eqg9qzw1fmeGvXsff+ZEEEPEWO+lTo3/K2LE6NJr9c1okDtBbzNXFjmBx6 AzTmpedSMx0eitDRJbM3kHtIwUpRy6xLZRZEp8rCjZ8o2b5wczL9yRp3LLM2BvrlYUew MQ3w== X-Received: by 10.194.192.6 with SMTP id hc6mr4580597wjc.33.1446153820944; Thu, 29 Oct 2015 14:23:40 -0700 (PDT) Received: from ?IPv6:2003:62:5f55:ba00:14ec:a654:7de1:4720? (p200300625F55BA0014ECA6547DE14720.dip0.t-ipconnect.de. [2003:62:5f55:ba00:14ec:a654:7de1:4720]) by smtp.googlemail.com with ESMTPSA id lv4sm3684554wjb.43.2015.10.29.14.23.40 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Oct 2015 14:23:40 -0700 (PDT) From: Heiner Kallweit Subject: [PATCH 6/9] media: rc: nuvoton-cir: add support for the NCT6779D To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org Message-ID: <56328E0F.7080102@gmail.com> Date: Thu, 29 Oct 2015 22:22:23 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for the NCT6779D. It's found e.g. on the Zotac CI321 mini-pc and I successfully tested it on this device. Signed-off-by: Heiner Kallweit --- drivers/media/rc/nuvoton-cir.c | 1 + drivers/media/rc/nuvoton-cir.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c index df4b9cb..ff874fc 100644 --- a/drivers/media/rc/nuvoton-cir.c +++ b/drivers/media/rc/nuvoton-cir.c @@ -43,6 +43,7 @@ static const struct nvt_chip nvt_chips[] = { { "w83667hg", NVT_W83667HG }, { "NCT6775F", NVT_6775F }, { "NCT6776F", NVT_6776F }, + { "NCT6779D", NVT_6779D }, }; static inline bool is_w83667hg(struct nvt_dev *nvt) diff --git a/drivers/media/rc/nuvoton-cir.h b/drivers/media/rc/nuvoton-cir.h index 81b5a09..c96a9d3 100644 --- a/drivers/media/rc/nuvoton-cir.h +++ b/drivers/media/rc/nuvoton-cir.h @@ -70,7 +70,8 @@ enum nvt_chip_ver { NVT_UNKNOWN = 0, NVT_W83667HG = 0xa510, NVT_6775F = 0xb470, - NVT_6776F = 0xc330 + NVT_6776F = 0xc330, + NVT_6779D = 0xc560 }; struct nvt_chip {