commit | dfd2b57869cf04dfea590741c98a99ebea0aa10f | [log] [tgz] |
---|---|---|
author | Lukasz Majewski <lukma@denx.de> | Tue May 15 16:26:38 2018 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Fri May 18 08:27:26 2018 +0200 |
tree | 4728dccaec44190e277fa3e88d1eac3674381b6f | |
parent | 9c65b794891a33be3834bfd60715ea7056b43186 [diff] |
pmic: Rewrite the pmic command to not only work with single byte transmission Up till now it was only possible to use 'pmic' command with a single byte transmission. The pmic_read|write functions has been replaced with ones, which don't need the transmission length as a parameter. Due to that it is possible now to read data from PMICs transmitting more data than 1 byte at once (e.g. mc34708) Signed-off-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>