From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: "Alfredo Jesús Delaiti" <alfredodelaiti@netscape.net>
Cc: linux-media@vger.kernel.org
Subject: Re: mb86a20s and cx23885
Date: Sun, 27 Jan 2013 14:16:33 -0200 [thread overview]
Message-ID: <20130127141633.5f751e5d@redhat.com> (raw)
In-Reply-To: <51054759.7050202@netscape.net>
Em Sun, 27 Jan 2013 12:27:21 -0300
Alfredo Jesús Delaiti <alfredodelaiti@netscape.net> escreveu:
> Hi all
>
> I'm trying to run the digital part of the card MyGica X8507 and I need
> help on some issues.
>
>
>
> Need data sheet of IC MB86A20S and no where to get it. Fujitsu People of
> Germany told me: "This is a very old product and not supported any
> more". Does anyone know where to get it?
I never found any public datasheet for this device.
>
> linux-puon:/home/alfredo # modprobe cx23885 i2c_scan=1
>
> ...
>
> [ 7011.618381] cx23885[0]: scan bus 0:
>
> [ 7011.620759] cx23885[0]: i2c scan: found device @ 0x20 [???]
>
> [ 7011.625653] cx23885[0]: i2c scan: found device @ 0x66 [???]
>
> [ 7011.629702] cx23885[0]: i2c scan: found device @ 0xa0 [eeprom]
>
> [ 7011.629983] cx23885[0]: i2c scan: found device @ 0xa4 [???]
>
> [ 7011.630267] cx23885[0]: i2c scan: found device @ 0xa8 [???]
>
> [ 7011.630548] cx23885[0]: i2c scan: found device @ 0xac [???]
>
> [ 7011.636438] cx23885[0]: scan bus 1:
>
> [ 7011.650108] cx23885[0]: i2c scan: found device @ 0xc2
> [tuner/mt2131/tda8275/xc5000/xc3028]
>
> [ 7011.654460] cx23885[0]: scan bus 2:
>
> [ 7011.656434] cx23885[0]: i2c scan: found device @ 0x66 [???]
>
> [ 7011.657087] cx23885[0]: i2c scan: found device @ 0x88 [cx25837]
>
> [ 7011.657393] cx23885[0]: i2c scan: found device @ 0x98 [flatiron]
>
> ...
>
>
> In the bus 0 is demodulator mb86a20s 0x20 (0x10) and in the bus 1 the
> tuner (xc5000). I understand that would have to be cancel the mb86a20s
> i2c_gate_ctrl similarly as in the IC zl10353. If this is possible, is
> not yet implemented in the controller of mb86a20s. The IC cx23885 is
> always who controls the tuner i2c bus.
Well, if you don't add an i2c_gate_ctrl() callback, the mb86a20s won't
be calling it. So, IMO, the cleanest approach would simply to do:
fe->dvb.frontend->ops.i2c_gate_ctrl = NULL;
after tuner attach, if the tuner or the bridge driver implements an i2c gate.
I don't think xc5000 does. The mb86a20s also has its own i2c gate and gpio
ports that might be used to control an external gate, but support for it is
currently not implemented, as no known device uses it.
So, all you need is to attach both mb86a20s and xc5000 on it, and set the
proper GPIO's.
It will call fe->ops.tuner_ops.set_params(fe) inside the set_frontend() fops
logic, in order to tune the device, but this is the same thing as
zl10353_set_parameters does.
>
> Please, could you tell me if I'm reasoning correctly?
>
>
> Using RegSpy I see the bus 0 alternately accesses to addresses 0x20 and
> 0x66under Windows 7. In Windows XP only accessed to 0x20 and when the pc
> starts to 0xa0.
>
> Bus 2 (internal) always accesse to 0x88
>
> The bus 0 and 2 (internal) access to the address 0x66 (according
> modprobe cx23885 i2c_scan), What's there?
Maybe a remote controller? Do you have a high-resolution picture of the
board?
Regards,
Mauro
next parent reply other threads:[~2013-01-27 16:16 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <51054759.7050202@netscape.net>
2013-01-27 16:16 ` Mauro Carvalho Chehab [this message]
2013-01-27 21:48 ` mb86a20s and cx23885 Alfredo Jesús Delaiti
2013-01-27 21:52 ` Fwd: " Alfredo Jesús Delaiti
2013-01-28 10:23 ` Mauro Carvalho Chehab
2013-01-28 20:47 ` Alfredo Jesús Delaiti
2013-02-06 14:12 ` Alfredo Jesús Delaiti
2013-03-03 14:50 ` Alfredo Jesús Delaiti
2013-03-03 16:15 ` Mauro Carvalho Chehab
2013-03-04 23:09 ` Alfredo Jesús Delaiti
2013-03-03 16:40 ` Mauro Carvalho Chehab
2013-03-04 19:42 ` Mauro Carvalho Chehab
2013-03-05 0:00 ` Alfredo Jesús Delaiti
2013-03-05 2:30 ` Mauro Carvalho Chehab
2013-03-08 22:42 ` Alfredo Jesús Delaiti
2013-04-01 22:41 ` Alfredo Jesús Delaiti
2013-07-15 19:30 ` Alfredo Jesús Delaiti
2013-07-15 20:30 ` Mauro Carvalho Chehab
2013-07-17 13:54 ` Alfredo Jesús Delaiti
2013-07-17 19:23 ` Mauro Carvalho Chehab
2013-07-19 3:38 ` Alfredo Jesús Delaiti
2013-07-21 13:50 ` Alfredo Jesús Delaiti
2013-07-23 20:58 ` Alfredo Jesús Delaiti
2013-07-23 21:46 ` Alfredo Jesús Delaiti
2013-07-27 17:55 ` Alfredo Jesús Delaiti
[not found] ` <20130801090436.6dfa0f68@infradead.org>
2013-08-01 17:16 ` Alfredo Jesús Delaiti
2013-08-01 17:37 ` Mauro Carvalho Chehab
2013-08-01 18:09 ` Alfredo Jesús Delaiti
2013-08-01 18:48 ` Mauro Carvalho Chehab
2013-08-02 3:18 ` Alfredo Jesús Delaiti
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=20130127141633.5f751e5d@redhat.com \
--to=mchehab@redhat.com \
--cc=alfredodelaiti@netscape.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.