History log of /drivers/media/video/cx23885/cx23885-cards.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9ee8537f60590c63d74dc5724c921bc3eb6ef558 12-Dec-2011 Miroslav Slugen <thunder.mmm@gmail.com> [media] cx23885: Don't duplicate xc4000 entry for radio

All radio tuners in cx23885 driver using same address for radio and
tuner, so there is no need to probe it twice for same tuner and we can
use radio_type UNSET.

Be aware radio support in cx23885 is not yet committed, so this is only
minor fix for future support.

Signed-off-by: Miroslav Slugen <thunder.mmm@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
722c90eb761195c09b776314f331341095273204 07-Jan-2012 Stefan Ringel <linuxtv@stefanringel.de> [media] cx23885: add Terratec Cinergy T PCIe dual

Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
350451375d6d8e9b124eacad67e221a0fdff0ac9 05-Jan-2012 Steven Toth <stoth@kernellabs.com> [media] cx23885: Hauppauge HVR1850 Analog driver support

First in a series of patches that adds support to the cx23885 driver
for CX23888 analog video handling. Raw and MPEG video support is
being added for the HVR1850 driver in the patch, and the following
series of patches.

Some basic cx23885 driver cleanup. Partly to add HVR1850 support
and partly to allow -417.c V4L2 calls to be routed through thr
driver core and handled in a single place.

Make a number of core driver functions available to the -417.c
driver to streamline the driver.

Add the analog tuner ops definition so we can reach/tune the
hardware when we need to. Added the tff field so 888 based cards
(which have a weird field ordering issue) can be accomodated
and worked around in the driver.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
8798875369ca5a1862c96425ab43b67ccbccccd0 09-Nov-2011 Alfredo Jesús Delaiti <alfredodelaiti@netscape.net> [media] cx23885: add support for Mygica X8507

This patch supports card Mygica X8507 (analog part)

This controller is a copy of driver card Mygica X8506

This patch depends on patch cx23885-alsa

To do: FM, ISDB-t, remote control, audio for composite1, S-Video and
video component.

Signed-off-by: Alfredo J. Delaiti <alfredodelaiti@netscape.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
2cb9ccd4612907c0a30de9be1c694672e0cd8933 10-Oct-2011 Steven Toth <stoth@kernellabs.com> [media] cx23885: Initial support for the MPX-885 mini-card

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
33cdeb35f559270d2c51ed641df69a9ac659bc22 10-Oct-2011 Steven Toth <stoth@kernellabs.com> [media] cx23885: Enable audio line in support from the back panel

Add code to program the flatiron internal i2c ADC and pass the
appropriate audio mux enums to the cx25840 driver.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
18d644767171a13214b01c7edc62105bdaddd66e 10-Oct-2011 Mijhail Moreyra <mijhail.moreyra@gmail.com> [media] cx23885: add definitions for HVR1500 to support audio

Signed-off-by: Mijhail Moreyra <mijhail.moreyra@gmail.com>
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
cff4fa8415a3224a5abdd2b1dd7f431e4ea49366 23-Sep-2011 Igor M. Liplianin <liplianin@netup.ru> [media] altera-stapl: it is time to move out from staging

[mchehab@redhat.com: Fix a merge conflict]
Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
2d12421dd39e39f9cacd9c7a58359c0f85823343 18-Jul-2011 Abylay Ospan <aospan@netup.ru> [media] NetUP Dual DVB-T/C CI RF: force card hardware revision by module param

Currently available two hardware revision:
0x1 firmware filename: dvb-netup-altera-01.fw
0x4 firmware filename: dvb-netup-altera-04.fw

Signed-off-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
b8f0d306b73162f9c9870ce5cd7b33b8204fcccc 14-Jul-2011 Abylay Ospan <aospan@netup.ru> [media] NetUP Dual DVB-T/C CI RF: load firmware according card revision

Currently available two hardware revision:
0x1 firmware filename: dvb-netup-altera-01.fw
0x4 firmware filename: dvb-netup-altera-04.fw

Signed-off-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
0cf8af57f1865148efcb40a43ddd04d5a709820e 11-Jul-2011 istvan_v@mailbox.hu <istvan_v@mailbox.hu> [media] cx23885: added support for card 107d:6f39

This patch, based on code by Mirek Slugen, implements support for the
Leadtek WinFast PxDVR3200 H card with XC4000 tuner (107d:6f39).

Signed-off-by: Istvan Varga <istvan_v@mailbox.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
9b3d8eccc3024d0bbf1e51845a18f2dbe0db3371 09-Jun-2011 Andy Walls <awalls@md.metrocast.net> [media] cx23885: Add IR Rx support for HVR-1270 boards

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
e2d4dc5af36673e64e29973c974246eafe63548f 08-Jun-2011 Greg Kroah-Hartman <gregkh@suse.de> Staging: cx23885: fix include of altera.h

