commit | 7b21a5aa7aeace1498fc5df73c962af33fb06e50 | [log] [tgz] |
---|---|---|
author | Lukasz Majewski <lukma@denx.de> | Tue May 15 16:26:43 2018 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Fri May 18 08:27:26 2018 +0200 |
tree | 57b0e0cc61baa9d088bbbe90a88a9aafceb5c9fe | |
parent | d0eb49ec5bf5ce3a449952dd5e19edca5cb02fb1 [diff] |
sandbox: tests: Add tests for mc34708 PMIC device Following tests has been added for mc34708 device: - get_test for mc34708 PMIC - Check if proper number of registers is read - Check if default (emulated via i2c device) value is properly read - Check if value write/read operation is correct - Perform tests to check if pmic_clrsetbits() is working correctly Signed-off-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>