From: Jean Delvare <khali@linux-fr.org>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: benh@kernel.crashing.org, linux-fbdev-devel@lists.sourceforge.net
Subject: Re: radeonfb monid i2c bus
Date: Mon, 9 Jun 2008 09:14:14 +0200 [thread overview]
Message-ID: <20080609091414.2502c49d@hyperion.delvare> (raw)
In-Reply-To: <a728f9f90806082215x35c81364q45583a3742bc5d2@mail.gmail.com>
Hi Alex,
Thanks for your answers.
On Mon, 9 Jun 2008 01:15:00 -0400, Alex Deucher wrote:
> On Sun, Jun 8, 2008 at 10:20 AM, Jean Delvare <khali@linux-fr.org> wrote:
> > But apparently not all chips have the "monid" bus? Or is it a card
> > property, and other cards using the same Radeon 9200 might have it
> > while mine doesn't? I wouldn't care about an empty i2c bus, but a
> > broken bus as I get now affects the whole i2c subsystem and its users
> > in unpleasant ways. That's why I am wondering if there's a way to avoid
> > it.
>
> They are just gpio pads. All the cards supported by radeonfb have
> then, but only certain ones are wired up as per the bios connector
> tables on x86 cards. Mac cards and we currently hard code them based
> on lots of investigation. I suppose, ideally, you check the connector
> tables and some of the other bios tables (powerplay, external tmds,
> ext dac, multimedia. etc.) and only init the buses you have a
> particular card.
That would indeed make sense. If these are GPIOs, do we even have any
guarantee that they aren't used for other purposes when not used for
I2C? I've always considered the monid I2C bus on my adapters to be
non-existent (i2c-algo-bit can't control the lines) and that's the
reason why I wanted it to not be created, but maybe the GPIO lines are
actually used for something different and creating the non-existent I2C
bus could break that?
So if it is possible to create the I2C buses (by default, at least)
only when the BIOS connector tables say they are present, I'm in favor
of doing that.
--
Jean Delvare
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
next prev parent reply other threads:[~2008-06-09 7:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-06 10:01 radeonfb monid i2c bus Jean Delvare
2008-06-06 13:46 ` Alex Deucher
2008-06-06 13:50 ` Benjamin Herrenschmidt
2008-06-08 14:20 ` Jean Delvare
2008-06-08 22:48 ` Jimmy.Jazz
2008-06-09 5:15 ` Alex Deucher
2008-06-09 7:14 ` Jean Delvare [this message]
2008-06-09 13:02 ` Alex Deucher
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=20080609091414.2502c49d@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=alexdeucher@gmail.com \
--cc=benh@kernel.crashing.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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;
as well as URLs for NNTP newsgroup(s).