aboutsummaryrefslogtreecommitdiff
path: root/doc/README.uefi
diff options
context:
space:
mode:
authorFabrice Gasnier2018-07-24 16:31:29 +0200
committerTom Rini2018-08-03 19:53:10 -0400
commita4a87f7b7435a4ee47247e69500b8e800c6b2a21 (patch)
tree10341dda7a485f854266d5921a9536db680d0460 /doc/README.uefi
parent1fe243a1e42fe99da0fa45c8c727f9c3d599c6c9 (diff)
dm: adc: uclass: get reference regulator once
device_get_supply_regulator() only needs to be called once. But each time there's call to adc_vxx_value() for instance, it calls adc_vxx_platdata_update() -> device_get_supply_regulator(). So, move device_get_supply_regulator() to pre_probe() routine. This also allows vdd_supply/vss_supply to be provided directly from uc_pdata, e.g dt-binding variant like stm32-adc provide its own 'vref-supply'. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/README.uefi')
0 files changed, 0 insertions, 0 deletions