diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2018-11-12 14:03:58 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-11-20 12:35:25 -0500 |
commit | 63f004e7aae17a6b6048c88ce7e39d64e58c08c1 (patch) | |
tree | d24d457dd1dfedb302da045a978782508556dcc1 /cmd/net.c | |
parent | d73d81fd85e4a030ade42c4b2d13466d45090aa3 (diff) |
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: Fabrice Gasnier <fabrice.gasnier@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/net.c')
0 files changed, 0 insertions, 0 deletions