- 28 7月, 2011 40 次提交
-
-
由 istvan_v@mailbox.hu 提交于
Automatically select the xc4000 module for dib0700 if the tuner selection is not customized. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Cc: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 istvan_v@mailbox.hu 提交于
Various coding style changes: - removed unused / commented out code - changed C++ style comments to C format - renamed functions and variables that included upper case letters in the name - removed tabs from module parameter descriptions - replaced the use of XC_RESULT_* with standard error codes Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Cc: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
Added code to detect the XC4100 chip, which is presumably an analog-only "value" version of the XC4000. It is not sure, however, if any devices using this have actually been produced and sold, so the patch may be unneeded. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
This patch causes the tuner reset command to be ignored in the firmware code, since this only happens when the BASE/INIT1 firmware is loaded by check_firmware(), and in that case check_firmware() already calls the reset callback before starting to load the firmware. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
Minor coding changes related to the xc_tune_channel() function. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
The following patch implements support for analog TV and FM radio. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
The 'audio_std' module parameter makes it possible to fine tune some audio related aspects of the driver, like setting the exact audio standard (NICAM, A2, etc.) to be used for some video standards. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
This patch implements setting the registers in xc4000_set_params() and xc4000_set_analog_params(). A new register is defined which enables filtering of the composite video output (this is needed to avoid bad picture quality with some boards). Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
The following patch makes a few minor changes to the printing of debug messages, and reporting the tuner status. The 'debug' module parameter can now be set from 0 to 2 to control the verbosity of debug messages. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
This patch fixes/cleans up the loading of the firmware file when the driver is loaded and initialized. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
The following patch implements the xc4000_sleep() function. The 'no_powerdown' module parameter is now interpreted differently: - 0 uses a device-specific default - 1 disables power management like before - 2 enables power management Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
This patch adds support for selecting a card type in struct xc4000_config, to allow for implementing some card specific code in the driver. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
This patch makes the following fixes in check_firmware(): - there is only one BASE and INIT1 firmware for XC4000 - loading SCODE is needed also for FM radio Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
Removed unused code from load_scode() (all SCODE firmwares are assumed to have the HAS_IF bit set). Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
This patch simplifies the code in seek_firmware(). Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
The firmware_name module parameter makes it possible to set the firmware file name. It defaults to "xc4000.fw" if not specified. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
The xc_get_frequency_error() function reported the frequency error incorrectly. The data read from the hardware is a signed integer, in 15625 Hz units. The attached patch fixes the bug. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
This patch adds a mutex to xc4000_priv, to protect the driver from being accessed by multiple processes at the same time. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
The following patch implements support for DVB-T with 7 MHz bandwidth. Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
This patch makes the following changes to the standards table: - added 'u16 int_freq' to struct XC_TV_STANDARD (needed for analog TV and radio, 0 for DVB-T) - added new standard for SECAM-D/K video with PAL-D/K audio - the 'int_freq' values are now specified in the table - changed VideoMode for NTSC and PAL-B/G standards Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Istvan Varga 提交于
This is the first of a set of patches that update the original xc4000 sources to my modified version. It removes some unused code, and makes a few minor formatting changes. [mchehab@redhat.com: re-add XC_TUNE_ANALOG/XC_TUNE_DIGITAL constants, to avoid compilation breakage] Signed-off-by: NIstvan Varga <istvan_v@mailbox.hu> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Mauro Carvalho Chehab 提交于
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Remove some inline comments I had written from when I was computing the proper dib7000p configuration to work with the xc4000. Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Cc: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Remove some printk() calls added during driver development, and demote some other messages to debug only (to reduce dmesg chatter). Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Give the xc4000 firmware filename a filename that makes more sense for public release. Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Don't dump debug into to dmesg by default (something I had enabled during bringup of the xc4000 driver). Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Fixup the PLL and AGC configs so that the 340e works (correcting errors I made when I did the original config blindly). Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Cc: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Remove a hack I had put in to force the firmware to be 8MHz, now setting the firmware properly based on the target standard. Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Based on a reference trace under Windows, reverse engineer the PLL config. Note that the xtal is not yet setup, and the timf cannot be determined yet because my reference trace doesn't actually achieve a signal lock. Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Cc: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
It was confirmed by DibCom that i2c stretching is broken in the i2c master on the dib7700. So we need to put a hack into the xc4000 driver to not complain in certain very specific cases where we know i2c stretching occurs. Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Setup a proper AGC config for the 340e, based on the Windows USB trace Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Remove hard-coded references to 5400, using the value passed in when the xc4000 is attached. Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Properly setup the standard firmware loading and scode loading, as well as getting rid of a ton of dead code. Note that I am getting a single i2c error when the standard firmware sets the video standard, but everything else seems to be loading properly now. Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Add code to handle firmware blobs for the standard and scode. Note there appears to be some issue with loading the DTV8 standard firmware, probably related to direct/indirect mode. Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Since we use the xc3028 version of the firmware file parsing routine (which includes support for scodes and separate blobs), we can drop the xc5000 version of the code. Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
The xc4000 driver is based on the original xc5000 driver, and while the xc5000 supports the XREG_BUSY register, the xc4000 does not. So remove the code in question. Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
We need to set the firmware type properly in order to locate the init1 firmware. Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
The xc3028 version does i2c splitting in a different manner than xc4000 and xc5000, so reuse the xc5000 version of the routine (the key here being that xc4000 expects the first *two* bytes to be the same for splitting transactions. Doing it the xc3028 way was resulting in i2c errors partially through the firmware load. With this change, it would appear that the entire base firmware is being loaded successfully (product id now properly shows 0x0FA0). Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
Switch over to using the firmware management routines from the tuner-xc2028, since that has support for scodes, etc. This code still requires signficant cleanup, and at this point the base firmware does not load properly (i2c write errors about 300 bytes in). Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-
由 Devin Heitmueller 提交于
We need to set the dev.parent member on the dib7000p on its i2c master, or else calls to request_firmware() will hit an oops in 2.6.31. Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com> Cc: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
-