Re: [PATCH v2 1/1] iio: ltr501: Add light channel support

2015-05-15 Thread Peter Meerwald
> Added support to calculate lux value from visible > and IR spectrum adc count values. Also added IIO_LIGHT > channel to enable user read the lux value directly > from device using illuminance input ABI. minor comment below > Signed-off-by: Kuppuswamy Sathyanarayanan > > --- > drivers/iio/l

[PATCH v2 1/1] iio: ltr501: Add light channel support

2015-05-14 Thread Kuppuswamy Sathyanarayanan
Added support to calculate lux value from visible and IR spectrum adc count values. Also added IIO_LIGHT channel to enable user read the lux value directly from device using illuminance input ABI. Signed-off-by: Kuppuswamy Sathyanarayanan --- drivers/iio/light/ltr501.c | 57