Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: adc: ad799x: add reference voltage to ad7994

AD7994 supports external reference voltage on REFIN
pin so if a vref-supply has been defined it shall be
used.

Signed-off-by: Stefano Manni <stefano.manni@gmail.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250807074850.130831-3-stefano.manni@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Stefano Manni and committed by
Jonathan Cameron
b515c701 ed187a20

+1
+1
drivers/iio/adc/ad799x.c
··· 692 692 }, 693 693 [ad7994] = { 694 694 .num_channels = 5, 695 + .has_vref = true, 695 696 .noirq_config = { 696 697 .channel = { 697 698 AD799X_CHANNEL(0, 12),