iio: light: noa1305: Make integration time configurable
authorMarek Vasut <marex@denx.de>
Mon, 15 Jul 2024 18:28:59 +0000 (20:28 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Aug 2024 09:13:39 +0000 (10:13 +0100)
commit025f23cfebad59354725cc43b680f44476dabc00
treee0f3c873450599c06ebb091571eeae67a0e8e9a5
parent98077d34d05b4c8a7263ad9bf0b1677e19499c31
iio: light: noa1305: Make integration time configurable

Add another attribute which is the integration time. Report available
integration time settings, support read of integration time currently
configured in hardware, and support configuration of integration time
into hardware.

Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://patch.msgid.link/20240715183120.143417-5-marex@denx.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/noa1305.c