linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* LGDT3305 configuration questions
@ 2012-12-02 11:53 Frank Schäfer
  2012-12-02 16:10 ` Devin Heitmueller
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Schäfer @ 2012-12-02 11:53 UTC (permalink / raw)
  To: mkrufky, linux-media

Hi Michael,

I'm currently working on adding support for the "MSI Digivox ATSC"
(EM2874B + TDA18271HDC2 + LGDT3305) to the em28xx driver and I'm trying
to find the right setup for the LGDT3305.
Maybe you can answer some questions about the LGDT3305 configuration:

1) When should deny_i2c_rptr in struct lgdt3305_config be set ?
I can see what the code does, but I'm unsure which value to use.
What's the i2c repeater / i2c gate ctrl and how does it work ?

2) User defined IF frequencies (fields vsb_if_khz and qam_if_khz in
struct lgdt3305_config):
What happens if no user defined values are selected ? The corresponding
registers seem to be 0x00000000 in this case (for the LGDT3305).
Which IF is used in this case ?
The USB log of the stick shows that the registers are set to 4a 3d 70 a3
(for QAM; don't have a log for VSB).
According to the code in lgdt3305_set_if() this corresponds to a value
of .qam_if_khz = 4000.
In the em28xx driver we have another device with the LGDT3304 which sets
this value to 4000, too.
OTOH, these fields claim to hold the value in kHz, so this would be 4MHz
only. But AFAIK intermediate frequencies are usually about 10 times
higher !? ATSC seems to use 44MHz.

Thanks for your help ! :)

Regards,
Frank

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-02 17:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-02 11:53 LGDT3305 configuration questions Frank Schäfer
2012-12-02 16:10 ` Devin Heitmueller
2012-12-02 17:39   ` Frank Schäfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).