summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/dvb-pll.h
AgeCommit message (Collapse)Author
2009-06-11dvb-pll: Add support for Alps TDEE4 DVB-C NIMTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> No datasheet, data take from code in flexcop driver. That code rounded down the divisor rather than rounding to nearest, which was probably not intentional and the dvb-pll code will round to nearest. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-06-11dvb-pll: Add support for Samsung TBMU24112 DVB-S NIMTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Tuner parameters determined from code in flexcop driver. That code rounded the divisor down instead of to the nearest value. This was probably not intentional and the dvb-pll version will round to nearest. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-06-11dvb-pll: Add support for Samsung TBDU18132 DVB-S NIMTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Tuner parameters taken from flexcop driver. This PLL has a 17 bit divisor while the dvb-pll driver is designed for 15 bit divisors. It's not a problem as 15 bits is enough for the tuner's entire range. But if a larger range was wanted, it could be done by adding additional bands with the extra divisor bits appearing as band switch bits. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-06-11dvb-pll: Add Samsung TDTC9251DH0 DVB-T NIMTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> No datasheet, tuner data comes from code in flexcop driver. This tuner is also used on the AVerTV 771 supported by the bttv driver, but that code uses a different tuner configuration, which is surprising. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2008-05-18DVB-PLL: add Samsung DTOS403IH102A tunerAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - add Samsung DTOS403IH102A tuner Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-04-08media/dvb/frontends 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> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-03-22dvb-pll: renumber remaining description id'sMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-03-22dvb-pll: remove dead codeMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> remove #if 0'd support for: Philips TUV1236D Philips TD1316 Philips FMD1216ME LG TDVS-H06xF Philips FCV1236D Thomson FE6600 Microtune 4042 FI5 Thomson dtt761x Support for these tuners has been moved into the 'tuner-simple' module. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-02-17dvb-pll: remove support for Philips TUV1236DMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-02-17dvb-pll: remove support for Philips TD1316Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-02-17dvb-pll: remove support for Philips FMD1216MEMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-02-17dvb-pll: remove support for LG TDVS-H06xFMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-02-10dvb-pll: remove support for Philips FCV1236DMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-02-10dvb-pll: remove support for Thomson FE6600Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-02-10dvb-pll: remove support for Microtune 4042 FI5Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-02-10dvb-pll: remove support for Thomson dtt761xMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-02-10dvb-pll: remove support for Thomson dtt7610Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-13dvb-pll: add support for Philips fcv1236dMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch adds support to the dvb-pll library for the Philips fcv1236d tuner, based on the FCV1236D datasheet. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-06-12dvb: Remove static dependencies on dvb-pllMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch removes all static dependencies on the dvb-pll module. All exported dvb_pll_desc's have been UNexported, and the caller will reference the individual dvb_pll_desc by it's index in the pll_list array. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Acked-by: Oliver Endriss <o.endriss@gmx.de> Acked-by: Manu Abraham <manu@linuxtv.org>
2007-06-02dvb-pll digitv dvb-usb: Eliminate last user of dvb_pll_configureTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The last user of dvb_pll_configure was the dvb-usb function dvb_usb_tuner_calc_regs(), which was nothing more than a wrapper around dvb_pll_configure(). It's just a copy of the functionality provided by the tuner_ops calc_regs method, and can be deleted. There were two users of dvb_usb_tuner_calc_regs(). One was dvb_usb_tuner_set_params_i2c(), which is converted to use fe->ops.tuner_ops.calc_regs(). The other was the digitv driver. This driver can use one of two demods, mt352 or nxt6000. For the mt352, the driver would set tuner_ops.calc_regs to dvb_usb_tuner_calc_regs(). We can just attach dvb_pll and use the tuner_ops.calc_regs() provided by that module. For the nxt600, the driver would set tuner_ops.set_params to digitv_nxt6000_tuner_set_params. That function would in turn use dvb_usb_tuner_calc_regs(). We convert it to use tuner_ops.calc_regs() instead, and use dvb_pll_attach. The digitv_tuner_attach() needs to know which frontend was attached by digitv_frontend_attach(), since the nxt6000 needs tuner_ops.set_params() to be overridden with digitv_nxt6000_tuner_set_params(). So to do this a digitv_state that says which frontend was used is added to the dvb_usb_device private state field. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-05-05dvb-pll: pass dvb_frontend_parameters to generic set() functionMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Rename dvb_pll_desc.setbw() to set(), and accept struct dvb_frontend_parameters instead of passing both freq and bandwidth, so that this may be used as a generic function. In order to do this, dvb_pll_configure must also be altered in the same manner, to take struct dvb_frontend_parameters instead of freq and bandwidth. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-04-19Add support for Opera S1- DVB-USBMauro Carvalho Chehab
From: Marco Gittler <g.marco@freenet.de> This patch adds support for DVB-Opera S1 USB 2.0 BOX. Signed-off-by: Marco Gittler <g.marco@freenet.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-18dvb-pll: Replace sleep function with a more capable oneTrent Piepho
The dvb-pll sleep function could only send a 2-byte sequence to the PLL. This isn't enough in some cases, for example fmd1216me will need to send a 4-byte command to set both BB and AB to the correct values. Instead of using a fake band with a frequency of 0 to store the sleep data (which has room for only two bytes), the new sleep function works like the init function. A new pointer is added to the pll description, and when non-NULL points to a buffer with the length and data to send. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-03-18dvb-pll: Move IF frequency from per-band data to per-tuner dataTrent Piepho
The IF frequency was specified for each band, but it's not something that changes from band to band. None of the tuner definitions had a different IF frequency (called offset) from one band to another. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Acked-by: Michael Krufky <mkrufky@linuxtv.org>
2007-02-27dvb-pll: add code for doing tuner initializationTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> Some tuners need or benefit from initialization, to change certain settings from their power on default values. Typically, tuners with TUA603x PLLs can benefit from setting the AGC TOP value to something else. This patch includes code to set the AGC TOP to 103 dBuV for the Thomson DTT-761x tuners, which I have experimentally verified gives the best SNR readings, increasing SNR by about 0.19 dB over the default value. Other tuners can make use of this as well. For example, the separate LG TDVS-H06xF driver's only difference from dvb-pll is this same setting of AGC TOP value. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-27dvb-pll: Fix Kconfig files and add support for making dvb-pll optionalTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> A number of drivers selected DVB_PLL when they did not need it, and some that did need it did not select it. The DVB_PLL option is given a name and help text, so that it will show up in the config menu. DVB_PLL support can be turned on if an out-of-tree driver needs it. The standard dvb fe customization support is added to dvb-pll.h. Since all modules which select DVB_PLL do so unconditionally, it is not possible to turn dvb-pll off when an enabled module selects it, unlike most of the other frontend/tuner drivers. This is because the users of dvb-pll have static references to dvb-pll symbols other than the attach function. If these references are removed, then dvb-pll will be disablable as the other frontend/tuner drivers are. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-11-20whitespace cleanupMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - adhere to 80-column limit - replace some spaces with tabs Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-07-28Convert DVB devices to use dvb_attach()Andrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Only devices using > 1 frontend were ported; ones which did not are left using static binding. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-04-27dvb: rename dvb_pll_tdvs_tua6034 to dvb_pll_lg_tdvs_h06xfMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-18Convert dvb-pll to be a refactored tunerAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Rename pll calls to appropriate tuner calls. Remove pll functions from demod structures. Hook tuner call into tuner_ops. Remove BUG_ON() and convert to a soft error. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
2006-02-28FE6600 is a Thomson tunerMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - The tuner used in DViCO FusionHDTV DVB-T hybrid is made by Thomson - renamed tuner and dvb_pll structs accordingly Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-28DViCO FusionHDTV DVB-T Hybrid and ZL10353-based FusionHDTV DVB-T Plus supportChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Add support for the FE6600 tuner used on the DVB-T Hybrid board. Add support for the Zarlink ZL10353 DVB-T demodulator, which supersedes the MT352, used on the DViCO FusionHDTV DVB-T Hybrid and later model Plus boards. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-01-31Updated Avermedia 777 DVB-T to use dvb-pllHartmut Hackmann
From: Jose Alberto Reguero <jareguero@telefonica.net> linux/drivers/media/dvb/frontends/dvb-pll.c linux/drivers/media/dvb/frontends/dvb-pll.h - added td1316 tuner linux/drivers/media/video/saa7134/saa7134-dvb.c - changed tuning code for AverTV 777 to use dvb-pll Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net> Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
2006-01-23rename cb variable names in tuner structures for global consistencyMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-21rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmvMichael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-12adding support for knc1 Tv Star dvb-sMichael Krufky
From: Regis Prevot <regis.prevot@anevia.com> - added knc1 tv star dvb-s support with philips tuner sd1878. Signed-off-by: Regis Prevot <regis.prevot@anevia.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-20correct Thomson DTT 761x frequency rangesMichael Krufky
From: Michael Krufky <mkrufky@m1k.net> - corrected Thomson DTT 7611 tuner programming, based on spec sheet - renamed to Thomson DTT 761x - applies to DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A (DTT 7610 is similar, but slightly different programming) - corrected frequency ranges for analog and digital modes Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-23- Added support for the following:Michael Krufky
Philips TUV1236D - ATI HDTV Wonder ALPS TDHU2 - AverTVHD MCE A180 Samsung TBMV30111IN - Air2PC ATSC - 2nd generation These will be used in a new NXT200X driver that incorporates the NXT2002 driver and adds support for a couple NXT2004 based cards. Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2005-07-27- Add LG/TUA6034 dvb_pll_desc for ATSC with LG TDVS-H062F & DViCO FusionHDTV5.Michael Krufky
- Fixed LGDT330X signal strength: For now, always set it to 0. - Corrected LGDT330X boundary condition error in read_snr: dB calculation. Signed-off-by: Mac Michaels <wmichaels1@earthlink.net> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-07-04added support for Thomson7611 tuner with LGDT3302 frontend used in DViCO ↵Michael Krufky
FusionHDTV3 Gold-T
2005-06-28added support for LGDT3302 (ATSC VSB/QAM) used in DViCO FusionHDTV3 Gold.Michael Krufky
Signed-off-by: Mac Michaels <wmichaels1@earthlink.net> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-06-06added dvb_pll_desc for ALPS TDED4 used in Nebula USB boxes.Patrick Boettcher
changed the name-field of the FMD1216. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2005-05-31changed dvb-pll-desc to take the frequency as parameter for setbw-callback ↵Patrick Boettcher
into consideration added dvb_pll_desc for Philips FMD1216ME (needed for cxusb)
2005-05-05remove $Id$ because they lead to conflicts when mergingJohannes Stezenbach
2005-05-02preparation for the uDigitv and DViCO USB2.0 boxes: moved pll handling from ↵Patrick Boettcher
dibusb-common to dvb-usb added pll_init to dvb-usb added another dvb_pll_desc for TDA665x
2005-05-02added missing #ifndef and #define to inhibit multiple inclusionsPatrick Boettcher
2005-04-17- ported all dibusb drivers to fit into the dvb-usb-framewordPatrick Boettcher
- created dvb-pll-entries for the tuner used with the dibusb-drivers - removed all traces of the dibusb driver - adapted the dib3000-frontends to get along with the dvb-pll-changes
2005-03-21change gcc-2.95 workaround to what is in 2.6.12-rc1Johannes Stezenbach
2005-03-19 - Patch by Olaf Titz: gcc 2.95 compile fixesKenneth Aafloy
2005-02-16patch by Gerd Knorr: add PLL libraryJohannes Stezenbach
(descriptions + helper functions for simple dvb plls)