a and acdc5c297a96). Fixes checkpatch issues.
Patch 2:
- Support BD71847 PMIC.
- Add support for BD71837 and BD71847 regulators.
---
Matti Vaittinen (2):
regulator: bd71837: copy the bd71837 pmic driver from NXP imx u-boot
regulator: bd718x7: support ROHM BD71837 and BD71847 PMICs
drivers/
https://source.codeaurora.org/external/imx/uboot-imx
cherry picked, styled and merged commits:
- MLK-18387 pmic: Add pmic driver for BD71837: e9a3bec2e95a
- MLK-18590 pmic: bd71837: Change to use new fdt API: acdc5c297a96
Signed-off-by: Ye Li
Signed-off-by: Matti Vaittinen
---
Changelog v1
these limitations from DT and we
may want to implement same on u-Boot driver).
Signed-off-by: Matti Vaittinen
---
Changelog v1 => v2:
- document structs containing the platdata
- use pmic_clrsetbits() instead of using separate reads and writes
- fix styling issues
drivers/power/pmic/bd71837.c
rry picks the initial PMIC driver for BD71837 from NXP's i.MX
repository at: https://source.codeaurora.org/external/imx/uboot-imx
(commits e9a3bec2e95a and acdc5c297a96). Fixes checkpatch issues.
Patch 2:
- Support BD71847 PMIC.
- Add support for BD71837 and BD71847 regulators.
---
https://source.codeaurora.org/external/imx/uboot-imx
cherry picked, styled and merged commits:
- MLK-18387 pmic: Add pmic driver for BD71837: e9a3bec2e95a
- MLK-18590 pmic: bd71837: Change to use new fdt API: acdc5c297a96
Signed-off-by: Ye Li
Signed-off-by: Matti Vaittinen
---
Changelog v2
these limitations from DT and we
may want to implement same on u-Boot driver).
Signed-off-by: Matti Vaittinen
---
Changelog v2 => v3:
- remove unnecessary include
- use uint8_t instead of u8
- improve Kconfig documentation
- improve readability by inverting handling of 'not_found' variable
to
these limitations from DT and we
may want to implement same on u-Boot driver).
Signed-off-by: Matti Vaittinen
---
Changelog v3 => v4:
- prefer u8 over uint8_t
- prefer types with natural alignment over u8 on function arguments
- remove inclusion of errno.h from drivers/power/regulator/bd71837.c
drive
https://source.codeaurora.org/external/imx/uboot-imx
cherry picked, styled and merged commits:
- MLK-18387 pmic: Add pmic driver for BD71837: e9a3bec2e95a
- MLK-18590 pmic: bd71837: Change to use new fdt API: acdc5c297a96
Signed-off-by: Ye Li
Signed-off-by: Matti Vaittinen
Reviewed-by: Simon
a and acdc5c297a96). Fixes checkpatch issues.
Patch 2:
- Support BD71847 PMIC.
- Add support for BD71837 and BD71847 regulators.
---
Matti Vaittinen (2):
regulator: bd71837: copy the bd71837 pmic driver from NXP imx u-boot
regulator: bd718x7: support ROHM BD71837 and BD71847 PMICs
drivers/
-off-by: Matti Vaittinen
---
drivers/power/pmic/Kconfig| 7 +++
drivers/power/pmic/Makefile | 2 +
drivers/power/pmic/bd71837.c | 89 +++
drivers/power/pmic/pmic_bd71837.c | 31 +++
include/power/bd71837.h | 64
.
BD71837 has a quirk which may leave power output disabled
after reset if enable/disable state was controlled by SW.
Thus the SW control is only allowed for bucks3 and 4 by
default.
Signed-off-by: Matti Vaittinen
---
drivers/power/regulator/Kconfig | 15 ++
drivers/power/regulator/Makefile | 1
Hi de Ho Peeps,
On Wed, Mar 27, 2019 at 02:40:47PM +0200, Matti Vaittinen wrote:
> Add regulator driver for ROHM BD71837 PMIC. BD71837 contains
> 8 bucks and 7 LDOS. Voltages for bucks 1-4 can be adjusted
> when regulators are enabled. For other bucks and LDOs we may
> have over- or u
c297a96). Fixes checkpatch issues.
Patch 2:
- Support BD71847 PMIC.
- Add support for BD71837 and BD71847 regulators.
---
Matti Vaittinen (2):
regulator: bd71837: copy the bd71837 pmic driver from NXP imx u-boot
regulator: bd718x7: support ROHM BD71837 and BD71847 PMICs
drivers/pow
https://source.codeaurora.org/external/imx/uboot-imx
cherry picked, styled and merged commits:
- MLK-18387 pmic: Add pmic driver for BD71837: e9a3bec2e95a
- MLK-18590 pmic: bd71837: Change to use new fdt API: acdc5c297a96
Signed-off-by: Ye Li
Signed-off-by: Matti Vaittinen
---
Based on RFC
these limitations from DT and we
may want to implement same on u-Boot driver).
Signed-off-by: Matti Vaittinen
---
Changelog v1:
This version is created based on the RFC v1.
https://lists.denx.de/pipermail/u-boot/2019-March/363077.html
Additionally
- Support BD71847.
- Unlock the PMIC protection reg
15 matches
Mail list logo