iio: adc: ad7606: add enabling of optional Vrefin voltage
authorAngelo Dureghello <adureghello@baylibre.com>
Fri, 30 May 2025 14:27:57 +0000 (16:27 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 9 Jun 2025 06:45:36 +0000 (07:45 +0100)
commit3125a5ca45f4502a230d72876257751d9124e5e6
tree3ba0956c3b3d83b8ff8c366d24230e80fb4aff58
parent82f4ed3a01b25ee6fc2a8a0a57b3509163c8bc57
iio: adc: ad7606: add enabling of optional Vrefin voltage

Add optional refin voltage enabling. The property "refin-supply" is
already available and optional in the current fdt dt_schema.

Note that the driver does not need to take any actions if the supply
is not present because a pin strap is used to change the behavior
of the device if an external reference is connected.

Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Link: https://patch.msgid.link/20250530-wip-bl-ad7606-reference-voltages-v2-2-d5e1ad7e6f14@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7606.c