The cx23885 driver was including staging/altera.h, but that file has
moved back into the driver directory.

Why a non-staging driver was including a staging driver is beyond me,
but this fixes the build so everything is happy for now.

For the record, it's not ok for a non-staging driver to depend on a
staging one, as that implies that the non-staging one should also be in
the staging tree if that's needed.

Cc: Igor M. Liplianin <liplianin@netup.ru>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/media/video/cx23885/cx23885-cards.c
3f84a4e1c1b785ff5dd3952cb2d4b3008b68ae45 07-Apr-2011 Jesper Juhl <jj@chaosbits.net> [media] cx23885: Don't leak firmware in cx23885_card_setup()

We leak the memory allocated to 'fw' (the firmware) when the variable goes
out of scope.
Fix the leak by calling release_firmware(fw) before 'fw' goes out of
scope.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
10d0dcd73c619d86b8ba1c9cd753ce749f578bf4 25-Jan-2011 Igor M. Liplianin <liplianin@me.by> [media] cx23885: implement num_fds_portb, num_fds_portc parameters for cx23885_board structure

This is needed for multifrontend support.
NetUP Dual DVB-T/C CI RF card has frontends connected to port B & C
Each frontend has two switchable cores - DVB-T & DVB-C

Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
557f48d5720b45dae07788bc9976762c363b8ad0 25-Jan-2011 Igor M. Liplianin <liplianin@me.by> [media] cx23885: implement tuner_bus parameter for cx23885_board structure

There is two external I2C buses in cx23885 chip.
Currently, analog tuners supported for second I2C bus only
In NetUP Dual DVB-T/C CI RF card tuners connected to first bus
So, in order to support analog tuners sitting on first bus
we need modifications.

Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
78db854757aa4110f9c6873d1529b851037a3405 25-Jan-2011 Igor M. Liplianin <liplianin@me.by> [media] Initial commit to support NetUP Dual DVB-T/C CI RF card

The card based on cx23885 PCI-e brige. Altera FPGA for CI,
multistandard demods stv0367 from STM for QAM & OFDM, Xcieve xc5000 tuners
and additional cx25840 for second analog input.

Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
9028f58f5d7e810a0e88b508ebe6a69daf7e3273 06-Dec-2010 Alexey Chernov <4ernov@gmail.com> [media] support of GoTView PCI-E X5 3D Hybrid in cx23885

Some comments:
1. Everything initialize properly except radio.
2. All analog inputs (TV, composite, S-Video) are tested by myself in several
TV norms (SECAM-D, PAL, NTSC), everything work fine.

So the patch adds general support/detection of the card with working analog
part, DVB part is not supported for now.

Signed-off-by: Alexey Chernov <4ernov@gmail.com>
Reviewed-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
9a1f8b34aa539000da17a06235e4bec254d0bfb5 24-Sep-2010 Laurent Pinchart <laurent.pinchart@ideasonboard.com> [media] v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions

The argument isn't used anymore by the functions, remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
1532a07042289d420f040f3bd4370cc106860003 24-Sep-2010 Laurent Pinchart <laurent.pinchart@ideasonboard.com> [media] v4l: Remove hardcoded module names passed to v4l2_i2c_new_subdev*

With the v4l2_i2c_new_subdev* functions now supporting loading modules
based on modaliases, replace the hardcoded module name passed to those
functions by NULL.

All corresponding I2C modules have been checked, and all of them include
a module aliases table with names corresponding to what the drivers
modified here use.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
fa647f249fa3399b8c90e2c4a07459c5d7976ffe 20-Jul-2010 Andy Walls <awalls@md.metrocast.net> V4L/DVB: cx23885: Require user to explicitly enable CX2388[57] IR via module param

The CX23885 IR controller was reported to cause an interrupt storm
on a TeVii S470 card, but was reported fine on an HVR-1250. Keep
integrated IR disabled by default on CX2388[57] based cards to avoid
a bad user experience in the general case.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
dbe83a3b921328e12b2abe894fc692afba293d7f 19-Jul-2010 Andy Walls <awalls@md.metrocast.net> V4L/DVB: cx23885: Protect PCI interrupt mask manipulations with a spinlock

This patch encapsulates access to the PCI_INT_MSK register and
dev->pci_irqmask variable and protects them with a spinlock.
This is needed because both the hard IRQ handler and a workhandler
will need to manipulate the mask to disable the AV_CORE interrupt.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
98d109f90fc02ce8baf1c2471ffcf8d66fb0d8e6 19-Jul-2010 Andy Walls <awalls@md.metrocast.net> V4L/DVB: cx23885: Add preliminary IR Rx support for the HVR-1250 and TeVii S470

Add initial IR Rx support using the intergrated IR controller in the
A/V core of the CX23885 bridge chip.

This initial support is flawed in that I2C transactions should not
be performed in a hard irq context. That will be fixed in a
follow on patch.

The TeVii S470 support is reported to generate perptual interrupts
that renders a user' system nearly unusable. The TeVii S470 IR
will be disabled by default in a follow on patch.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
d6b1850d3c49e66f17bbb67f964a48b11528f56b 19-Jul-2010 Andy Walls <awalls@md.metrocast.net> V4L/DVB: cx23885: Add a v4l2_subdev group id for the CX2388[578] integrated AV core

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
81f287da73377eb408de6879aa6c54c6d57dc1db 19-Jul-2010 Andy Walls <awalls@md.metrocast.net> V4L/DVB: cx23885: For CX23888 IR, configure the IO pin mux IR pins explcitly

Explicitly configure the IR Tx and IR Rx pins to be driven by the
IR Rx and Tx pads from the AV core for CX23888 IR.

For the HVR-1850 and HVR-1290 configure the IR Tx level inversion,
so the Tx LED is off when idle.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
ebbeb46000676af0772da4b7da22e2aae3889bd0 18-Jul-2010 Andy Walls <awalls@md.metrocast.net> V4L/DVB: cx23885: Add correct detection of the HVR-1250 model 79501

The offset in the eeprom data for the 79501 version of the HVR-1250 is at 0xc0
vs. the standard 0x80.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
7d7b5284d710f42f4c0c0d376d9a6af544c39afd 30-Jun-2010 Michael Krufky <mkrufky@kernellabs.com> V4L/DVB: cx23885: add support for new model revisions of the HVR12xx board family

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
0b32d65cd7938d31eebd9c62aab6a59a3c4cf0f8 22-Jan-2010 Kusanagi Kouichi <slash@ac.auone-net.jp> V4L/DVB: cx23885: Add support for LEADTEK WinFast PxTV1200

I tested only tv and composite. Video works fine but no audio.

Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
09ea33e5c696958e8b1ae6d5ab184476b16592f1 25-Nov-2009 Igor M. Liplianin <liplianin@me.by> V4L/DVB (13493): TeVii S470 and TBS 6920 fixes

The new hardware design applied for this cards.
Silicon Labs C8051F300 microcontroller is used for LNB power control.
It connected to cx23885 GPIO pins:
GPIO0 - P0.3 data
GPIO1 - P0.2 reset
GPIO2 - P0.1 clk
GPIO3 - P0.0 busy
Tevii S470 based on Montage Technology M88TS2020 digital satellite tuner
and M88DS3000 advanced DVB-S/S2 demodulator.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
ea5697fe9ed6a1d534de436eff3138041e3c8aa9 26-Oct-2009 David T. L. Wong <davidtlwong@gmail.com> V4L/DVB (13375): cx23885: Add support for Mygica X8558Pro DMB-TH

Adds support for cx23885 card Mygica X8558 Pro DMB-TH

Signed-off-by: David T. L. Wong <davidtlwong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
7fec6fee56def62a53e3bc4db5baf6bca12c3474 11-Nov-2009 Michael Krufky <mkrufky@kernellabs.com> V4L/DVB (13349): cx23885: Enable IR input keypress handling for the Hauppauge WinTV HVR-1290

The IR on the HVR-1290 is identical to that of the HVR-1850

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
73a5f4196dcdf1f5b0bcfa208cb485c4fde840cc 11-Nov-2009 Michael Krufky <mkrufky@kernellabs.com> V4L/DVB (13348): cx23885: update model matrix for models 85021 and 85721

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
aee0b24c05f6e9615115748a8ea5042d8ee0e6a0 11-Nov-2009 Michael Krufky <mkrufky@kernellabs.com> V4L/DVB (13347): cx23885: add digital television support for Hauppauge WinTV-HVR1290

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
6f0d8c020ecff4acb959627109d3b81ded211b70 21-Oct-2009 David T.L. Wong <davidtlwong@gmail.com> V4L/DVB (13211): cx23885: card Mygica X8506 analog TV support

Signed-off-by: David T.L. Wong <davidtlwong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
8e069bb9aeb4250dd062bb136f4b3db5c4c530ff 21-Oct-2009 David T.L. Wong <davidtlwong@gmail.com> V4L/DVB (13210): cx23885: card Mygica X8506 better GPIO setup

Signed-off-by: David T.L. Wong <davidtlwong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
bc1548adbee02899c7db5cd045bb0d799b220dce 21-Oct-2009 David T.L. Wong <davidtlwong@gmail.com> V4L/DVB (13209): cx23885: card mygica x8506 add analog video input support

