01 Feb, 2016
2 commits
-
The customer PC hardware can be shipped with lots of different
configurations, as vendors use to replace some of the chips on
their hardware along the time. All drivers that support such
devices are prepared to handle the hardware differences, using
their own auto-probing logic.They do it in a way that number of inputs and outputs for a given
hardware type doesn't change.Now that we're adding media controller capabilities to those drivers,
we need to standardize the number of inputs and outputs for each
hardware type, as we want to have a generic function at the V4L2
core that would create the links for the entities that are expected
on such hardware.Such standard is already there for tuners, but tuner.h is not the
best place to store such data, as we'll need to add definitions also
for analog TV demodulators.Also, we'll need a place to put a set of MC handling functions. So,
let's create a v4l2-mc.h to store such kind of definitions.Signed-off-by: Mauro Carvalho Chehab
-
The output of a tuner is not only IF frequencies. They may also
output audio on some of its pins, and may even be a zero-IF tuner,
with outputs a baseband. So, rename the PAD name to make it
clearer and add a proper documentation about that at tuner.h.No functional changes.
Signed-off-by: Mauro Carvalho Chehab
11 Jan, 2016
1 commit
-
Tuners actually have at least one connector on its input.
Add a PAD to connect it.
Acked-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
05 Oct, 2015
2 commits
-
Remove some bad whitespaces before tabs and fix the initial
comment to be compliant with Kernel coding style.Now, the only complains are about long comment lines at the
defines. Those warnings should be ok to be kept.Signed-off-by: Mauro Carvalho Chehab
-
This is part of the V4L2 core, so its kABI should be
documented at device-drivers DocBook.Add the meta-tags for that.
Signed-off-by: Mauro Carvalho Chehab
08 Apr, 2013
1 commit
-
config looks like a hack that was added to tuner-core to allow some
configuration of TDA8290 tuner (it's not used by any other driver).
But with the new configuration options of tda8290 driver (no_i2c_gate
and std_map), it's no longer sufficient.
Change config to be void * instead, which allows passing tuner-dependent
config struct to drivers.
Also update saa7134 driver to reflect this change (no other driver uses this).Signed-off-by: Ondrej Zary
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab
24 Mar, 2013
1 commit
-
This adds support for three Sony BTF tuners:
TUNER_SONY_BTF_PG472Z: PAL+SECAM
TUNER_SONY_BTF_PK467Z: NTSC-M-JP
TUNER_SONY_BTF_PB463Z: NTSC-M
These come from the go7007 staging driver where they were implemented in
the wis-sony-tuner i2c driver.
Adding support for these tuners to tuner-types.c is the first step towards
removing the wis-sony-tuner driver.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
15 Feb, 2012
1 commit
-
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab
16 Jan, 2012
1 commit
-
Update xc4000 tuner definition, number 81 is already in use by
TUNER_PARTSNIC_PTI_5NF05.Cc: stable@kernel.org
Signed-off-by: Miroslav Slugen
Signed-off-by: Mauro Carvalho Chehab
28 Jul, 2011
1 commit
-
This is initial code written by Davide Ferri for the PCTV 340e, including
a new xc4000 driver. I am checking in all the code unmodified, and making
no assertions about its quality (other than confirming it compiles).[mchehab@redhat.com: rebased on the top of the current tree]
Signed-off-by: Devin Heitmueller
Signed-off-by: Davide Ferri
Cc: Patrick Boettcher
Signed-off-by: Mauro Carvalho Chehab
22 Mar, 2011
4 commits
-
A few places used T_DIGITAL_TV internally. Remove the usage of this
obsolete mode mask.Signed-off-by: Mauro Carvalho Chehab
-
tda9887 used to use the T_STANDBY type internally, while tea5761
used it to put the device to sleep. Fix the code for it to work
properly with the tuner core changes and remove this flag from
tuner.h.Signed-off-by: Mauro Carvalho Chehab
-
In the past, T_STANDBY were used on devices with a separate radio tuner to
mark a tuner that were disabled. With the time, it got newer meanings.Also, due to a bug at the logic, the driver might incorrectly return
T_STANDBY to userspace.So, instead of keeping the abuse, just use a boolean for storing
such information.We can't remove T_STANDBY yet, as this is used on two other drivers. A
latter patch will address its usage outside tuner-core.Thanks-to: Devin Heitmueller
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Mauro Carvalho Chehab
09 Jul, 2010
1 commit
-
Signed-off-by: Andy Walls
Signed-off-by: Mauro Carvalho Chehab
27 Feb, 2010
1 commit
-
Sony makes custome tuners for its GigaPocket line of ivtv based capture
cards. This adds an entry to the tuner-types list for such tuners.
Parameters are based on experiments by Eric Anderson .Signed-off-by: Andy Walls
Signed-off-by: Mauro Carvalho Chehab
19 Sep, 2009
2 commits
-
Add support for NXP TDA18271 as a standalone tuner, allowing the use of
analog demodulators other than the Philips/NXP TDA829x.Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
add Philips CU1216L NIM
Signed-off-by: Antti Palosaari
Signed-off-by: Mauro Carvalho Chehab
12 Sep, 2009
1 commit
-
Signed-off-by: Andy Walls
Signed-off-by: Mauro Carvalho Chehab
17 Jun, 2009
2 commits
-
Signed-off-by: Andy Walls
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov
Signed-off-by: Mauro Carvalho Chehab
18 Oct, 2008
1 commit
-
This tuner was already supported by proxy as an FMD1216ME, however,
the MEX uses a different FM Radio IF so this addition is now required.Signed-off-by: Darron Broad
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab
12 Oct, 2008
2 commits
-
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) and CDI Brasil
(www.cdibrasil.com.br/) for sponsoring this development.Signed-off-by: Gilberto
Signed-off-by: Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab
25 Apr, 2008
1 commit
-
TUNER_PHILIPS_ATSC is an ambiguous name for a tuner. Rename it to
TUNER_PHILIPS_FCV1236D to be more descriptive.Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab
26 Jan, 2008
5 commits
-
From Zhang: This an updated patch that adds analog support for
the xc5000 tuner driver. it was tested on a Pinnacle PCTV HD 800i
card (patches to follow).Patch commited as-is, cleanup to follow ... Steve.
Signed-off-by: Chaogui Zhang
Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab -
- remove dependency of tda8290 module on struct tuner
- move tuner_foo printk macros from tuner-driver.h into tuner-core.c
- clean up #includes of tuner-i2c.h / tuner-driver.hSigned-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
TUNER_PHILIPS_TDA8290 will autodetect a TDA8290 or a TDA8295,
so we don't need this separate entry anymore.Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Add basic support for NXP TDA8295 analog demod and TDA18271 tuner silicon.
TDA8295 + TDA8275a not yet tested.
TDA8290 + TDA18271 not yet supported.Digital mode of TDA18271 not yet tested & needs more work.
Signed-off-by: Michael Krufky
Reviewed-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Also replaces all occurrences of TUNER_XCEIVE_XC3028 to TUNER_XC2028.
Some work is still may be required to make sure that non-tm6000 drivers will
be capable of using tuner-xc2028.Signed-off-by: Mauro Carvalho Chehab
10 Oct, 2007
1 commit
-
Add radio support for the Thomson DTT7612 tuner.
This tuner uses a different 1st intermediate frequency than the other radio
tuners supported (a lot of NTSC radio tuners probably need this change too).Add a new tuner-simple parameter, radio_if. It selects the 1st IF used for
radio reception. The radio frequency setting code in tuner-simple now uses
this field, instead of a special case select() block for each tuner with radio
support.The tuner parameters for tuners that used a 33.3 MHz RIF now set radio_if to 1
in tuner-types.c.The Thomson DTT7612 gets radio_if = 2, also add has_tda9887 = 1 and
fm_gain_normal = 1.Add some defines for tda9887 bits that control IF setting in radio mode.
Add a new tda9887 config option, TDA9887_RIF_41_3, that selects a 41.3 MHz
radio IF.Fix the way tda9887 radio options work. The driver was modifying the default
radio mode config templates based on the TDA9887_XXXX flags. This means that
_all_ tuners would get the same settings. If you had a one tuner than used
TDA9887_GAIN_NORMAL and one that didn't, both would get the setting. Now the
tda9987 driver just checks if tuner mode is radio and then applies the config
settings directly to the data being sent, just like how all the TV mode
settings already work.The PLL setting math is made a little more accurate.
And a grammar error in a printk is fixed.
Signed-off-by: Trent Piepho
Signed-off-by: Mauro Carvalho Chehab
19 Jul, 2007
5 commits
-
Move internal structures and debug macros to drivers/media/video/tuner-driver.h
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Move tuner callback function pointers out of struct tuner, into
struct tuner_operations.Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Individual tuner drivers are now allocating memory themselves for
their own private data structures. This changeset adds a release
callback to the tuner operations, so that newer drivers that may
require more complex data structures may release this private data
themselves.Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Create private data struct for device specific private data.
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
This driver were made based on tea5761 specs.
Signed-off-by: Mauro Carvalho Chehab
02 May, 2007
1 commit
-
Clean up the includes of . Only include this header file
when we actually need it.Signed-off-by: Jean Delvare
28 Apr, 2007
2 commits
-
This change supplies a more generic version of the tuner callback.
The tuner struct now has a function pointer
int (*tuner_callback) (void *dev, int command, int arg)
additionally to a int config parameter.
both can be set through the TUNER_SET_TYPE_ADDR client call.
Note that the meaning of the parameters depend on the tuner type.Signed-off-by: Hartmut Hackmann
Signed-off-by: Mauro Carvalho Chehab -
These entries mainly are to support configurations of the tda827x
silicon tuner with a preamplifier.
The values can be set throgh the attach inform or through
the extended TUNER_SET_TYPE_ADDR client call. The function pointer
will only be updated if the parameter is not NULL.
Since a typecast is necessary to set the pointer, i added a typedef for
this pointer (tuner_gpio_func_t) in tuner.hSigned-off-by: Hartmut Hackmann
Signed-off-by: Mauro Carvalho Chehab
10 Dec, 2006
1 commit
-
Adds an option to select GainNormal at tda9887 and make usbvision
to use it.Signed-off-by: Mauro Carvalho Chehab