diff options
| author | David Lechner <[email protected]> | 2026-04-09 15:30:36 -0500 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-04-29 09:08:18 -0500 |
| commit | b60d1c5262bf7d1a7e6ffbcf7813df5dd3228f98 (patch) | |
| tree | 8612a627990b96d9363acfe584aa03b6ffe7c82d | |
| parent | 8c5f5ef2c913209bc9f3f44e4bba30c911570ea6 (diff) | |
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 <[email protected]>
Reviewed-by: Macpaul Lin <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: David Lechner <[email protected]>
| -rw-r--r-- | drivers/power/pmic/mtk-pwrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pmic/mtk-pwrap.c b/drivers/power/pmic/mtk-pwrap.c index 38ae44f0abf..64c483b2f3b 100644 --- a/drivers/power/pmic/mtk-pwrap.c +++ b/drivers/power/pmic/mtk-pwrap.c @@ -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[] = { |
