[PATCH v5 3/4] adc: meson-saradc: add support for getting reference voltage value

Simon Glass sjg at chromium.org
Mon Feb 1 21:38:51 CET 2021


On Tue, 26 Jan 2021 at 02:51, Marek Szyprowski <m.szyprowski at samsung.com> wrote:
>
> Add support for getting the 'vref-supply' regulator and register it as
> ADC's reference voltage regulator, so clients can translate sampled ADC
> values to the voltage.
>
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
> ---
>  drivers/adc/meson-saradc.c | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list