iio: temperature: tmp117: add support for vcc-supply
authorThomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
Mon, 19 Feb 2024 13:11:14 +0000 (14:11 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 28 Feb 2024 19:26:35 +0000 (19:26 +0000)
commit42e03b0d371a61478ac6fd992bb4183bdccb3028
treed8cd5a2346f1abd0d7a69d830407bebfea18e773
parent7d87c9b94a44bed97637199a62e99c702f8469d0
iio: temperature: tmp117: add support for vcc-supply

Add support to specify the VCC supply which is required to power the
device. According the datasheet 7.3.1 Power Up, the device needs 1.5ms
after the supply voltage reaches the operating range before the
communcation can begin.

Signed-off-by: Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Link: https://lore.kernel.org/r/20240219131114.134607-2-m.felsch@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/temperature/tmp117.c