From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C48EFC43381 for ; Wed, 27 Feb 2019 19:16:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 951EF2186A for ; Wed, 27 Feb 2019 19:16:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=nextdimension.cc header.i=@nextdimension.cc header.b="W9MdI1ok" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730136AbfB0TQl (ORCPT ); Wed, 27 Feb 2019 14:16:41 -0500 Received: from bonobo.maple.relay.mailchannels.net ([23.83.214.22]:18488 "EHLO bonobo.maple.relay.mailchannels.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726397AbfB0TQk (ORCPT ); Wed, 27 Feb 2019 14:16:40 -0500 X-Sender-Id: dreamhost|x-authsender|brad@nextdimension.ws Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C72EB284F31; Wed, 27 Feb 2019 19:16:33 +0000 (UTC) Received: from pdx1-sub0-mail-a6.g.dreamhost.com (unknown [100.96.20.153]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 74AA6284FC1; Wed, 27 Feb 2019 19:16:26 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|brad@nextdimension.ws Received: from pdx1-sub0-mail-a6.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.3); Wed, 27 Feb 2019 19:16:32 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|brad@nextdimension.ws X-MailChannels-Auth-Id: dreamhost X-Language-Little: 4ca8f62859e38433_1551294986988_1661078576 X-MC-Loop-Signature: 1551294986988:3442233545 X-MC-Ingress-Time: 1551294986988 Received: from pdx1-sub0-mail-a6.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTP id EA32C7FEE5; Wed, 27 Feb 2019 11:16:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=nextdimension.cc; h=from :to:cc:subject:date:message-id:in-reply-to:references; s= nextdimension.cc; bh=qFeZ3WEbzwF4ZBJRFV8QebOEN/M=; b=W9MdI1okQ+d wW0Spva5YlNAIQWYKEBcHaH4y75N18SGlCRPA9nKQkOrmP1F1cvYW/bE9AvQW/IO 21TUDjhVdXaSesSVbSyD4IPwrbZahGNw7G8ukY4zjoCOwMJ+NJLoPnpIm6/tVwPK jKVaZ/dlUzh8gwrJgxFCZhlAgL3jSB0M= Received: from localhost.localdomain (66-90-189-166.dyn.grandenetworks.net [66.90.189.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: brad@nextdimension.ws) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 704477FF15; Wed, 27 Feb 2019 11:16:15 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a6 From: Brad Love To: linux-media@vger.kernel.org Cc: Brad Love Subject: [PATCH v4 0/4] Add Hauppauge HVR1955/1975 devices Date: Wed, 27 Feb 2019 13:16:02 -0600 Message-Id: <1551294966-12564-1-git-send-email-brad@nextdimension.cc> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1545421223-3577-1-git-send-email-brad@nextdimension.cc> References: <1545421223-3577-1-git-send-email-brad@nextdimension.cc> X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 30 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrvddugdduvdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlfedtmdenucfjughrpefhvffufffkofgjfhestddtredtredttdenucfhrhhomhepuehrrgguucfnohhvvgcuoegsrhgrugesnhgvgihtughimhgvnhhsihhonhdrtggtqeenucfkphepieeirdeltddrudekledrudeiieenucfrrghrrghmpehmohguvgepshhmthhppdhhvghloheplhhotggrlhhhohhsthdrlhhotggrlhguohhmrghinhdpihhnvghtpeeiiedrledtrddukeelrdduieeipdhrvghtuhhrnhdqphgrthhhpeeurhgrugcunfhovhgvuceosghrrggusehnvgigthguihhmvghnshhiohhnrdgttgeqpdhmrghilhhfrhhomhepsghrrggusehnvgigthguihhmvghnshhiohhnrdgttgdpnhhrtghpthhtohepsghrrggusehnvgigthguihhmvghnshhiohhnrdgttgenucevlhhushhtvghrufhiiigvpedt Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hauppauge device HVR1955 and HVR1975 are old Cypress based devices. When originally produced the demods were lacking upstream drivers and the tuner was unsupported. Well fast forward to now and the only thing missing is the identification of si2177 tuner in the si2157 driver, as well as extension of the pvrusb2 driver to accomodate i2c client devices and multiple frontends. This series addresses what is necessary. QAM/ATSC are fully tested and work, the DVB tuning *should* work, but is completely untested. Both demod drivers are compatible with multiple frontend usage due to previous patches I've submitted, so things should work in pvrusb2 as well. Composite video input is tested. Unable to test s-video, but it should work. Radio is fully untested. Analog TV is a work in progress, coming soon. HVR-1955: - LGDT3306a ATSC/QAM demod - si2177 tuner - cx25840 decoder for analog tv/composite/s-video/audio HVR-1975 dual-frontend: - LGDT3306a ATSC/QAM demod - si2168 DVB-C/T/T2 demod - si2177 tuner - cx25840 decoder for analog tv/composite/s-video/audio Since v3: - Fix firmware name to be consistent Since v2: - Patch 4/4 build fix Changes since v1: - Patch 4/4 build fixes and reorganization Brad Love (4): si2157: add detection of si2177 tuner pvrusb2: Add multiple dvb frontend support pvrusb2: Add i2c client demod/tuner support pvrusb2: Add Hauppauge HVR1955/1975 devices drivers/media/tuners/si2157.c | 6 + drivers/media/tuners/si2157_priv.h | 3 +- drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c | 25 +++ drivers/media/usb/pvrusb2/pvrusb2-devattr.c | 202 +++++++++++++++++++++--- drivers/media/usb/pvrusb2/pvrusb2-devattr.h | 1 + drivers/media/usb/pvrusb2/pvrusb2-dvb.c | 88 ++++++++--- drivers/media/usb/pvrusb2/pvrusb2-dvb.h | 5 +- drivers/media/usb/pvrusb2/pvrusb2-fx2-cmd.h | 4 + drivers/media/usb/pvrusb2/pvrusb2-hdw.c | 36 ++++- 9 files changed, 330 insertions(+), 40 deletions(-) -- 2.7.4