[PATCH 0/2] regulator: mt6363: Fix register access and VEMC voltage handling
Alexandre Mergnat
amergnat at baylibre.com
Mon Nov 2 07:54:16 PST 2026
Testing the MT6363 regulator driver showed:
- the VEMC (UFS VCC) voltage reported as 1.25 V while the PMIC is
programmed to 2.55 V
- regmap debugfs showing each register merged with the next one
Reading the code with the datasheet showed more problems:
- a VEMC voltage change to the misreported value is skipped while
VEMC is enabled
- disabling VS2 or a VBUCK rail also clears the enable bits of VS1,
VS3 and three VSRAM rails
- the BUCK and TMA key writes also overwrite the two registers after
each key
- with hardware trap 1, VEMC voltage changes are not applied and the
voltage is misreported
Signed-off-by: Alexandre Mergnat <amergnat at baylibre.com>
---
Alexandre Mergnat (2):
regulator: mt6363: Use 8-bit register values
regulator: mt6363: Fix VEMC voltage selection
drivers/regulator/mt6363-regulator.c | 131 +++++++++--------------------
include/linux/regulator/mt6363-regulator.h | 1 +
2 files changed, 39 insertions(+), 93 deletions(-)
---
base-commit: cdfbeace852d9e72b43e23572e37fab433a28764
change-id: 20261020-rgp-67-mt6363-regulator-fixes-bed357aac42c
Best regards,
--
Alexandre Mergnat <amergnat at baylibre.com>
More information about the linux-arm-kernel
mailing list