[PATCH 3/3] power: pmic: mtk-pwrap: drop PWRAP_SLV_CAP_DUALIO on mt6359
Macpaul Lin (林智斌)
Macpaul.Lin at mediatek.com
Mon Apr 13 10:58:57 CEST 2026
On Fri, 2026-03-27 at 14:03 -0500, David Lechner wrote:
> Drop the PWRAP_SLV_CAP_DUALIO flag from the mt6359 PMIC definition.
> The
> mt6359p variant of the PMIC does support dual I/O.
>
> Prior to this change, the driver would attempt to write to the
> PWRAP_DEW_DIO_EN register, which was not defined, so would write
> register 0 (DONE2).
>
> Signed-off-by: David Lechner <dlechner at baylibre.com>
> ---
> drivers/power/pmic/mtk-pwrap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/power/pmic/mtk-pwrap.c b/drivers/power/pmic/mtk-
> pwrap.c
> index d8498646921..6a2c9044b9e 100644
> --- a/drivers/power/pmic/mtk-pwrap.c
> +++ b/drivers/power/pmic/mtk-pwrap.c
> @@ -665,7 +665,7 @@ static const struct pwrap_slv_type pmic_mt6357 =
> {
>
> static const struct pwrap_slv_type pmic_mt6359 = {
> .dew_regs = mt6359_regs,
> - .caps = PWRAP_SLV_CAP_DUALIO,
> + .caps = 0,
> };
>
> static const struct udevice_id mtk_pmic_ids[] = {
>
>
Reviewed-by: Macpaul Lin <macpaul.lin at mediatek.com>
Thanks!
Macpaul Lin
More information about the U-Boot
mailing list