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-02 21:28:23 -06:00
2015-05-13 09:24:07 -07:00
2015-08-12 20:48:00 -04:00
2014-05-09 14:38:23 +02:00
2014-05-28 10:58:18 +09:00
2015-05-14 18:49:38 -06:00
2014-05-28 10:58:18 +09:00
2015-07-26 12:11:33 +02:00
2015-08-14 16:53:02 +02:00
2015-09-02 15:31:33 +02:00
2015-07-21 17:39:27 -06:00
2015-11-02 10:38:00 +09:00
2015-11-02 10:38:00 +09:00
2015-08-05 21:06:12 -06:00
2015-11-02 10:38:00 +09:00
2015-01-13 15:26:10 -05:00
2015-08-05 21:06:12 -06:00
2015-03-05 20:13:16 -05:00
2015-01-13 11:53:39 -05:00