Re: [PATCH 0/2] regulator: mt6363: Fix the regmap value width and the VSRAM LDO registers

From: Alexandre Mergnat

Date: Mon Nov 02 2026 - 15:21:09 EST


Hi Gibeom,

Thanks for looking into this driver!

On Mon, Nov 02, 2026 at 01:44:02AM +0900, GIBEOM LEE (이기범) wrote:
> - 16 of the 33 checks of the model fail before and pass after. The 9 that
> still fail are about the VEMC voltage callbacks and the overcurrent
> handling, for which I have fixes that I would like to test first.

I happened to have a fix for the VEMC voltage callbacks as well, and I
just posted it on top of my regmap patch:
https://lore.kernel.org/all/20261102-rgp-67-mt6363-regulator-fixes-v1-2-420789a3113e@xxxxxxxxxxxx/

It fixes the range lookup of the getter and selects the trap 0 or trap 1
registers at probe. Could you check it against the VEMC failures of your
model? If it covers them, it may save you some work on your own fix. I
have nothing for the overcurrent handling, so that part is all yours.