linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Tim Nelson <tnelson-f4DZ+GDyDBaakBO8gow8eQ@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Winbond W83L604G
Date: Wed, 6 Jul 2011 17:05:31 +0200	[thread overview]
Message-ID: <20110706170531.2f3bed19@endymion.delvare> (raw)
In-Reply-To: <20432649.84.1309963215499.JavaMail.root-N94c1vXlnCs/q/FG96+aB0EOCMrvLtNR@public.gmane.org>

On Wed, 6 Jul 2011 09:40:15 -0500 (CDT), Tim Nelson wrote:
> ----- Original Message -----
> > Hi Tim,
> > 
> > On Tue, 5 Jul 2011 12:06:13 -0500 (CDT), Tim Nelson wrote:
> > > I've done that:
> > >
> > > root@aaa:~# lsmod | grep i2c
> > > i2c_dev 3382 0
> > > i2c_core 12703 1 i2c_dev
> > >
> > > But, nothing of interest in dmesg other than:
> > >
> > > [108414.944722] i2c /dev entries driver
> > >
> > > and running i2cdetect still turns up nothing:
> > >
> > > root@aaa:~# i2cdetect -l
> > >
> > > Any thoughts? Does this specific Winbond chip require a device
> > > specific kernel module to operate such as those found in
> > > /lib/modules/2.6.32-5-486/kernel/drivers/i2c/busses ?
> > 
> > As I understand it, the W83L604G is a GPIO expander on I2C/SMBus, so
> > what it needs is a driver in drivers/gpio. We don't seem to have
> > support
> > for it yet, unless it is 100% compatible with another device we
> > already
> > support.
> > 
> > On top of that, you need a driver for the I2C/SMBus controller on your
> > mainboard, to which the W83L604G is connected. Without it, you won't
> > even be able to talk to the W83L604G. You did not tell us anything
> > about your system so we can't tell you which driver that would be - if
> > we have a driver at all. Does lspci say anything about SMBus? If not,
> > what is your system based on?
> > 
> 
> Greetings Jean-
> 
> The board is running an AMD Geode LX CPU with the CS5536 companion chip. Here is the output of lspci:
> 
> root@aaa:~# lspci
> 00:01.0 Host bridge: Advanced Micro Devices [AMD] CS5536 [Geode companion] Host Bridge (rev 33)
> 00:01.1 VGA compatible controller: Advanced Micro Devices [AMD] Geode LX Video
> 00:01.2 Entertainment encryption device: Advanced Micro Devices [AMD] Geode LX AES Security Block
> 00:0e.0 Ethernet controller: VIA Technologies, Inc. VT6105M [Rhine-III] (rev 96)
> 00:0f.0 Ethernet controller: VIA Technologies, Inc. VT6105M [Rhine-III] (rev 96)
> 00:12.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
> 00:13.0 ISA bridge: Advanced Micro Devices [AMD] CS5536 [Geode companion] ISA (rev 03)
> 00:13.2 IDE interface: Advanced Micro Devices [AMD] CS5536 [Geode companion] IDE (rev 01)
> 00:13.4 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC (rev 02)
> 00:13.5 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC (rev 02)
> 
> There are no SMBus controllers listed. However, The datasheet[1] for the CS5536 notes there is an SMB controller within this chip. Details from the datasheet:
> 
> "System Management Bus (SMB) Controller:
> — Compatible with Intel System Management Bus, 
> Industry Standard Two-wire interface, and 
> ACCESS.bus
> — Bus master and slave operation"

Correct, and we have support for this device. Driver is named
scx200_acb. Load it and then "i2cdetect -l" should list the SMBus.

-- 
Jean Delvare

  parent reply	other threads:[~2011-07-06 15:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-05 14:46 Winbond W83L604G Tim Nelson
     [not found] ` <30480104.171.1309877177809.JavaMail.root-N94c1vXlnCs/q/FG96+aB0EOCMrvLtNR@public.gmane.org>
2011-07-05 14:59   ` Zhang, Shijie
     [not found]     ` <6D7A567890E70E4BA49B8A9B365980FA12D99C14BE-QQHDSDV1ERZpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-07-05 17:06       ` Tim Nelson
     [not found]         ` <8829587.204.1309885573653.JavaMail.root-N94c1vXlnCs/q/FG96+aB0EOCMrvLtNR@public.gmane.org>
2011-07-06  7:03           ` Jean Delvare
     [not found]             ` <20110706090347.44bd4bbe-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-07-06 14:40               ` Tim Nelson
     [not found]                 ` <20432649.84.1309963215499.JavaMail.root-N94c1vXlnCs/q/FG96+aB0EOCMrvLtNR@public.gmane.org>
2011-07-06 15:05                   ` Jean Delvare [this message]
     [not found]                     ` <20110706170531.2f3bed19-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-07-06 15:10                       ` Tim Nelson
     [not found]                         ` <29201825.112.1309965025512.JavaMail.root-N94c1vXlnCs/q/FG96+aB0EOCMrvLtNR@public.gmane.org>
2011-07-06 20:30                           ` Tim Nelson
     [not found]                             ` <13595453.330.1309984221608.JavaMail.root-N94c1vXlnCs/q/FG96+aB0EOCMrvLtNR@public.gmane.org>
2011-07-07  6:43                               ` Michael Lawnick
2011-07-07  8:19                               ` Jean Delvare
     [not found]                                 ` <20110707101931.18379a23-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-07-07 15:32                                   ` Tim Nelson
     [not found]                                     ` <19430981.80.1310052758044.JavaMail.root-N94c1vXlnCs/q/FG96+aB0EOCMrvLtNR@public.gmane.org>
2011-07-07 16:23                                       ` Jean Delvare
     [not found]                                         ` <20110707182315.6e28f62a-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-07-08 21:48                                           ` Tim Nelson
     [not found]                                             ` <21511805.221.1310161730242.JavaMail.root-N94c1vXlnCs/q/FG96+aB0EOCMrvLtNR@public.gmane.org>
2011-07-09  7:23                                               ` Jean Delvare
     [not found]                                                 ` <20110709092334.566e6dcd-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-07-11 17:31                                                   ` Tim Nelson
     [not found]                                                     ` <2607557.175.1310405514456.JavaMail.root-N94c1vXlnCs/q/FG96+aB0EOCMrvLtNR@public.gmane.org>
2011-07-11 18:29                                                       ` 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=20110706170531.2f3bed19@endymion.delvare \
    --to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=tnelson-f4DZ+GDyDBaakBO8gow8eQ@public.gmane.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).