summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-06au0828: send command to power down tuner when done with analogDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> Make sure the au0828 issues the command to power down the tuner when the user is done using analog support. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-05-04xc5000: poll at 5ms interval for register write command completionDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> Instead of polling at 100ms intervals for register writes, poll at 5ms intervals. This is consistent with the xc5000 specification, and improves tuning time by up to 500 ms on devices that such as the au0828 which do not properly implement i2c clock stretching (since the five register writes that occur for a tuning request often do not complete immediately but do complete far before 100ms has gone by). The net amount of time we wait before timing out is unchanged (500ms). Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-05-04xc5000: add support for DVB-T tuningDevin Heitmueller
From: David T.L. Wong <davidtlwong@gmail.com> This patch adds XC5000 supports for DVB-T 6MHz and 8MHz bandwidth. Priority: normal Signed-off-by: David T.L. Wong <davidtlwong@gmail.com> Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-05-04xc5000: switch to new xc5000 firmware 1.6.114 with redistribution rightsDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> Xceive has graciously allowed us to now freely redistribute the xc5000 firmware, which eliminates the need for users to manually extract the blob from the Hauppauge driver. Thanks to Brian Mathews <bmathews@xceive.com> for providing this code Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-05-04dib0700: reduce xc5000 sleep time for Pinnacle 801e to 10msDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> According to the xc5000 spec, the reset pin only needs to be held low for 10ms. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-04-28tuner-xc2028: show the proper module description for no_poweroff optionDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> There was a typo in the module description for the "no_poweroff" option, where the help was being associated with the "debug" option instead. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-04-28xc5000: don't load firmware until a tuning request is madeDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> Defer loading of the xc5000 firmware until it is actually needed. This helps on distros that have hald, which results in the device not being available for use for around ten seconds in cases where the i2c bus is slow (such as the HVR-950Q). Also, the firmware load isn't really useful since we immediately put the device to sleep afterward, which means a firmware reload will be required anyway. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-04-28xc5000: add "no_poweroff" module optionDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> Provide for the ability for a user to disable putting the tuner to sleep, in case he doesn't want to incur the cost of reloading the firmware when starting up his/her application. The module options are intentionally identical to xc3028. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-04-02xc5000: cleanup firmware loading messagesDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> Make it a little more obvious in the dmesg output what is going on during firmware upload. This is more important for boards like the HVR-950q that take nearly seven seconds to do the upload. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-04-02xc5000: start using the newer "finerfreq" tuning commandDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> Starting in firmware version 1.1.44, Xceive recommends using the FINERFREQ for all normal tuning (the doc indicates reg 0x03 should only be used for fast scanning for channel lock) Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-04-02xc5000: add build version to debug infoDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> Expose the firmware build number along with the other version info Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-04-02au0828: reduce reset time for xc5000 to 10msDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> The xc5000 datasheet indicates that the reset pin only needs to be held low for 10ms. Reduce the value accordingly, which speeds up the firmware load time a bit. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-04-02xc5000: Properly support power down for newer firmwareDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> Xceive got rid of the XREG_POWER_DOWN register in later firmware revisions. Their technical support informed me that the correct way to put the tuner to sleep is to pull the reset pin (but don't reload the firmware). Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-04-02xc5000: switch to new version of Xceive firmwareDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> This switches to a new version of the xc5000 firmware, extracted from the latest Hauppauge driver. It includes the support for the XREG_BUSY register (a lack of which was causing tuning to take 3200ms instead of around 300ms). Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2008-11-16xc5000: do not sleep after digital tuningMichael Krufky
From: Devin Heitmueller <devin.heitmueller@gmail.com> Don't sleep for 400ms polling the tuner's lock if in digital mode (since the xc5000 lock status registers appear to only be reliable in analog mode) Priority: normal Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-11-16xc5000: restore sleep routineMichael Krufky
From: Devin Heitmueller <devin.heitmueller@gmail.com> Bring back the code that puts the xc5000 to sleep. For the Pinnacle 801e this results in power consumption at idle dropping from 325ma to 124ma. If there are *actually* any devices that don't work in this configuration, they should set dvb_frontend.ops.tuner_ops.sleep to NULL (per mkrufky's suggestion) Also, had to make sure we were making sure the firmware was loaded in the digital version of set_params, or else we end up get i2c errors if the device is asleep Priority: normal Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-11-16xc5000: check xc5000_readreg return value for XC_RESULT_SUCCESSMichael Krufky
From: Devin Heitmueller <devin.heitmueller@gmail.com> Make return value checking for calls to i2c routines explicit. Priority: normal Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-11-16xc5000: cleanup i2c write routinesMichael Krufky
From: Devin Heitmueller <devin.heitmueller@gmail.com> Cleanup the i2c write routine, getting rid of a passthrough function with only one caller Priority: normal Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-11-16xc5000: cleanup i2c read routinesMichael Krufky
From: Devin Heitmueller <devin.heitmueller@gmail.com> This patch centralizes the i2c read functions, and eliminates pass-through function only called by one caller. Make reading of xc5000 registers an atomic i2c transaction in case we're on a multi-master bus. Priority: normal Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-11-15xc5000: handle tuner reset failures properlyMichael Krufky
From: Devin Heitmueller <devin.heitmueller@gmail.com> Properly handle tuner reset failures (before it was always returning success) Priority: normal Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2009-05-04dvb_frontend: fix race condition resulting in dropped tuning commandsDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> A race condition was detected in the case that putting the tuner to sleep takes an unusually long period of time, combined with applications that quickly close/open the dvb frontend. The kaffeine channel scanner closes and reopens the dvb frontend between each tuning attempt. If it takes an unusually longer period of time to put the tuner to sleep (for example, the Pinnacle 801e takes 660 ms), the dvb_frontend thread will still be in a running state (and hence fepriv->thread is still set) but the fepriv->exit field will still be zero. As a result, if a dvb_frontend_start() call arrives while the frontend thread is in the process of terminating, the call will return 0 without actually starting a new thread. This results in the tuning request being dropped. To address this, mark fepriv->exit as soon as we know the thread is going to be terminated, so that dvb_frontend_start() knows to start a new instance. Problem encountered with Kaffeine 0.8.7 doing ATSC scanning against the Pinnacle 801e tuner, in conjunction with new code to power down the xc5000 when not in use. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-04-28cx88: Fix race condition between cx8800 startup and haldDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> A power management fix to properly put the xc5000 into low power mode revealed a race condition where hald could detect the creation of the device file and connect to the device while the initial device configuration is still in progress. Lock the core structure so that video_release cannot be called and put the tuner to sleep in the middle of the initial call to cx88_set_tvnorm() in cx8800_initdev() Thanks to Michael Krufky for discovering the issue and providing an environment to test in. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Cc: Michael Krufky <mkrufky@linuxtv.org>
2009-05-12Siano: smsdvb - small typo fix ad module authorMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Fix type at the module description Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12Siano: smsdvb - use 'push' status mechanismMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> This patch replace the old method of pulling the device status by sending "get_statistics" request, to push mode. This make status update much faster, and reduce various operation time (UHF scan now takes 15s instead of 2m). In order to make the change the following modification have been applied: 1) core header - update statistics headers. 2) dvb adapter - omit the statistics request, add handling of status indications. 3) core 'onresponse' - re-route messages addressed to other adapter to the dvb adapter. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12Siano: smsdvb - add big endian supportMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Add support for Siano protocol messages with big endian systems. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: fix compilation error due to the lack of EXTERNAL_SYMBOLMauro Carvalho Chehab
Priority: normal CC: Uri Shkolnik <urishk@yahoo.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12Siano: Makefile - add smsendian to buildMauro Carvalho Chehab
From: Uri Shkolnik <urishk@yahoo.com> Add smsendian component to the module build Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12Siano: smsusb - lost buffers bug fixMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> This patch fixes a problem were protocol buffers have been lost during USB disconnect events. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12Siano: smsusb - handle byte ordering and big endianityMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> This patch adds support for byte ordering and big endianity handling for the USB interface driver Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12Siano: smsusb - update licenseMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> This patch updates the license of the USB interface driver Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-11tuner: add support Philips MK5 tunerMauro Carvalho Chehab
From: Dmitri Belimov <d.belimov@gmail.com> Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14merge: http://linuxtv.org/hg/~mkrufky/k2c2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14merge: http://endriss@linuxtv.org/hg/~endriss/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12cx23885: clean up struct names for Hauppauge WinTV-HVR127X devicesMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-05-12cx23885: update model matrix for "k2c2" retail boardsMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-05-12cx23885: add DVB-T tuning support for Hauppauge WinTV-HVR1210Michael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-05-112: handle unregister for non-I2C buildsMauro Carvalho Chehab
From: Randy Dunlap <randy.dunlap@oracle.com> Build fails when CONFIG_I2C=n, so handle that case in the if block: drivers/built-in.o: In function `v4l2_device_unregister': (.text+0x157821): undefined reference to `i2c_unregister_device' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-11merge: http://linuxtv.org/hg/~gliakhovetski/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-11merge: http://linuxtv.org/hg/~awalls/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-11merge: http://linuxtv.org/hg/~mcisely/pvrusb2-devMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-11soc_camera: depends on I2CGuennadi Liakhovetski
From: Randy Dunlap <randy.dunlap@oracle.com> soc_camera uses i2c_*() functions and has build errors when CONFIG_I2C=n: ERROR: "i2c_new_device" [drivers/media/video/soc_camera.ko] undefined! ERROR: "i2c_get_adapter" [drivers/media/video/soc_camera.ko] undefined! ERROR: "i2c_put_adapter" [drivers/media/video/soc_camera.ko] undefined! ERROR: "i2c_unregister_device" [drivers/media/video/soc_camera.ko] undefined! Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- drivers/media/video/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
2009-05-09pvrusb2: Allocate a routing ID for future support of Terratec Grabster AV400Mike Isely
From: Mike Isely <isely@pobox.com> Priority: normal Signed-off-by: Mike Isely <isely@pobox.com>
2009-05-09soc-camera: Fix section mismatch warningGuennadi Liakhovetski
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de> modpost needs a __refdata marker in driver structs to ensure references to .probe and .remove functions from .devinit.text and .devexit.text sections respectively are valid. Add __refdata to soc_camera_pdrv platform driver. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- drivers/media/video/soc_camera.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
2009-05-08tveeprom: Point the TCL MNM05-4 tuner entry to an actual tuner definitionAndy Walls
From: Andy Walls <awalls@radix.net> The TCL MNM05-04 is used on some HVR-1600 models. It appears to be similar to the TCL MFMN05-4 but without FM radio. The TUNER_PHILIPS_FM1236_MK3 tuner definition appears to be the proper existing tuner definition to use for this tuner. Reported-by: Matt Beadon <matt.beadon@gmail.com> Priority: normal Tested-by: Matt Beadon <matt.beadon@gmail.com> Signed-off-by: Andy Walls <awalls@radix.net>
2009-05-08cx18: Add missing newline to tuner detection error messageAndy Walls
From: Andy Walls <awalls@radix.net> Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
2009-05-08cx23885: add ATSC/QAM tuning support for Hauppauge WinTV-HVR1255Michael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-05-08cx23885: add ATSC/QAM tuning support for Hauppauge WinTV-HVR1275Michael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-05-07soc-camera: prepare for the platform driver conversionGuennadi Liakhovetski
Add a platform driver to soc_camera.c. This way we preserve backwards compatibility with existing platforms and can start converting them one by one to the new platform-device soc-camera interface. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
2009-05-07Analog Devices ADV7343 video encoder driverMauro Carvalho Chehab
From: Chaithrika U S <chaithrika@ti.com> Add ADV7343 I2C based video encoder driver. This follows the v4l2-subdev framework. This driver has been tested on TI DM646x EVM. It has been tested for Composite and Component outputs. Updates as per review by Mauro Chehab, added support for more standards supported by the encoder. Also adding the missed out signed-offs.Tested only NTSC and PAL standards. Signed-off-by: Manjunath Hadli <mrh@ti.com> Signed-off-by: Brijesh Jadav <brijesh.j@ti.com> Signed-off-by: Chaithrika U S <chaithrika@ti.com> [hverkuil@xs4all.nl: s_routing API changed, updated driver to use new API] Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-07TI THS7303 video amplifier driver codeMauro Carvalho Chehab
From: Chaithrika U S <chaithrika@ti.com> This patch adds driver for TI THS7303 video amplifier. This driver is implemented as a v4l2 sub device. Tested on TI DM646x EVM. This version has updates based on review comments by Mauro Chehab. Signed-off-by: Chaithrika U S <chaithrika@ti.com> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>