On Fri, 4 Feb 2022 at 13:16, Peter Cai <pe...@typeblog.net> wrote: > > Mirroring commit 97ab802aa36f ("adc: meson-saradc: add support for > getting reference voltage value") for meson-saradc, this adds support > for getting the "vref-supply" regulator and register it as the ADC's > reference voltage regulator, so clients can translate sampled ADC values > to voltage. > > Signed-off-by: Peter Cai <pe...@typeblog.net> > Reviewed-by: John Keeping <j...@metanate.com> > Tested-by: John Keeping <j...@metanate.com> > Cc: Simon Glass <s...@chromium.org> > Cc: Philipp Tomsich <philipp.toms...@vrull.eu> > Cc: Kever Yang <kever.y...@rock-chips.com> > --- > Changes in v2: > - Reordered local variables in `rockchip_saradc_probe`. > --- > drivers/adc/rockchip-saradc.c | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org>