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

    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

    Mauro Carvalho Chehab
     

11 Jan, 2016

1 commit


05 Oct, 2015

2 commits


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

    Ondrej Zary
     

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

    Hans Verkuil
     

15 Feb, 2012

1 commit


16 Jan, 2012

1 commit


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

    Davide Ferri
     

22 Mar, 2011

4 commits


09 Jul, 2010

1 commit


27 Feb, 2010

1 commit


19 Sep, 2009

2 commits


12 Sep, 2009

1 commit


17 Jun, 2009

2 commits


18 Oct, 2008

1 commit


12 Oct, 2008

2 commits


25 Apr, 2008

1 commit


26 Jan, 2008

5 commits


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

    Trent Piepho
     

19 Jul, 2007

5 commits


02 May, 2007

1 commit


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

    Hartmut Hackmann
     
  • 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.h

    Signed-off-by: Hartmut Hackmann
    Signed-off-by: Mauro Carvalho Chehab

    Hartmut Hackmann
     

10 Dec, 2006

1 commit