u-boot/drivers/adc
Peter Cai e963228af5 adc: rockchip-saradc: add support for getting reference voltage value
Mirroring commit 97ab802aa3 ("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 <peter@typeblog.net>
Reviewed-by: John Keeping <john@metanate.com>
Tested-by: John Keeping <john@metanate.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Philipp Tomsich <philipp.tomsich@vrull.eu>
Cc: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2022-04-18 11:25:12 +08:00
..
adc-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
exynos-adc.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
Kconfig adc: Add driver for STM32 ADC 2018-08-03 19:53:10 -04:00
Makefile drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
meson-saradc.c adc: meson-saradc: add support for getting reference voltage value 2021-02-18 11:37:26 +01:00
rockchip-saradc.c adc: rockchip-saradc: add support for getting reference voltage value 2022-04-18 11:25:12 +08:00
sandbox.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
stm32-adc-core.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
stm32-adc-core.h adc: Drop dm.h header file 2020-08-03 22:19:54 -04:00
stm32-adc.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00