LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>,
	David Brownell <david-b@pacbell.net>,
	Bryan Wu <bryan.wu@analog.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Deepak Saxena <dsaxena@plexity.net>,
	linux-kernel@vger.kernel.org,
	Christer Weinigel <wingel@nano-system.com>,
	Jordan Crouse <jordan.crouse@amd.com>
Subject: Re: [PATCH v3] Bitbanging i2c bus driver using the GPIO API
Date: Mon, 23 Apr 2007 11:42:54 +0200	[thread overview]
Message-ID: <20070423114254.71787844@hyperion.delvare> (raw)
In-Reply-To: <20070422154151.GJ5575@csclub.uwaterloo.ca>

Lennart,

On Sun, 22 Apr 2007 11:41:51 -0400, Lennart Sorensen wrote:
> On Fri, Apr 20, 2007 at 07:49:33PM +0200, Jean Delvare wrote:
> > The scx200_acb driver was heavily modified in 2.6.17 and 2.6.18, not
> > much since then. I am not familiar with the hardware so I can't comment
> > on which chips are supposed to work and which aren't.
> 
> Well 2.6.18's scx200_acb works on the geode LX module I have, but no on
> the geode sc1200 module (where scx200_i2c does work).
> 
> scx200_acb doesn't detect any device that it can drive (nothing in dmesg
> at all when loaded) on the sc1200.

On the SCx200, the scx200_acb driver doesn't actually detect the
device. It uses arbitrary I/O addresses and hopes for the best. By
default, two buses are created, at 0x820 and 0x840. This might simply
not be the right addresses for your board. See
Documentation/i2c/busses/scx200_acb.

You should enable CONFIG_I2C_DEBUG_BUS and see what the driver says
when being loaded.

I seem to remember there has been a patch floating around to
auto-detect the right ports back in June 2006, but it seems to have
been lost somehow. Jordan, do you remember?

> I believe the main changes that
> happened to scx200_acb was adding support for the newer CSxxxx chipsets,
> such as the one used with the geode LX (which does work now).

Not only. There was also a log of bug fixing.

-- 
Jean Delvare

  parent reply	other threads:[~2007-04-23  9:42 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-14 12:56 Haavard Skinnemoen
2007-04-14 14:34 ` Haavard Skinnemoen
2007-04-14 17:28   ` Jean Delvare
2007-04-18 17:42     ` Lennart Sorensen
2007-04-19  6:54       ` Jean Delvare
2007-04-19 14:27         ` Jordan Crouse
2007-04-19 20:59         ` [PATCH v3] " Lennart Sorensen
2007-04-20 17:49           ` Jean Delvare
2007-04-22 15:41             ` Lennart Sorensen
2007-04-22 23:41               ` Jordan Crouse
2007-04-23  9:42               ` Jean Delvare [this message]
2007-04-23 14:47                 ` Jordan Crouse
2007-04-26 12:56                   ` Jean Delvare
2007-04-26 13:29                     ` Lennart Sorensen
2007-04-26 13:39                       ` Jordan Crouse
2007-04-26 14:03                         ` Lennart Sorensen
2007-04-27  8:02                           ` Jean Delvare
2007-04-27 14:19                             ` Lennart Sorensen
2007-04-27 14:49                             ` Jordan Crouse
2007-04-27 18:53                               ` Lennart Sorensen
2007-05-06  9:24                                 ` Jean Delvare

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=20070423114254.71787844@hyperion.delvare \
    --to=khali@linux-fr.org \
    --cc=akpm@linux-foundation.org \
    --cc=bryan.wu@analog.com \
    --cc=david-b@pacbell.net \
    --cc=dsaxena@plexity.net \
    --cc=hskinnemoen@atmel.com \
    --cc=jordan.crouse@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lsorense@csclub.uwaterloo.ca \
    --cc=wingel@nano-system.com \
    --subject='Re: [PATCH v3] Bitbanging i2c bus driver using the GPIO API' \
    /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

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).