public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* pca9665
@ 2008-09-17 15:30 Marco Aurelio da Costa
       [not found] ` <48D12295.8080008-nrw9SyMmU14AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Aurelio da Costa @ 2008-09-17 15:30 UTC (permalink / raw)
  To: i2c-GZX6beZjE8VD60Wz+7aTrA

Hi Wolfram.

I looked into the code for i2c-algo-pca.c and, if I don't want to 
implement the buffered mode (I can live without it for a while), the 
only changes I need to do are:
1. Implement the reset via parallel bus.
2. Change the way the i2c clock rate is treated, by passing the 
frequency directly instead of an index.

After this, this module could handle both chips. I need your advice:
Should I just duplicate all code and make the changes to this new algo 
or should I add a chip_type field to i2c_algo_pca_data and handle the 
chip on the existing algo code?

Thanks in advance,

Marco

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-19 12:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-17 15:30 pca9665 Marco Aurelio da Costa
     [not found] ` <48D12295.8080008-nrw9SyMmU14AvxtiuMwx3w@public.gmane.org>
2008-09-19 10:08   ` pca9665 Wolfram Sang
     [not found]     ` <20080919100819.GC4307-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2008-09-19 11:37       ` pca9665 Marco Aurelio da Costa
     [not found]         ` <48D38EF5.60303-nrw9SyMmU14AvxtiuMwx3w@public.gmane.org>
2008-09-19 11:56           ` pca9665 Wolfram Sang
     [not found]             ` <20080919115605.GE4307-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2008-09-19 12:09               ` pca9665 Marco Aurelio da Costa
     [not found]                 ` <48D39691.1070905-nrw9SyMmU14AvxtiuMwx3w@public.gmane.org>
2008-09-19 12:32                   ` pca9665 Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox