• Hartmut Hackmann's avatar
    V4L/DVB (5311): Tda1004x driver updates · 1bb0e866
    Hartmut Hackmann authored
    There are the following changes:
    - separate configuration of IF and GPIOs.
    - set GPIOs before firmware load. This helps to avoid I2C address
      collisions.
    - if desired invert GPIOs at sleep (automatic return to analog mode of card).
    - added 3 tuner configuration bytes to config stuct.
    - added i2c gate address to config struct.
    - moved _state struct declaration to header file to make it accessible
      on board layer.
    - added "conf_probed" to the state struct to allow i.e. probing for correct
      tuner version.
    - changed firmware load mechanism to always:
      + check if already loaded
      + try to boot from eeprom
      + try downlad from host
    - corrected name of tda10046 firmware image (backward compatible).
    Signed-off-by: default avatarHartmut Hackmann <hartmut.hackmann@t-online.de>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
    1bb0e866
tda1004x.c 37.2 KB