summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools/python3
diff options
context:
space:
mode:
authorGIBEOM LEE (이기범) <rtx4060@gmail.com>2026-11-02 01:44:04 +0900
committerMark Brown <broonie@kernel.org>2026-11-02 17:54:18 +0000
commit8aed8b66751e006589b6a9474af757d1ba04a857 (patch)
tree5812f7db61584cee9fa8162c5994e874516846ff /scripts/dummy-tools/python3
parent053c50a7052549aab0d310ad505947db3e211592 (diff)
regulator: mt6363: Fix the registers of the VSRAM CPU and APU LDOs
VSRAM_CPUB, VSRAM_CPUM, VSRAM_CPUL and VSRAM_APU have a register of their own for the enable (bit 0) and low power (bit 1) bits, which the header defines as MT6363_RG_LDO_VSRAM_*_ADDR. The driver does not use it: MT6363_LDO_L() takes the registers of the BUCK1 group, which is right only for the VSRAM_{DIGRF,MDFE,MODEM} LDOs of MT6363_LDO_L_SC(). Bit 0 of the BUCK1 enable register is VS1 and bit 1 of the BUCK1 low power register is VS3. So disabling one of these LDOs disables VS1, their state is the state of VS1, and asking for their low power mode puts VS3 in it. The LDOs themselves are never switched. Use the register of the LDO, as MediaTek's driver does. Fixes: 3c36965df808 ("regulator: Add support for MediaTek MT6363 SPMI PMIC Regulators") Assisted-by: Claude:claude-opus-5-5 Signed-off-by: GIBEOM LEE (이기범) <rtx4060@gmail.com> Tested-by: Alexandre Mergnat <amergnat@baylibre.com> Link: https://patch.msgid.link/20261101164405.1743177-3-rtx4060@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions