[i2c] [PATCH] I2C: TSL2550 support.

Jean Delvare khali at linux-fr.org
Wed Jun 20 11:38:42 CEST 2007


Hi Rodolfo,

On Tue, 19 Jun 2007 16:48:46 +0200, Rodolfo Giometti wrote:
> Please, note that I left LUX calculation untouched since on my data
> sheet I have only such cumputation example. :(
> 
> Hope it could be ok anyway...

Datasheets typically give you one way to process the data, that doesn't
mean this is the only way, nor the best in all situations. My proposal
was mathematically equivalent to your datasheet-based implementation,
and had a lower memory footprint.

Anyway, your way works too, so it's OK. I'll take your patch as is,
optimizations can always be applied later. I wish I could give a try to
your driver, but unfortunately I still didn't manage to get my TAOS
evaluation module to work under Linux :(

-- 
Jean Delvare



More information about the i2c mailing list