mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-27 23:21:01 +00:00
c48cb7ebfb
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> |
||
---|---|---|
.. | ||
act8846_pmic.h | ||
as3722.h | ||
battery.h | ||
fg_battery_cell_params.h | ||
hi6553_pmic.h | ||
ltc3676_pmic.h | ||
max8997_muic.h | ||
max8997_pmic.h | ||
max8998_pmic.h | ||
max17042_fg.h | ||
max77686_pmic.h | ||
max77693_fg.h | ||
max77693_muic.h | ||
max77693_pmic.h | ||
max77696_pmic.h | ||
pfuze100_pmic.h | ||
pfuze3000_pmic.h | ||
pmic.h | ||
power_chrg.h | ||
regulator.h | ||
s2mps11.h | ||
s5m8767.h | ||
sandbox_pmic.h | ||
tps62362.h | ||
tps65090.h | ||
tps65217.h | ||
tps65218.h | ||
tps65910.h |