[PATCH v2 4/5] drivers: power: pmic: Add legacy support for rn5t567 PMIC

Simon Glass sjg at chromium.org
Tue Sep 6 23:18:34 CEST 2022


Hi Martyn,

On Tue, 6 Sept 2022 at 06:13, Martyn Welch <martyn.welch at collabora.co.uk> wrote:
>
> From: Martyn Welch <martyn.welch at collabora.com>
>
> The support added later in this series tweaks the PMIC voltages in the
> SPL, which doesn't support DM. Add legacy support to the rn5t567 PMIC
> driver to allow that to happen.

Can you migrate it to DM? We should not accept updates to legacy code.

>
> Signed-off-by: Martyn Welch <martyn.welch at collabora.com>
> ---
>
> Changes in v2:
>  - None
>
>  drivers/power/pmic/Makefile       |  1 +
>  drivers/power/pmic/pmic_rn5t567.c | 31 +++++++++++++++++++++++++++++++
>  include/power/rn5t567_pmic.h      |  2 ++
>  3 files changed, 34 insertions(+)
>  create mode 100644 drivers/power/pmic/pmic_rn5t567.c

Regards,
Simon


More information about the U-Boot mailing list