From: Andreas Regel <andreas.regel@gmx.de>
To: Sergey Mironov <ierton@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: stv0903bab i2c-repeater question
Date: Wed, 31 Mar 2010 18:37:24 +0200 [thread overview]
Message-ID: <4BB37A44.8020909@gmx.de> (raw)
In-Reply-To: <h2iaa09d86e1003310314kb5c89ff6rc0d674197db538e9@mail.gmail.com>
Hi Sergey,
Am 31.03.2010 12:14, schrieb Sergey Mironov:
> Hello maillist!
> I am integrating frontend with dvb-demux driver of one device
> called mdemux.
>
> The frontend includes following parts:
> - stv0903bab demodulator
> - stv6110a tuner
> - lnbp21 power supply controller
>
> stv6110a is connected to i2c bus via stv0903's repeater.
>
> My question is about setting up i2c repeater frequency divider (I2CRPT
> register). stv0903 datasheet says that "the speed of the i2c repeater
> obtained by
> dividing the internal chip frequency (that is, 135 MHz)"
>
> budget.c driver uses value STV090x_RPTLEVEL_16 for this divider. But
> 135*10^6/16 is still too high to be valid i2c freq.
>
> Please explain where I'm wrong. Does the base frequency really equals
to 135
> Mhz? Thanks.
>
The frequency divider in I2CRPT controls the speed of the I2C repeater
HW unit inside the STV0903. The I2C clock itself has the same speed as
the one that is used to access the STV0903. The repeater basically just
routes the signals from one bus to the other and needs a higher internal
frequency to do that properly. That is the frequency you set up with I2CRPT.
Regards
Andreas
next prev parent reply other threads:[~2010-03-31 16:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-31 10:14 stv0903bab i2c-repeater question Sergey Mironov
2010-03-31 16:37 ` Andreas Regel [this message]
2010-04-02 9:46 ` Sergey Mironov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BB37A44.8020909@gmx.de \
--to=andreas.regel@gmx.de \
--cc=ierton@gmail.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox