Skip to content
Commit d4505c8e authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Stefano Babic
Browse files

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: default avatarLukasz Majewski <lukma@denx.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent c57a226a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment