commit | d4505c8e0dec72effc1b6017eafe1f6aa025cc5d | [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 | c57a226ac46c3cab4b9bf82cfc0f9e81dec3c1b0 [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>