Skip to content
Snippets Groups Projects
Commit 63f004e7 authored by Fabrice Gasnier's avatar Fabrice Gasnier Committed by Tom Rini
Browse files

dm: adc: add uclass's mask and conversion helpers


Add two functions to ADC uclass's:
- adc_raw_to_uV() to ease ADC raw value conversion to microvolts
- adc_channel_mask() to get channels on consumer side

Signed-off-by: default avatarFabrice Gasnier <fabrice.gasnier@st.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent d73d81fd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment