Re: [PATCH] - tm6000 DVB support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stefan Ringel wrote:

>> Ok, but maybe you missed my point: at the long term, we should get rid of hack.c, and
>> be sure that all needed initializations are done by zl10353 driver or by tm6010-dvb.
>>   
> I think I all are done by zl10353 driver.
> 
> I thinbk all config param is usefull and ".tm6000" for tm6000 specific
> once. For what is ".parallel_ts" ?

zl10353 may be connected via a serial or via a parallel interface to the chip.
So, it basically depends on how the wiring between zl10353 and the bridge is done.

> 
> int tm6000_dvb_attach_frontend(struct tm6000_core *dev)
> {
>     struct tm6000_dvb *dvb = dev->dvb;
> 
>     if(dev->caps.has_zl10353) {
>         struct zl10353_config config =
>                     {.demod_address = dev->demod_addr,
>                      .no_tuner = 1,
>                      .parallel_ts = 1,
>                      .if2 = 45700,
>                      .disable_i2c_gate_ctrl = 1,
>                      .tm6000 = 1,
>                     };
> 
>         dvb->frontend = pseudo_zl10353_attach(dev, &config,
> //        dvb->frontend = dvb_attach (zl10353_attach, &config,
>                                &dev->i2c_adap);
>     }
>     else {
>         printk(KERN_ERR "tm6000: no frontend defined for the device!\n");
>         return -1;
>     }
> 
>     return (!dvb->frontend) ? -1 : 0;
> }
> 
> 


-- 

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux