iio: adc: meson: add separate config for axg SoC family
authorGeorge Stark <gnstark@salutedevices.com>
Mon, 27 Nov 2023 23:55:58 +0000 (02:55 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 4 Dec 2023 10:36:07 +0000 (10:36 +0000)
commit59b75dcb0953813676b5030877f3f37cedaed87d
tree988287093873ec92df07abe38345089c06c14b56
parent2475ecdb9b6e177b133cf26e64e8d441d37bebde
iio: adc: meson: add separate config for axg SoC family

According to Amlogic custom kernels ADC of axg SoC family has
vref_select and requires this setting to work nominally and thus
needs a separate config.

Fixes: 90c6241860bf ("iio: adc: meson: init voltage control bits")
Signed-off-by: George Stark <gnstark@salutedevices.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231127235558.71995-1-gnstark@salutedevices.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/meson_saradc.c