[U-Boot] [PATCH v2 06/11] pmic: Rewrite the pmic command to not only work with single byte transmission

Simon Glass sjg at chromium.org
Sun May 13 22:01:50 UTC 2018


On 7 May 2018 at 06:26, Lukasz Majewski <lukma at denx.de> wrote:
> 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 at denx.de>
>
> ---
>
> Changes in v2:
> - New patch
>
>  cmd/pmic.c | 31 +++++++++++++++++++------------
>  1 file changed, 19 insertions(+), 12 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list