[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1231176979.13443.19.camel@localhost.localdomain>
Date: Mon, 05 Jan 2009 09:36:19 -0800
From: Ed Swierk <eswierk@...stanetworks.com>
To: i2c@...sensors.org, David Brownell <david-b@...bell.net>,
Alessandro Zummo <a.zummo@...ertech.it>,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
BARRE Sebastien <sbarre@...lcc.com>
Subject: [PATCH] rtc-ds1307: True SMBus compatibility
Following up to Sebastien Barre's recent patch, here I go one step
further, replacing i2c block transfers with SMBus byte transfers.
Sticking to pure SMBus makes the driver work on our board, which has an
nVidia SMBus controller driving a DS1339; nforce2 controllers
unfortunately don't support any flavor of i2c block transfer.
Reading or writing registers repeatedly until they stick is rather
nauseating but I'm aiming for correctness if not elegance. I would
appreciate any suggestions for improvement.
Signed-off-by: Ed Swierk <eswierk@...stanetworks.com>
View attachment "rtc-ds1307-pure-smbus-compatibility.patch" of type "text/x-patch" (5415 bytes)
Powered by blists - more mailing lists