]> git.dujemihanovic.xyz Git - u-boot.git/commit
adc: rockchip-saradc: Use vdd-microvolts prop as fallback
authorJonas Karlman <jonas@kwiboo.se>
Thu, 17 Oct 2024 20:00:26 +0000 (20:00 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 26 Oct 2024 02:46:48 +0000 (10:46 +0800)
commit6e751eed97f910b60de10b20f3932e1bffa81ccc
treec70c3f7991623ad141f9db655528b4cbb27e650b
parentbcbfd1bb373e11838f117d193a4590d6af0ba2ae
adc: rockchip-saradc: Use vdd-microvolts prop as fallback

Change to use vdd-microvolts prop value as voltage reference when the
supply regulator is missing or when DM_REGULATOR=n is used.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/adc/rockchip-saradc.c