From: Eugene Surovegin <ebs@ebshome.net>
To: Andre Draszik <kernel@andred.net>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: IIC troubles w/ ppc4xx (STB04)
Date: Sat, 15 Apr 2006 20:09:44 -0700 [thread overview]
Message-ID: <20060416030944.GA20416@gate.ebshome.net> (raw)
In-Reply-To: <4441A0C8.8090708@andred.net>
On Sun, Apr 16, 2006 at 03:41:28AM +0200, Andre Draszik wrote:
> Hi,
>
> I am having trouble using iic_smbus_quick() of i2c/busses/i2c-ibm-iic.c
> I am trying to i2c_probe() to probe for some devices, which at the end
> calls iic_smbus_quick().
>
> Basically, I get a Data Machine Check as soon as iic->directcntl is
> accessed. Actually, this register is not described in the (old)
> documentation I have.
Does everything else work? I mean ordinary I2C access like read/write.
If everything else is fine, just comment out that iic_smbus_quick()
call or just don't use i2c_probe(). It's a hack anyway, because I2C
spec has no provision for "probing". I wrote this bit-banging
implementation just to get some people off my back :).
BTW, I never tested my driver on STB4, maybe ocp_defs are wrong (in
this case i2c will not work at all).
--
Eugene
next prev parent reply other threads:[~2006-04-16 3:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-16 1:41 IIC troubles w/ ppc4xx (STB04) Andre Draszik
2006-04-16 3:09 ` Eugene Surovegin [this message]
2006-04-16 5:33 ` Andre Draszik
2006-04-16 5:57 ` Eugene Surovegin
2006-04-16 6:55 ` Andre Draszik
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=20060416030944.GA20416@gate.ebshome.net \
--to=ebs@ebshome.net \
--cc=kernel@andred.net \
--cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).