[U-Boot] [PATCH 4/4] cmd: adc: add an option to scan some or	all available channels
    Simon Glass 
    sjg at chromium.org
       
    Fri Oct 19 03:25:29 UTC 2018
    
    
  
Hi Fabrice,
On 11 October 2018 at 10:00, Fabrice Gasnier <fabrice.gasnier at st.com> wrote:
> Add new option to 'adc' command to do a single scan of:
> - some channel(s), using mask argument
> - all channels available on an ADC device (when optional mask is omitted).
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier at st.com>
> ---
>
>  cmd/adc.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 54 insertions(+), 1 deletion(-)
>
For this you could add a test in test/py/tests/test_adc.py perhaps.
Reviewed-by: Simon Glass <sjg at chromium.org>
    
    
More information about the U-Boot
mailing list