Re: [PATCH] - tm6000 DVB support

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

 



Stefan Ringel wrote:

>> So, it will basically preserve bits 8,7,6,4 and 1 of register 8,
>> and will clear bit 4 (EM_GPIO_4 is 1 << 4 - e. g. bit 4).
>> After that, it will sleep for 10 miliseconds, and will then do a
>> reset on bit 3 of Register 4 (writing 0, then 1 to the bit).
>>   
> 
> reset example :
> 
> static struct tm6010_seq terratec[] = {
>             {TM6010_GPIO_2,    1,    60},  /* GPIO 2 going to high */
>             {TM6010_GPIO_2,    0,    75},  /* GPIO 2 going to lo */
>             {TM6010_GPIO_2,    1,    60},  /* GPIO 2 going to high */
>             { -1         ,    -1,    -1},
> }
> 
> Is that correct?

Yes. In the case of tm6010, it has separate registers for each GPIO, so, you
don't need a bitmask.

>> the hack.c needs to be validated against the zl10353, in order to identify
>> what are the exact needs for tm6000. Some devices require serial mode, while
>> others require parallel mode.
>>
>> I bet that playing with zl10353_config, we'll find the proper init values 
>> required by tm6000.
>>
>>   
> 
> I have separately write in the hack.c the value from terratec hybrid
> stick. The older value I haven't clean.

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.


-- 

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