Signed-off-by: David T. L. Wong <davidtlwong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
f59ad611acccd4057b8e685c7fd5532ab1a17f66 28-Sep-2009 Andy Walls <awalls@radix.net> V4L/DVB (13098): cx23885: Add integrated IR subdevice interrupt and notification handling

Add integrated IR subdevice interrupt and notification handling. This is in
preparation of input keypress handling changes for the cx23885 module.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
c6b7053bbc3b1ec556780327cef0d0463e1537ea 27-Sep-2009 Andy Walls <awalls@radix.net> V4L/DVB (13091): cx23885: Enable HVR-1850 CX23888 A/V core to get VID_CLK running for IR

For the IR controller on the CX23888 to work for the HVR-1850 and in
general, the A/V core must be initialized to get the VID_CLK going.
The VID_CLK is the timing reference for the CX23888's integrated
IR controller.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
29f8a0a50ac32ac4bc1937dcfdf8de6c406a5f10 27-Sep-2009 Andy Walls <awalls@radix.net> V4L/DVB (13086): cx23885: Add skeleton v4l2_subdev for the CX23888 integrated IR controller

This change adds a skeletal implementation of a v4l2_subdevice to provide
encapsulation and abstraction of the CX23888's integrated consumer infrared
controller. This change also instantiates the cx23888_ir subdev for the
HVR-1850 which has IR hardware physically wired up to a CX23888.

The cx23888_ir subdev code is being written with long-term objectives to:
1. port it to the cx25840 module for the CX2584x, CX2583x, CX23885, & CX231xx
IR controllers
2. possibly port it to the cx18 module for the CX23418 IR controller
3. have the IR subdevice accessed abstractly in the cx23885 module, so the
driver can ignore the difference between the CX23885 and CX23888.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
34e383dd13edf402e87bf0a87f4a19b193b4bd7a 18-Sep-2009 Vladimir Geroy <geroin22@yandex.ru> V4L/DVB (13014): Add support for Compro VideoMate E800 (DVB-T part only)

Adding Compro VideoMate E800 (DVB-T part only)

Cc: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Vladimir Geroy <geroin22@yandex.ru>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
53dacb15705901e14b03dcba27e40364fedd9d09 10-Aug-2009 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (12540): v4l: simplify v4l2_i2c_new_subdev and friends

Rewrite v4l2_i2c_new_subdev as a simplified version of v4l2_i2c_new_subdev_cfg
and remove v4l2_i2c_new_probed_subdev and v4l2_i2c_new_probed_subdev_addr.

This simplifies this API substantially.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
1369738023900302ef9677c90c4da873b5593ee7 20-Jul-2009 Steven Toth <stoth@kernellabs.com> V4L/DVB (12306): cx23885: Add support for ATSC/QAM on Hauppauge HVR-1850

cx23885: Add support for ATSC/QAM on Hauppauge HVR-1850

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
21ff3e4f63a3095f739f6398accd3b43d77e30b5 26-Jun-2009 Steven Toth <stoth@kernellabs.com> V4L/DVB (12305): cx23885: Convert existing HVR1800 GPIO calls into new format

... improves readability and routes the calls through a specific single point.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
f659c513d59b91cd5f3c0e2a59d8d287221e98f7 26-Jun-2009 Steven Toth <stoth@kernellabs.com> V4L/DVB (12304): cx23885: Remove hardcoded gpio bits from the encoder driver

The encoder driver has hardcoded GPIO bits set for the HVR1800, regardless
of whether it's being used by a HVR1800 or not. I've implemented some generic
GPIO manipulation routines and I'm calling them only when appropriate.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
2365b2d307ee0323062c674ea0495584085e8c24 17-Jun-2009 David Wong <davidtlwong@gmail.com> V4L/DVB (12272): cx23885: add card Magic-Pro ProHDTV Extreme 2

cx23885: add card Magic-Pro ProHDTV Extreme 2 PCI-E.

Signed-off-by: David T.L. Wong <davidtlwong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
493b7127aa56d0a5c041797639bf543d96f6261b 18-May-2009 David Wong <davidtlwong@gmail.com> V4L/DVB (11880): cx23885: support for card Mygica X8506 DMB-TH

This patch add cx23885 support for card "Mygica X8506 DMB-TH".
It should work on "Magic-Pro ProHDTV Extreme" as well, as they are
same hardware with different branding.

