From patchwork Wed Mar 10 15:44:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Ermakov X-Patchwork-Id: 84625 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2AFj7qB026622 for ; Wed, 10 Mar 2010 15:45:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756682Ab0CJPpF (ORCPT ); Wed, 10 Mar 2010 10:45:05 -0500 Received: from mail-bw0-f209.google.com ([209.85.218.209]:52887 "EHLO mail-bw0-f209.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756701Ab0CJPpC (ORCPT ); Wed, 10 Mar 2010 10:45:02 -0500 Received: by bwz1 with SMTP id 1so5058168bwz.21 for ; Wed, 10 Mar 2010 07:45:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=fcLdv4UInXPWEsz4himgUK67Pp2GIaoqs0wUVvmH18k=; b=twuMA+MGM9hxa8vRHee1pjgGpggX4Qa3sgF1jxF0KBmeeitEiyqBDnVl8X4VPGfNJN RRcl3IWjCBCneHrr9Eg0OaFevgVhgUCuEBeJgbRnx/zmgdZD7yUPGpELuH8JBn9+Rbe7 2hZ3/LclpP8pS3eJrXzJ6xqvNZG9Wf960hG/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=mE7eoPDbmoMCznbQvcZNUia6T/GyrEFGISLJJi5FhjeJvWmTQFGoAdj2QfbcLN3egB M34gfrTBEr7sTvlr+USWdcMeu2TNoTaCgyVTdGx2lCLm9kC562M1DXaHKmK+61eXKf9i EgjicfVhB7Olu24j7xc8yLdZF5McHlncol3K4= Received: by 10.204.10.11 with SMTP id n11mr1997711bkn.16.1268235900704; Wed, 10 Mar 2010 07:45:00 -0800 (PST) Received: from [192.168.1.26] (95-27-119-97.broadband.corbina.ru [95.27.119.97]) by mx.google.com with ESMTPS id 16sm4284757bwz.13.2010.03.10.07.44.58 (version=SSLv3 cipher=RC4-MD5); Wed, 10 Mar 2010 07:44:59 -0800 (PST) Subject: [PATCH] saa7134: add capture boards Hawell HW-404M7 and HW-808M7 From: Vladimir Ermakov To: linux-media@vger.kernel.org Date: Wed, 10 Mar 2010 18:44:57 +0300 Message-ID: <1268235897.25823.31.camel@desinto.vehq> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 10 Mar 2010 15:45:07 +0000 (UTC) diff -r 7a58d924fb04 -r 072cd67c6aab linux/Documentation/video4linux/CARDLIST.saa7134 --- a/linux/Documentation/video4linux/CARDLIST.saa7134 Tue Mar 09 23:00:59 2010 -0300 +++ b/linux/Documentation/video4linux/CARDLIST.saa7134 Wed Mar 10 17:43:41 2010 +0300 @@ -175,3 +175,4 @@ 174 -> Asus Europa Hybrid OEM [1043:4847] 175 -> Leadtek Winfast DTV1000S [107d:6655] 176 -> Beholder BeholdTV 505 RDS [0000:5051] +177 -> Hawell HW-404M7 / HW-808M7 diff -r 7a58d924fb04 -r 072cd67c6aab linux/drivers/media/video/saa7134/saa7134-cards.c --- a/linux/drivers/media/video/saa7134/saa7134-cards.c Tue Mar 09 23:00:59 2010 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Wed Mar 10 17:43:41 2010 +0300 @@ -5394,6 +5394,23 @@ .amux = LINE2, }, }, + [SAA7134_BOARD_HAWELL_HW_404M7] = { + /* Hawell HW-404M7 & Hawell HW-808M7 */ + /* Bogoslovskiy Viktor */ + .name = "Hawell HW-404M7", + .audio_clock = 0x00200000, + .tuner_type = UNSET, + .radio_type = UNSET, + .tuner_addr = ADDR_UNSET, + .radio_addr = ADDR_UNSET, + .gpiomask = 0x01fc00, + .inputs = {{ + .name = name_comp1, + .vmux = 3, + .amux = LINE1, + .gpio = 0x389c00, + } }, + }, }; diff -r 7a58d924fb04 -r 072cd67c6aab linux/drivers/media/video/saa7134/saa7134-input.c --- a/linux/drivers/media/video/saa7134/saa7134-input.c Tue Mar 09 23:00:59 2010 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-input.c Wed Mar 10 17:43:41 2010 +0300 @@ -529,6 +529,7 @@ switch (dev->board) { case SAA7134_BOARD_FLYVIDEO2000: case SAA7134_BOARD_FLYVIDEO3000: + case SAA7134_BOARD_HAWELL_HW_404M7: case SAA7134_BOARD_FLYTVPLATINUM_FM: case SAA7134_BOARD_FLYTVPLATINUM_MINI2: case SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM: diff -r 7a58d924fb04 -r 072cd67c6aab linux/drivers/media/video/saa7134/saa7134.h --- a/linux/drivers/media/video/saa7134/saa7134.h Tue Mar 09 23:00:59 2010 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134.h Wed Mar 10 17:43:41 2010 +0300 @@ -301,6 +301,7 @@ #define SAA7134_BOARD_ASUS_EUROPA_HYBRID 174 #define SAA7134_BOARD_LEADTEK_WINFAST_DTV1000S 175 #define SAA7134_BOARD_BEHOLD_505RDS_MK3 176 +#define SAA7134_BOARD_HAWELL_HW_404M7 177 #define SAA7134_MAXBOARDS 32 #define SAA7134_INPUT_MAX 8