power: pmic: mtk-pwrap: drop PWRAP_SLV_CAP_DUALIO on mt6359

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).

Reviewed-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: Macpaul Lin <macpaul.lin@mediatek.com>
Link: https://patch.msgid.link/20260409-mtk-pmic-fixes-v2-4-73e83aa6345b@baylibre.com
Signed-off-by: David Lechner <dlechner@baylibre.com>
This commit is contained in:
David Lechner 2026-04-09 15:30:36 -05:00
parent 8c5f5ef2c9
commit b60d1c5262

View File

@ -647,7 +647,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[] = {