power: pmic: Provide DM_PMIC support for tps65217 driver
authorLukasz Majewski <lukma@denx.de>
Sat, 12 Mar 2022 07:11:11 +0000 (08:11 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 5 Apr 2022 19:51:52 +0000 (15:51 -0400)
commite8cb4e78c7dcd51f5ef92f465919ce19f8a0356f
tree784be185407174081e609365e8f958ccb97b8cc0
parent1610b68ea305cf00a8570dcb273ea585c4c4f8df
power: pmic: Provide DM_PMIC support for tps65217 driver

The tps65217 PMIC driver is used with am335x SoC based designs.

It is used in the SPL (MLO) as well, so the DM conversion only is
for u-boot proper.

This driver only allows simple reading/writing/dumping of the content
of its registers and requires the DM_I2C for proper operation.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/power/pmic/pmic_tps65217.c