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-11-02 10:38:00 +09:00
2015-10-23 09:42:28 -06:00
2015-07-21 17:39:30 -06:00
2015-08-06 07:44:29 -06:00
2015-10-05 15:47:49 +01:00
2015-10-29 14:05:52 -05:00
2015-05-21 09:16:16 -04:00
2015-05-21 09:16:16 -04:00
2015-05-21 09:16:17 -04:00
2015-07-21 17:39:32 -06:00
2015-11-02 10:38:00 +09:00
2015-07-21 17:39:32 -06:00
2015-06-04 03:34:47 -06:00
2015-05-21 09:16:16 -04:00
2015-07-21 17:39:32 -06:00
2015-07-21 17:39:33 -06:00
2015-07-21 17:39:26 -06:00
2015-10-22 14:18:40 -04:00
2015-07-21 17:39:31 -06:00
2015-05-21 09:16:16 -04:00
2015-05-21 09:16:16 -04:00
2015-05-21 09:16:16 -04:00
2015-07-21 17:39:33 -06:00
2015-05-21 09:16:17 -04:00
2015-05-21 09:16:16 -04:00
2015-05-21 09:16:16 -04:00
2015-07-21 17:39:30 -06:00
2015-05-21 09:16:16 -04:00
2015-05-21 09:16:16 -04:00