]> git.dujemihanovic.xyz Git - u-boot.git/commit
pmic: dm: Rewrite pmic_reg_{read|write|clrsetbits} to support 3 bytes transmissions
authorLukasz Majewski <lukma@denx.de>
Tue, 15 May 2018 14:26:36 +0000 (16:26 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 18 May 2018 06:27:26 +0000 (08:27 +0200)
commit655b24cea6ef7ab1c7fd24d262b50c855b4e54b2
tree17e774a4381a6166cd7b9d9f7d1814f122c1f829
parentb8a6d6777b83b5aaaf7cbe7f6cdc2a32270490d0
pmic: dm: Rewrite pmic_reg_{read|write|clrsetbits} to support 3 bytes transmissions

This commit provides support for transmissions larger than 1 byte for
PMIC devices used with DM (e.g. MC34708 from NXP).

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/power/pmic/pmic-uclass.c