Sign-off-by: David T.L. Wong <davidtlwong@gmail.com>

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
5308cf09fe16bdf65f9c6e95e7168361efe7c1d5 12-May-2009 Michael Krufky <mkrufky@kernellabs.com> V4L/DVB (11772): cx23885: update model matrix for "k2c2" retail boards

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
6b926eca9824568b18825d3eade5fb39e3b5a9fb 12-May-2009 Michael Krufky <mkrufky@kernellabs.com> V4L/DVB (11771): cx23885: add DVB-T tuning support for Hauppauge WinTV-HVR1210

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
19bc57968cc854c7da4846c21b3ef2a39e43f97d 08-May-2009 Michael Krufky <mkrufky@kernellabs.com> V4L/DVB (11770): cx23885: add ATSC/QAM tuning support for Hauppauge WinTV-HVR1255

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
d099becb0bd7ee01a13d58371b4ea5a2f7052c04 09-May-2009 Michael Krufky <mkrufky@kernellabs.com> V4L/DVB (11769): cx23885: add ATSC/QAM tuning support for Hauppauge WinTV-HVR1275

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
a5dbf45766a378cc00f341f7179befab1edae573 04-May-2009 Michael Krufky <mkrufky@kernellabs.com> V4L/DVB (11768): cx23885: add ATSC/QAM tuning support for Hauppauge WinTV-HVR1270

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
2074dffaedebbf5a8468fd37855d6d94ba34041c 02-May-2009 Steven Toth <stoth@kernellabs.com> V4L/DVB (11767): cx23885: Add preliminary support for the HVR1270

The patch means the board will be recognised, and the parts brought
out of reset correctly. This patches depends on the centralized GPIO
patch to be merged. What's missing before the HVR-1270 will function
for DTV? The model# needs to be added to avoid 'unknown model'
output and the LG3305/Tuner need to be attached in cx23885-dvb.c

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
d4dc673da9a94716ca2410306c1b36b5faf6c4cc 27-Apr-2009 Christopher Pascoe <linuxdvb@itee.uq.edu.au> V4L/DVB (11626): cx23885: Two fixes for DViCO FusionHDTV DVB-T Dual Express

Two fixes for DViCO FusionHDTV DVB-T Dual Express:

* Reset correct tuner when reinitializing xc3028.
* Disable the I2C gate control to avoid locking up the I2C bus.

Tested-by: John Knops <jknops@australiaonline.net.au>
Reviewed-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Christopher Pascoe <linuxdvb@itee.uq.edu.au>
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
e6574f2fbecdb8af807169d345c10131ae060a88 01-Apr-2009 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (11373): v4l2-common: add explicit v4l2_device pointer as first arg to new_(probed)_subdev

The functions v4l2_i2c_new_subdev and v4l2_i2c_new_probed_subdev relied on
i2c_get_adapdata to return the v4l2_device. However, this is not always
possible on embedded platforms. So modify the API to pass the v4l2_device
pointer explicitly.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
cc26b076cf8b1040ccc514302ef9a24042272ec3 30-Mar-2009 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (11369): v4l2-subdev: add load_fw and use that instead of abusing core->init.

The init callback was used in several places to load firmware. Make a separate
load_fw callback for that. This makes the code a lot more understandable.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
0d5a19f15837de69f864b2a43a93f119224d778c 29-Mar-2009 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (11297): cx23885: convert to v4l2_subdev.

Convert this driver to v4l2_subdev. Note that currently the only card with
analog support in this driver is the HVR-1800. The analog tuner support in
this driver is limited to what is needed for this board. When analog support
is added for other cards, then the tuner load code will probably have to be
expanded to take care of those boards. For example, there is currently no
support for either radio tuners or tda9887 demods.

I'd like to thank Steven Toth for testing this on his HVR-1800.

Tested-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
5a23b0762c9095e137ce9a559cc7c37b2f8fd083 03-Mar-2009 Igor M. Liplianin <liplianin@netup.ru> V4L/DVB (10805): Add support for NetUP Dual DVB-S2 CI card

Add support for NetUP Dual DVB-S2 CI card
The card based on cx23885 PCI-e bridge, CiMax SP2 Common Interface chips,
STM lnbh24 LNB power chip, stv6110 tuners and stv0900 demodulator.
http://www.linuxtv.org/wiki/index.php/NetUP_Dual_DVB_S2_CI

Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
c9b8b04b267f9a7e472daa06cdf6d4963d503d1f 17-Jan-2009 Igor M. Liplianin <liplianin@me.by> V4L/DVB (10269): Add support for DVBWorld DVBS2 PCI-e 2005.

DVBWorld DVBS2 PCI-e 2005 card contains cx23885 PCI-e bridge
and cx24116 demodulator.
http://www.linuxtv.org/wiki/index.php/DVBWorld_DVB-S2_2005_PCI-Express_Card
The card tested by me (Igor).

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
579943f5487baa7f9fd8e3189a4f357d6b06c76d 17-Jan-2009 Igor M. Liplianin <liplianin@me.by> V4L/DVB (10267): Add support for TeVii S470 DVB-S2 PCI-e card.

