From patchwork Fri Mar 5 01:19:48 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Larrosa X-Patchwork-Id: 83695 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 o251OrRo014565 for ; Fri, 5 Mar 2010 01:24:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751285Ab0CEBYw (ORCPT ); Thu, 4 Mar 2010 20:24:52 -0500 Received: from mail-iw0-f175.google.com ([209.85.223.175]:37457 "EHLO mail-iw0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751081Ab0CEBYv (ORCPT ); Thu, 4 Mar 2010 20:24:51 -0500 Received: by iwn5 with SMTP id 5so2301841iwn.1 for ; Thu, 04 Mar 2010 17:24:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=sY2WV4nq0RWU9Wsz3tOlCErsL83oj4/IU/LoQg+eDOE=; b=jPbkzxRP3u9+rz8Dg1qN/nIS+MnempyndrcP25HjIvnet7/p/GkEMnwxAKcXT5LixO Ig+zu9bOTgS3xbeQfoskF27TIlawz3XCuu/zrNkufbRvHOmg1NlWypyKQW298okqZV6P VImjUEizcB3eO/CjiIeGdAGwvf+vj8rDdQMjk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=DOE12DBzpN9FHr0AqBTA7vUtfHz0v3Wvgo0OlcaQJOGlNVuiSqYPpAHP8IQUdbKkkS NEes8+N5D2DlRFAvMrun4MI561CUN+i9m4U8uuShvz3KXtJiLhF8/eNTOWrY5iqkxvM8 /geQPiOzvIDNjjPftlb5WGvjMzZIClESr9wws= Received: by 10.231.156.80 with SMTP id v16mr129191ibw.79.1267752290333; Thu, 04 Mar 2010 17:24:50 -0800 (PST) Received: from siwenna.localnet (85.137.82.81.dyn.user.ono.com [85.137.82.81]) by mx.google.com with ESMTPS id y78sm1266052iby.4.2010.03.04.17.24.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Mar 2010 17:24:49 -0800 (PST) From: Antonio Larrosa To: linux-media@vger.kernel.org Subject: [PATCH] em28xx: Support for Kworld VS-DVB-T 323UR Date: Fri, 5 Mar 2010 02:19:48 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.31-20-generic-pae; KDE/4.3.4; i686; ; ) MIME-Version: 1.0 Message-Id: <201003050219.48583.larrosa@kde.org> 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]); Fri, 05 Mar 2010 01:24:53 +0000 (UTC) diff -r 41c5482f2dac linux/drivers/media/video/em28xx/em28xx-cards.c --- a/linux/drivers/media/video/em28xx/em28xx-cards.c Thu Mar 04 02:49:46 2010 -0300 +++ b/linux/drivers/media/video/em28xx/em28xx-cards.c Fri Mar 05 01:41:46 2010 +0100 @@ -1456,10 +1456,14 @@ }, [EM2882_BOARD_KWORLD_VS_DVBT] = { .name = "Kworld VS-DVB-T 323UR", - .valid = EM28XX_BOARD_NOT_VALIDATED, .tuner_type = TUNER_XC2028, .tuner_gpio = default_tuner_gpio, .decoder = EM28XX_TVP5150, + .mts_firmware = 1, + .has_dvb = 1, + .dvb_gpio = kworld_330u_digital, + .xclk = EM28XX_XCLK_FREQUENCY_12MHZ, /* NEC IR */ + .ir_codes = &ir_codes_kworld_315u_table, .input = { { .type = EM28XX_VMUX_TELEVISION, .vmux = TVP5150_COMPOSITE0, @@ -2198,6 +2202,7 @@ break; case EM2883_BOARD_KWORLD_HYBRID_330U: case EM2882_BOARD_DIKOM_DK300: + case EM2882_BOARD_KWORLD_VS_DVBT: ctl->demod = XC3028_FE_CHINA; ctl->fname = XC2028_DEFAULT_FIRMWARE; break; diff -r 41c5482f2dac linux/drivers/media/video/em28xx/em28xx-dvb.c --- a/linux/drivers/media/video/em28xx/em28xx-dvb.c Thu Mar 04 02:49:46 2010 -0300 +++ b/linux/drivers/media/video/em28xx/em28xx-dvb.c Fri Mar 05 01:41:46 2010 +0100 @@ -506,6 +506,7 @@ case EM2880_BOARD_TERRATEC_HYBRID_XS_FR: case EM2881_BOARD_PINNACLE_HYBRID_PRO: case EM2882_BOARD_DIKOM_DK300: + case EM2882_BOARD_KWORLD_VS_DVBT: dvb->frontend = dvb_attach(zl10353_attach, &em28xx_zl10353_xc3028_no_i2c_gate, &dev->i2c_adap);