summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx23885/cx23885-cards.c
AgeCommit message (Collapse)Author
2009-04-01v4l2-common: add explicit v4l2_device pointer as first arg to ↵Hans Verkuil
new_(probed)_subdev From: Hans Verkuil <hverkuil@xs4all.nl> 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. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-30v4l2-subdev: add load_fw and use that instead of abusing core->init.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> 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. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-29cx23885: convert to v4l2_subdev.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> 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. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Tested-by: Steven Toth <stoth@linuxtv.org>
2009-03-03Add support for NetUP Dual DVB-S2 CI cardIgor M. Liplianin
From: Igor M. Liplianin <liplianin@netup.ru> 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>
2009-01-17Add support for DVBWorld DVBS2 PCI-e 2005.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> 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>
2009-01-17Add support for TeVii S470 DVB-S2 PCI-e card.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> 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>
2009-01-17Add support for TurboSight TBS6920 DVB-S2 PCI-e card.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> 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>
2008-11-23Add Compro VideoMate E650F (DVB-T part only).Mauro Carvalho Chehab
From: Igor M. Liplianin <liplianin@me.by> 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>
2008-10-16cx23885: Checkpatch complianceSteven Toth
From: Steven Toth <stoth@linuxtv.org> cx23885: Checkpatch compliance Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-09-12convert tuner drivers to use dvb_frontend->callbackMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-29merge: http://www.linuxtv.org/hg/~stoth/cx23885-leadtekMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-28Steven Toth email address changeSteven Toth
From: Steven Toth <stoth@hauppauge.com> I need this so I can better isolate my linux email from my corporate email. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
2008-08-12Add DVB support for the Leadtek Winfast PxDVR3200 HSteven Toth
From: Steven Toth <stoth@hauppauge.com> 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. Priority: normal Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Stephen Backway <stev391@email.com>
2008-08-04cx23885: Convert framework to use a single tuner callback function.Steven Toth
From: Steven Toth <stoth@hauppauge.com> Code reduction. Tuner callback now assumes that tsport is passed as the void arg. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-08-04Support IR remote on FusionHDTV DVB-T Dual ExpressSteven Toth
From: Steven Toth <stoth@hauppauge.com> 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>
2008-08-04Add support for DViCO FusionHDTV DVB-T Dual ExpressSteven Toth
From: Steven Toth <stoth@hauppauge.com> 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>
2008-08-04Switch Hauppauge HVR1400 and HVR1500 to common cx23885 tuner callbackSteven Toth
From: Steven Toth <stoth@hauppauge.com> 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>
2008-08-04cx23885: Factor out common cx23885 tuner callbackSteven Toth
From: Steven Toth <stoth@hauppauge.com> 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>
2008-06-30cx23885: Add DViCO HDTV7 Dual Express tuner callback support.Steven Toth
From: Steven Toth <stoth@hauppauge.com> Ensure the correct tuner gets reset on demand. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: <>
2008-06-30cx23885: FusionHDTV7 Dual Express toggle reset.Steven Toth
From: Steven Toth <stoth@hauppauge.com> 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: <>
2008-06-30cx23885: Ensure the second transport port is enabled for streaming.Steven Toth
From: Steven Toth <stoth@hauppauge.com> It was previously disabled pending a bugfix, which has since been resolved. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: <>
2008-05-06cx23885: add initial support for DViCO FusionHDTV7 Dual ExpressMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> 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>
2008-05-02cx23885: update model matrix for Hauppauge WinTV HVR-1200 & WinTV HVR-1700Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-05-02cx23885: add missing subsystem ID for Hauppauge HVR-1200 OEMMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-04-23merge: http://linuxtv.org/hg/~mkrufky/cx23885Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-22cx23885: Add support for the Hauppauge HVR1400Mauro Carvalho Chehab
From: Steven Toth <stoth@hauppauge.com> 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>
2008-04-18cx23885: Load any module dependencies accordingly.Steven Toth
From: Steven Toth <stoth@hauppauge.com> For boards that require the avcore (cx25840) to be active, ensure it gets loaded. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-18Add support for the Hauppauge HVR-1700 digital modeSteven Toth
From: Steven Toth <stoth@hauppauge.com> This adds support for DVB-T mode only, analog is not supported. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-18Add support for the Hauppauge HVR-1200Steven Toth
From: Steven Toth <stoth@hauppauge.com> This adds support for DVB-T mode only, analog mode is not supported. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-04-08media/video/cx23885 replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-03-29Avoid minor model number warning when an OEM HVR1250 board is detected.Steven Toth
From: Steven Toth <stoth@hauppauge.com> Avoid minor model number warning when an OEM HVR1250 board is detected. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-03-29Fix eeprom parsing and errors on the HVR1800 products.Steven Toth
From: Steven Toth <stoth@hauppauge.com> 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>
2008-01-13cx23885: Enable cx23417 support on the HVR1800Steven Toth
From: Steven Toth <stoth@hauppauge.com> cx23885: Enable cx23417 support on the HVR1800 Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-05xc5000: Small amount of cleanup and commenting.Steven Toth
From: Steven Toth <stoth@hauppauge.com> xc5000: Small amount of cleanup and commenting, just for clarification. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-01-05XC5000: Fix support for HVR1500Q broken by patch 1Steven Toth
From: Steven Toth <stoth@hauppauge.com> From Zhang: This patch fixes support for the HVR1500Q which was broken when the xc5000 analog patch was added. Signed-off-by: Chaogui Zhang <czhang1974@gmail.com> Patch committed as-is, cleanups to follows .... Steve Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-01-10cx23885: Add basic video support for the HVR1800Steven Toth
From: Steven Toth <stoth@hauppauge.com> This enabled basic preview NTSC and PAL support for the HVR1800. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-01-10cx23885: Track the board clock frequency and allow overrides.Steven Toth
From: Steven Toth <stoth@hauppauge.com> 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>
2008-01-10cx23885: Ensure HVR1800 TDA8295A is reset fully on module load.Steven Toth
From: Steven Toth <stoth@hauppauge.com> Failure to do this means that a full system reboot is required if the part hangs. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2007-12-27cx23885: update model matrix for Hauppauge HVR1500Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-27cx23885: add missing subsystem IDs for Hauppauge HVR1500 RetailMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-27cx23885: update model matrix for Hauppauge HVR1250Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-27cx23885: update model matrix for Hauppauge HVR1800Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-27cx23885: add missing subsystem ID for Hauppauge HVR1800 RetailMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-23merge: http://linuxtv.org/hg/~mkrufky/ezqamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-17cx23885: add support for Hauppauge WinTV HVR-1500Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-06cx23885: enable EZ-QAM mode for Hauppauge WinTV HVR-1800Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> 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 note: The tda18271 is usually used for analog tuning on this board. 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>
2007-12-19Avoid 'unknown model' message for the HVR1500-QSteven Toth
From: Steven Toth <stoth@hauppauge.com> Avoid 'unknown model' message for the HVR1500-Q Signed-off-by: Steven Toth <stoth@hauppauge.com>
2007-12-17Add support for the Hauppauge HVR1500Q.Steven Toth
From: Steven Toth <stoth@hauppauge.com> The express card ATSC/QAM tuner. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2007-11-05 cx23885/: cleanupsMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> 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>
2007-09-08cx23885: Changes to allow demodulators on each transport bus.Steven Toth
From: Steven Toth <stoth@hauppauge.com> cx23885: Changes to allow demodulators on each transport bus. Signed-off-by: Steven Toth <stoth@hauppauge.com>