summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-01-05HVR950 requires additional settings for audio to properly workMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Thanks to Markus Rechberger <mrechberger@gmail.com> for retriving those commands. Also, MTS firmware is required for audio to work on HVR950. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-05Improve audio setup handlingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> It is possible to select audio inputs via em28xx or via ac97 functions. This patch allows configuring a board to use either one way. It also do some cleanups at audio setup configurations. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-02tda18271: document debug level and configuration parametersMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Document debug level module options and tda18271_config attach-time parameters. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-02tda18271: store IF frequency in a u16 instead of u32Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Store IF Frequency in a u16 instead of a u32. Multiply by 1000 before use. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-02Adds device file name to General tabMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-02Show board id at general tab on qv4l2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> When you have several boards inside a machine, you need to know what board qv4l2 is using. This patch presents driver, board name and bus id, to help identifying the board. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-02tda18271: allow device-specific configuration of IF frequency and std bitsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Allow drivers to pass device-specific configuration parameters during attach. If these parameters are omitted, default values will be used. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-01tda18271: move common code to tda18271-common.cMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Move some common code to a new file to make this easier to look at. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-01tda18271: add support for NXP TDA18271HD/C2Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Tested successfully with QAM256 digital cable. Analog television is limping, needs more work. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-01tda18271: add MODULE_VERSIONMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> version 0.1 Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-01tda18271: clean up function tda18271_set_analog_paramsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> make set_analog_params function look consistent with set_params function Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-01Fix in-kernel ivtv compilationMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Due to tuner-xc2028.h, some extra directories should be added at .h search. CC: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-01Fix script to work on 32 bit intMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The previous version used to require that perl to run on 64 bit machines. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-01Avoid needing to run perl script on machines with 64-bit intMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-31Optimize scriptMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The previous script were generated using a non-optimized way. This patch replaces the script with an optimized one, where each firmware is direcly copied from HVR12x0 driver. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-31Improve method 1Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Xceive firmwares seem to use Big Endian for encoding size, delay and reset. Kernel drivers uses Little Endian. Before this patch, method 1 were fixing endian only for size. This patch changes the behavior to change endian also for delay and reset. With this change, with HVR12x0 file, method (1) works for all firmwares. This produces a very optimized script. The seek method is known to work with firmwares version 2.7 and 2.5. However, drivers with firmware version 1.x have a different internal format. So, another seek method will be required to allow the script to work on those firmwares. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-31Add a tool to generate firmware extracting scripts for xc3028Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This is the tool used to generate extract_xc3028.pl. Once you have a firmware file, generated from other methods, like usb dumps, this tool allows to seek the firmware inside a windows driver, creating an extrating script. There are two methods to seek for a firmware: 1) a complete firmware seek; 2) seek for firmware hunks. For each firmware segment, it writes the segment size, and seeks for the segment inside the firmware. The result of method 2) is not optimized. In the case of hvr12x0 driver, the base firmwares didn't hit method (1), so, the extracting tool broke it into several small segments. This is not optimized, but works. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-31Add a tool for extracting xc3028 version 2.7 firmwareMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This tool allows the extraction of xc3028 v2.7 firmware from HVR 12x0 file. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-29tda18271: fail table lookups if frequency is out of rangeMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-28merge: http://linuxtv.org/hg/~mkrufky/cx23885Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-28merge: http://www.linuxtv.org/hg/~stoth/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-28merge: http://linuxtv.org/hg/~mkrufky/tda18271Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-27merge: http://linuxtv.org/hg/~mkrufky/fixesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-27merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-27Fix a few issues at the bttv conversionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> bttv driver is working as previously. An additional gain of about 1,5Kb were obtained with the driver conversion to vidioc_ioctl2: text data bss dec hex filename 89208 40244 57556 187008 2da80 old/bttv.ko 88960 38740 57556 185256 2d3a8 new/bttv.ko (measured on a x86_64) Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-27Preserve the previous order to make easier to check the conversionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-27Replace vidioc_ to bttv_Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Since there are a few vidioc_ functions that were exported, rename those functions to bttv_ in order to avoid poluting namespace. The other functions were also renamed, to standardize inside the driver. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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-27Converted bttv to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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-27xc5000: Removed erroneous definesSteven Toth
From: Steven Toth <stoth@hauppauge.com> Basic cleanup. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2007-12-25tda18271: break calculation functions out of tda18271_tuneMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Break out the following new functions from tda18271_tune: tda18271_calc_bp_filter tda18271_calc_km tda18271_calc_rf_band tda18271_calc_gain_taper tda18271_calc_ir_measure tda18271_calc_rf_cal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-25tda18271: improve printk macrosMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-24tda18271: consolidate table lookup functionsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-24include/media/v4l2-i2c-drv.h must #include <media/v4l2-common.h>Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Fix the following compiler error: v4l2-i2c-drv.h:72: error: implicit declaration of function 'v4l2_i2c_attach' Also, prevent multiple inclusions of v4l2-i2c-drv.h Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-24tuner: fix backwards logic in check for set_configMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> tuner-core was checking if analog_ops->set_config is set. If set, it would complain that it isn't. Fix this backwards logic to the proper behavior. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-26Kconfig: VIDEO_CX23885 must select DVB_TUNER_XC5000 if !DVB_FE_CUSTOMIZEMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Everybody forgets to add the Kconfig stuff after they add new card support :-/ Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-24tda18271: move state structures to tda18271-priv.hMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-24tda18271: fix whitespace in tda18271_ir_measureMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-24tda18271: remove extraneous debugMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> We don't need to do a dbg_info during tda18271_attach anymore, since the tda18271_get_id function will call dbg_info with the same information and more. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-24ivtv: small textual updateHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-12-24ivtv: udelay has to be changed *after* the eeprom was read, not beforeHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The eeprom decides which Hauppauge model it is, so the decision whether to use an udelay of 5 or 10 needs to be taken after reading the eeprom, not before. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-12-24merge: http://linuxtv.org/hg/~mkrufky/tda18271Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-24From: Matthias Schwarzott <zzam@gentoo.org>Mauro Carvalho Chehab
Fixes all occurences of assignment in if checkpatch marks them as ERROR. Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Reviewed-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-24cx23885: fix bad use count caused by tda18271 being probed by tda8290Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Don't allow the tda8290 module to probe and attach the tuner module, causing incorrect use counts when using dvb_attach. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-24tda8290: add the option not to probe for tuners passed into tda829x_configMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Prevent the tda8290 module from probing for tuners during tda829x_attach, by passing: .probe_tuner = TDA829X_DONT_PROBE, ...in struct tda829x_config Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-12-24tda18271: create separate calc_pll functionsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Consolidate duplicated code by creating functions: tda18271_calc_main_pll tda18271_calc_cal_pll Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>