[i2c] [PATCH] rtc-ds1307 : SMBus compatibility

BARRE Sebastien sbarre at sdelcc.com
Fri Oct 17 17:11:27 CEST 2008

This patch change i2c access functions to SMBus access functions
in order to use the ds1307 with SMBus adapter.

Signed-off-by: Sebastien Barre <sbarre at sdelcc.com>


The initial patch was based on, I've redone it against Linus's current git tree.
Sorry, the patch is attached because my email client replace all the tabs with spaces.

I've tested it with ds1307 chip.
Is somebody can test it on ds1337/ds1338 ?

Sébastien Barré
Bureau d'étude - Développement
SDEL Contrôle Commande
D2A - Rue Nungesser et Coli
44860 Saint Aignan de Grand Lieu
Tél : +33(0)2 40 84 50 88
Fax : +33(0)2 40 84 51 10

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-rtc-ds1307
Type: application/octet-stream
Size: 7387 bytes
Desc: patch-rtc-ds1307
Url : http://lists.lm-sensors.org/pipermail/i2c/attachments/20081017/501db7ca/attachment.obj 

More information about the i2c mailing list