TeVii S470 DVB-S2 PCI-e card contains cx23885 PCI-e bridge
and cx24116 demodulator.
http://www.linuxtv.org/wiki/index.php/TeVii_S470
The card tested by me (Igor).

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
96318d0cca02a91b22a2e1a1097ffeea0b3becae 17-Jan-2009 Igor M. Liplianin <liplianin@me.by> V4L/DVB (10266): Add support for TurboSight TBS6920 DVB-S2 PCI-e card.

TurboSight TBS6920 DVB-S2 PCI-e card contains cx23885 PCI-e bridge
and cx24116 demodulator.
http://www.linuxtv.org/wiki/index.php/TBS_6920
The card tested by me (Igor).

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
9bb1b7e879091f09fc677dca10c5e132b68a9da3 23-Nov-2008 Igor M. Liplianin <liplianin@me.by> V4L/DVB (9795): Add Compro VideoMate E650F (DVB-T part only).

Add Compro VideoMate E650F (DVB-T part only).
The card based on cx23885 PCI-Express chip, xc3028 tuner and ce6353 demodulator.

Cc: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
9c8ced511e154faf1a7af3f1abdfff45dccbe54a 17-Oct-2008 Steven Toth <stoth@linuxtv.org> V4L/DVB (9251): cx23885: Checkpatch compliance

cx23885: Checkpatch compliance

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
d7cba043d7ec840d67bd5143779d1febe7d83407 12-Sep-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (9049): convert tuner drivers to use dvb_frontend->callback

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
4c56b04af67211c4311dd9961ce5aba86b96ba9c 12-Aug-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (8807): Add DVB support for the Leadtek Winfast PxDVR3200 H

This patch is on behalf of Stephen Backway <stev391@email.com>, and
represents two patches I received (and some subsequent whitespace
cleanup I had due to how I pulled the patches).

From the original author:

a) Add DVB support for the Leadtek Winfast PxDVR3200 H.

b) The tuner callback previously checked the command 3 times:
1) To see if it was the XC2028_RESET_CLK
2) To see if it was not the XC2028_RESET_TUNER
3) To see if it was the XC2028_RESET_TUNER
This patch removes the third check.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Stephen Backway <stev391@email.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
89ce2216e338f62c411bea12df37a2f54f2ce13a 05-Aug-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (8646): cx23885: Convert framework to use a single tuner callback function.

Code reduction. Tuner callback now assumes that tsport is passed as the void arg.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
12886871ae7a6f4e2b1ea371f6604d8239dda724 05-Aug-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (8645): Support IR remote on FusionHDTV DVB-T Dual Express

From Chris Pascoe <c.pascoe@itee.uq.edu.au>
Support IR remote on FusionHDTV DVB-T Dual Express

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
aef2d186e381816733fa15d67ad63bd99254cb9e 05-Aug-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (8644): Add support for DViCO FusionHDTV DVB-T Dual Express

Add support for the DViCO FusionHDTV DVB-T Dual Express card, based on
work by Chris Pascoe and Stephen Backway.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
90a71b1c1ab003dd4524afca44c2ad2519f4420c 05-Aug-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (8643): Switch Hauppauge HVR1400 and HVR1500 to common cx23885 tuner callback

The Hauppauge HVR1400 and HVR1500 can now use the common cx23885 tuner
callback.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
0fbbff33fcab605b1a5c53a20c302aad24b082ef 05-Aug-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (8642): cx23885: Factor out common cx23885 tuner callback

Tuners currently hook different things to the private pointer in their
callback function. Longer term we should make that private pointer
consistent, but for now separate out the guts of the cx23885 tuner callback
so we can reuse it.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
6d8976164dd7d10d25fe940b8546265f60ad52cd 03-Sep-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (8805): Steven Toth email address change

I need this so I can better isolate my linux email from my
corporate email.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/cx23885/cx23885-cards.c
6df516905b5c53b306d90be33f9c56434e8db053 01-Jul-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (8470): cx23885: Add DViCO HDTV7 Dual Express tuner callback support.

Ensure the correct tuner gets reset on demand.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
1ecc5aed1ea426dbb7e5cd9a0c980c14c879277b 01-Jul-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (8469): cx23885: FusionHDTV7 Dual Express toggle reset.

Ensure the tuners and demods are brought in and out of reset during
driver startup.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
aaadeac88add22c4b2e2e7d17af1c5bae2d3fe17 01-Jul-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (8468): cx23885: Ensure the second transport port is enabled for streaming.

