Przemyslaw Marczak
c48cb7ebfb
sandbox: add ADC unit tests
This commit adds unit tests for ADC uclass's methods using sandbox ADC.
Testing proper ADC binding:
- dm_test_adc_bind() - device binding
- dm_test_adc_wrong_channel_selection() - checking wrong channel selection
Testing ADC supply operations:
- dm_test_adc_supply():
- Vdd/Vss values validating
- Vdd regulator updated value validating
- Vdd regulator's auto enable state validating
Testing ADC operations results:
- dm_test_adc_single_channel_conversion() - single channel start/data
- dm_test_adc_single_channel_shot() - single channel shot
- dm_test_adc_multi_channel_conversion() - multi channel start/data
- dm_test_adc_multi_channel_shot() - multi channel single shot
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2015-11-02 10:38:00 +09:00
..
2015-09-07 13:41:03 +02:00
2015-11-02 10:38:00 +09:00
2015-05-21 09:16:18 -04:00
2015-10-24 13:50:34 -04:00
2015-05-28 08:18:21 -04:00
2014-10-27 11:04:01 -04:00
2014-09-24 18:30:28 -04:00
2014-11-14 21:09:12 +01:00
2014-08-09 11:17:01 -04:00
2014-09-24 18:30:28 -04:00
2015-05-21 09:16:18 -04:00
2014-11-07 16:27:06 -05:00
2014-09-24 18:30:28 -04:00
2015-10-11 17:12:10 -04:00
2015-05-21 09:16:18 -04:00
2015-05-21 09:16:17 -04:00
2015-05-21 09:16:17 -04:00
2015-05-21 09:16:16 -04:00