From: "Ed Swierk" <eswierk-BGArkANP9klv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
To: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>,
Alessandro Zummo
<a.zummo-BfzFCNDTiLLj+vYz1yj4TQ@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Andrew Morton
<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
BARRE Sebastien <sbarre-6lXSvc0s5hDQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH] rtc-ds1307: True SMBus compatibility
Date: Wed, 7 Jan 2009 07:22:12 -0800 [thread overview]
Message-ID: <9ae48b020901070722l77bebc6boc8fa2fd0bcc8da28@mail.gmail.com> (raw)
In-Reply-To: <20090107142426.4be04d4d-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
On Wed, Jan 7, 2009 at 5:24 AM, Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org> wrote:
> Are you certain the nForce2 controllers can't do it? The i2c-nforce2
> driver doesn't implement it, but this doesn't mean the hardware can't
> do it. I don't have any datasheet for these chips, but I know their
> SMBus implementation is very similar to those of the AMD 8111, and
> i2c-amd8111 has support for I2C block reads and writes. I think it
> would be worth giving it a try, by copying the i2c-amd8111
> implementation into the i2c-nforce2 driver and seeing if it happens to
> just work. If it works, that would be more elegant than your proposed
> hack to the rtc-ds1307 driver.
I checked the datasheet and also tried every possible SMBus command
value to try to discover any supported commands that the i2c-nforce2
driver happens not to use, to no avail. The nVidia SMBus is pure
SMBus.
I could change the ds1307 driver to check whether the controller
supports i2c block commands and fall back to emulation only if they
are not available. Would that address your concerns?
--Ed
WARNING: multiple messages have this Message-ID (diff)
From: "Ed Swierk" <eswierk@aristanetworks.com>
To: "Jean Delvare" <khali@linux-fr.org>
Cc: linux-i2c@vger.kernel.org, "David Brownell" <david-b@pacbell.net>,
"Alessandro Zummo" <a.zummo@towertech.it>,
linux-kernel@vger.kernel.org,
"Andrew Morton" <akpm@linux-foundation.org>,
"BARRE Sebastien" <sbarre@sdelcc.com>
Subject: Re: [PATCH] rtc-ds1307: True SMBus compatibility
Date: Wed, 7 Jan 2009 07:22:12 -0800 [thread overview]
Message-ID: <9ae48b020901070722l77bebc6boc8fa2fd0bcc8da28@mail.gmail.com> (raw)
In-Reply-To: <20090107142426.4be04d4d@hyperion.delvare>
On Wed, Jan 7, 2009 at 5:24 AM, Jean Delvare <khali@linux-fr.org> wrote:
> Are you certain the nForce2 controllers can't do it? The i2c-nforce2
> driver doesn't implement it, but this doesn't mean the hardware can't
> do it. I don't have any datasheet for these chips, but I know their
> SMBus implementation is very similar to those of the AMD 8111, and
> i2c-amd8111 has support for I2C block reads and writes. I think it
> would be worth giving it a try, by copying the i2c-amd8111
> implementation into the i2c-nforce2 driver and seeing if it happens to
> just work. If it works, that would be more elegant than your proposed
> hack to the rtc-ds1307 driver.
I checked the datasheet and also tried every possible SMBus command
value to try to discover any supported commands that the i2c-nforce2
driver happens not to use, to no avail. The nVidia SMBus is pure
SMBus.
I could change the ds1307 driver to check whether the controller
supports i2c block commands and fall back to emulation only if they
are not available. Would that address your concerns?
--Ed
next prev parent reply other threads:[~2009-01-07 15:22 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-05 17:41 [PATCH] rtc-ds1307: True SMBus compatibility Ed Swierk
2009-01-05 17:41 ` Ed Swierk
2009-01-06 22:48 ` David Brownell
[not found] ` <1231177261.13443.20.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-01-07 13:24 ` Jean Delvare
2009-01-07 13:24 ` Jean Delvare
[not found] ` <20090107142426.4be04d4d-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-01-07 15:22 ` Ed Swierk [this message]
2009-01-07 15:22 ` Ed Swierk
[not found] ` <9ae48b020901070722l77bebc6boc8fa2fd0bcc8da28-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-01-07 15:27 ` Jean Delvare
2009-01-07 15:27 ` Jean Delvare
[not found] ` <20090107162709.755982c0-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-01-07 15:43 ` Ed Swierk
2009-01-07 15:43 ` Ed Swierk
[not found] ` <9ae48b020901070743x1a5eaf72k5314cd969dc580ef-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-01-07 15:49 ` Jean Delvare
2009-01-07 15:49 ` Jean Delvare
2009-01-19 23:59 ` Ed Swierk
2009-01-19 23:59 ` Ed Swierk
[not found] ` <1232409577.25123.11.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-01-20 10:43 ` Jean Delvare
2009-01-20 10:43 ` Jean Delvare
[not found] ` <20090120114304.3b956189-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-01-26 6:33 ` Ed Swierk
2009-01-26 6:33 ` Ed Swierk
[not found] ` <1232951630.1329.4.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-01-26 9:37 ` Jean Delvare
2009-01-26 9:37 ` Jean Delvare
2009-01-26 21:06 ` David Brownell
2009-01-26 21:06 ` David Brownell
[not found] ` <200901261306.21059.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2009-01-26 21:54 ` Ed Swierk
2009-01-26 21:54 ` Ed Swierk
-- strict thread matches above, loose matches on Subject: below --
2009-01-05 17:36 Ed Swierk
2009-01-06 13:35 ` BARRE Sebastien
2009-01-06 22:06 ` Alessandro Zummo
[not found] ` <C1C62166118DFA4A8BBA01A2411F0D171224AECDC1-iGzfJtNnmHkUlixSki3fykIJAyBIbWHDnAJcWxkt5PDR7s880joybQ@public.gmane.org>
2009-01-06 22:13 ` Ed Swierk
2009-01-06 22:13 ` Ed Swierk
2009-01-07 14:22 ` BARRE Sebastien
2009-01-07 14:22 ` BARRE Sebastien
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=9ae48b020901070722l77bebc6boc8fa2fd0bcc8da28@mail.gmail.com \
--to=eswierk-bgarkanp9klv6pq1l3v1odbpr1lh4cv8@public.gmane.org \
--cc=a.zummo-BfzFCNDTiLLj+vYz1yj4TQ@public.gmane.org \
--cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
--cc=david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org \
--cc=khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sbarre-6lXSvc0s5hDQT0dZR+AlfA@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 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.