Re: [PATCH v3 1/2] iio: light: Add support for vishay vcnl4035

2018-08-03 Thread Jonathan Cameron
On Thu, 2 Aug 2018 16:01:32 +0200 Parthiban Nallathambi wrote: > Hi Jonathan, > > General query, for threshold events and persistence value (period) we > don't have any direct MACROS similar to IIO_CONST_ATTR_INT_TIME_AVAIL > as ABI to show the available/range of values. > > For most light and

Re: [PATCH v3 1/2] iio: light: Add support for vishay vcnl4035

2018-08-02 Thread Parthiban Nallathambi
Hi Jonathan, General query, for threshold events and persistence value (period) we don't have any direct MACROS similar to IIO_CONST_ATTR_INT_TIME_AVAIL as ABI to show the available/range of values. For most light and proximity sensors, I could see this value of threshold configuration to limit

Re: [PATCH v3 1/2] iio: light: Add support for vishay vcnl4035

2018-08-02 Thread Jonathan Cameron
On Thu, 2 Aug 2018 11:52:29 +0200 Parthiban Nallathambi wrote: > Add support for VCNL4035, which is capable of Ambient light > sensing (ALS) and proximity function. This patch adds support > only for ALS function > > Signed-off-by: Parthiban Nallathambi Hi Parthiban, Please avoid replying to a