It was previously disabled pending a bugfix, which has since been
resolved.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
335377b73dd0b0af1fbd283ceae6fcb87a747885 07-May-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7986): cx23885: add initial support for DViCO FusionHDTV7 Dual Express

Only one frontend is enabled right now. The second frontend can lock,
but transport doesn't work yet. The device will be supported as a
single tuner device until the second frontend is working.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
36396c893272a577eafad40630a609ccd36d20ea 02-May-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7828): cx23885: update model matrix for Hauppauge WinTV HVR-1200 & WinTV HVR-1700

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
3c3852cda6e0c557f5e0915b5451510c1acd64a2 02-May-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7827): cx23885: add missing subsystem ID for Hauppauge HVR-1200 OEM

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
a589b66546d3d81e28dd95d3463c9e9da3d68728 14-Jan-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7726): cx23885: Enable cx23417 support on the HVR1800

cx23885: Enable cx23417 support on the HVR1800

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
6676237398d0c2e61e5a3a27e0951f60d6ef6fe3 22-Apr-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7673): cx23885: Add support for the Hauppauge HVR1400

DVB-T mode is now supported using the DiBcom dib7000p demodulator
and the Xceive xc3028L silicon tuner. Analog mode is not supported.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Reviewed-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
ce89cfb4908bcebba3fb0cd2956d676e06043ef1 19-Apr-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7648): cx23885: Load any module dependencies accordingly

For boards that require the avcore (cx25840) to be active, ensure
it gets loaded.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
a780a31cee55e01e7b479244e7907ba842c120a0 19-Apr-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7647): Add support for the Hauppauge HVR-1700 digital mode

This adds support for DVB-T mode only, analog is not supported.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
b3ea01668907bdb32b0c690d28f9f2b1298bd258 19-Apr-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7645): Add support for the Hauppauge HVR-1200

This adds support for DVB-T mode only, analog mode is not supported.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
22b4e64f0a119e94090ef45285a5c311f1f6855f 09-Apr-2008 Harvey Harrison <harvey.harrison@gmail.com> V4L/DVB (7520): media/video/cx23885 replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
4b15b5ec36fc54bf3412f042d5833049876446eb 29-Mar-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7466): Avoid minor model number warning when an OEM HVR1250 board is detected

Avoid minor model number warning when an OEM HVR1250 board is detected.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
c88133ecb3db2e3779d897abca960c450623a2a2 29-Mar-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7465): Fix eeprom parsing and errors on the HVR1800 products

On some models, the valid Hauppauge eeprom data begins at a different offset.
This patch avoid unfriendly 'corrupt' eeprom errors during driver load.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
73c993a8294077ae1b724286da8ac323c25d90db 05-Jan-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7045): xc5000: Small amount of cleanup and commenting

xc5000: Small amount of cleanup and commenting, just for clarification.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
8c70017f5793e68ea48085a65008d713c9a85dde 05-Jan-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7044): XC5000: Fix support for HVR1500Q broken by patch 1

From Zhang: This patch fixes support for the HVR1500Q which was broken
when the xc5000 analog patch was added.

Patch committed as-is, cleanups to follows .... Steve

Signed-off-by: Chaogui Zhang <czhang1974@gmail.com>
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
7b8880140ff6aec6a5bec7929b03ce0b96a7c79a 10-Jan-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7007): cx23885: Add basic video support for the HVR1800

This enabled basic preview NTSC and PAL support for the HVR1800.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
c771261330c90b7c77f686a1aa0fb4f756e07b5f 10-Jan-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7006): cx23885: Track the board clock frequency and allow overrides

The cx23885/6/8 all have different clock rates, this patch allows
the core to compensate, and developers to allow vendor specific
overrides. This patches will be used by future analog video
and encoder patches.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
5206d6ec36e2c66090c3c02c95b8d70c356a9ad3 10-Jan-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7004): cx23885: Ensure HVR1800 TDA8295A is reset fully on module load

Failure to do this means that a full system reboot is required if the
part hangs.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
29a7b4cb44336a8ef85cb1d283dc6efd4cf0fa12 28-Dec-2007 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (6936): cx23885: update model matrix for Hauppauge HVR1500

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
b00fff0be5655614bb18a4b1d6e33b27c56c6f7e 28-Dec-2007 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (6935): cx23885: add missing subsystem IDs for Hauppauge HVR1500 Retail

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
68370cf94e2511aeda3b7cb8490692570a8c9dab 28-Dec-2007 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (6934): cx23885: update model matrix for Hauppauge HVR1250

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
6a0a962cbc2c52fad556692eabda563a01c9966c 28-Dec-2007 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (6933): cx23885: update model matrix for Hauppauge HVR1800

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
6ccb8cfbb94cc82144a92a6a28a754d9772b3aa8 28-Dec-2007 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (6932): cx23885: add missing subsystem ID for Hauppauge HVR1800 Retail

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
3ba71d2194500d1a9fef1b8491b9e0c168e7d46e 07-Dec-2007 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (6900): cx23885: enable EZ-QAM mode for Hauppauge WinTV HVR-1800

