iio: light: vcnl4000: Add ps_it attributes for vcnl4040
authorMårten Lindahl <marten.lindahl@axis.com>
Mon, 26 Sep 2022 09:19:00 +0000 (11:19 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 23 Nov 2022 19:43:57 +0000 (19:43 +0000)
commit85e2c6a23f851f65b2b14c1d87685168be620f87
tree79155400c2a68d68452d8dbd975356c7b0ec5a0b
parente21b5b1f26694a4498ca11a15e09ccc0a72abb81
iio: light: vcnl4000: Add ps_it attributes for vcnl4040

Add read/write attribute for proximity integration time, and read
attribute for available proximity integration times for the vcnl4040
chip.

Signed-off-by: Mårten Lindahl <marten.lindahl@axis.com>
Link: https://lore.kernel.org/r/20220926091900.1724105-3-marten.lindahl@axis.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/vcnl4000.c