Add module option 'alt_tuner' disabled by default.

When set to one, the dvb_frontend of HVR1800 will consist of:
s5h1409 demod + tda18271 tuner

When set zero (default), the dvb_frontend of HVR1800 will consist of:
s5h1409 demod + mt2131 tuner

If the tda18271 is used in digital mode, you will not be able to
tune an analog channel at the same time.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
07b4a835d42d6d59e84cbafdc8b7090f97d7b67a 18-Dec-2007 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (6898): cx23885: add support for Hauppauge WinTV HVR-1500

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
6df9366857335c6406659ce31554b103a00c3b96 20-Dec-2007 Steven Toth <stoth@hauppauge.com> V4L/DVB (6887): Avoid 'unknown model' message for the HVR1500-Q

Avoid 'unknown model' message for the HVR1500-Q

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
d1987d55a1eda774dfbab240a432607c17241d07 18-Dec-2007 Steven Toth <stoth@hauppauge.com> V4L/DVB (6885): Add support for the Hauppauge HVR1500Q

The express card ATSC/QAM tuner.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
39e75cfedf5b40116136894241ca1182089f3637 05-Nov-2007 Adrian Bunk <bunk@kernel.org> V4L/DVB (6575): cx23885/: cleanups

This patch contains the following cleanups:
- make the following needlessly global code static:
- cx23885-core.c: struct cx23885_sram_channels[]
- cx23885-core.c: struct cx23887_sram_channels[]
- cx23885-core.c: cx23885_wakeup()
- cx23885-core.c: cx23885_sram_channel_setup()
- cx23885-core.c: cx23885_sram_channel_dump()
- cx23885-core.c: cx23885_risc_disasm()
- cx23885-core.c: cx23885_shutdown()
- cx23885-core.c: cx23885_reset()
- cx23885-core.c: cx23885_dev_unregister()
- cx23885-core.c: cx23885_risc_databuffer()
- cx23885-core.c: cx23885_risc_stopper()
- #if 0 the following unused functions:
- cx23885-core.c: cx23885_risc_buffer()
- cx23885-core.c: cx23885_cancel_buffers()
- remove the following unused EXPORT_SYMBOL's:
- cx23885-cards.c: cx23885_boards
- cx23885-i2c.c: cx23885_call_i2c_clients

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Reviewed-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
a6a3f14035fe94c0925fea62f3d3a7a1ab44c1f1 09-Sep-2007 Steven Toth <stoth@hauppauge.com> V4L/DVB (6199): cx23885: Changes to allow demodulators on each transport bus

cx23885: Changes to allow demodulators on each transport bus.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
9bc37caadffe8327683980b2323371691fa182e3 08-Sep-2007 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (6196): cx23885: add support for DViCO FusionHDTV 5 Express

This patch adds digital ATSC / QAM support for the DViCO FusionHDTV5 Express.
Remote control is supported by ir-kbd-i2c, RTC is supported by rtc-isl1208.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
2e52f215be1b3a0337788c8d3345bdf5e3894e19 05-Sep-2007 Steven Toth <stoth@hauppauge.com> V4L/DVB (6170): cx23885: General cleanup of old code

Removed unused code.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
a77743bc2d29197d48a6f4ae9f8f9e0f0b0ba5d7 23-Aug-2007 Steven Toth <stoth@hauppauge.com> V4L/DVB (6168): cx23885: Added HVR1250 ATSC support

Adding support for the Hauppauge HVR1250 PCIe ATSC board.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
44a6481dcd9ec835bbd608b1b2ee47ee62c7e1d8 21-Mar-2007 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (6162): cx23885: whitespace cleanups

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
e133be0f587996f112d7984c03606af418a7ca05 19-Mar-2007 Steven Toth <stoth@hauppauge.com> V4L/DVB (6157): Removed the need to manually define .bridge for each card

Moved the field from cx23885_board to cx23885_dev and added code to
iautomatically set the bridge type based on the pci device id.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c
d19770e5178a4bc49641711246360c25781d20a4 12-Mar-2007 Steven Toth <stoth@hauppauge.com> V4L/DVB (6150): Add CX23885/CX23887 PCIe bridge driver

This is a new framework to support boards based on the CX23885/7 PCIe
bridge. The framework supports digital (no analog yet)

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/cx23885/cx23885-cards.c