From 735430436735dd3a74a179722049e5a4a14db6ad Mon Sep 17 00:00:00 2001 From: David Yu Date: Sat, 18 Jun 2022 21:14:13 -0700 Subject: [PATCH] regulator: max77851: fix LDO3 range LDO3 voltage range was limited so that 3.3V couldn't be set. Bug 3668223 Bug 3534753 Change-Id: I0e29effd9cbf81db41241312800971435f71e101 Signed-off-by: David Yu Reviewed-on: https://git-master.nvidia.com/r/c/linux-5.10/+/2731026 (cherry picked from commit e320ac551bf5f713674ed40ff9f63edd2985b09c) Reviewed-on: https://git-master.nvidia.com/r/c/linux-5.10/+/2767188 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2947781 Reviewed-by: svcacv Reviewed-by: Bitan Biswas Tested-by: Bitan Biswas GVS: Gerrit_Virtual_Submit --- drivers/regulator/max77851-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/max77851-regulator.c b/drivers/regulator/max77851-regulator.c index 38fb8476..8d7324db 100644 --- a/drivers/regulator/max77851-regulator.c +++ b/drivers/regulator/max77851-regulator.c @@ -699,7 +699,7 @@ static struct max77851_regulator_data max77851_regs_data[MAX77851_REGULATOR_ID_N REGULATOR_LDO_DESC(LDO0, ldo0, "in-ldo0", N, 400000, 1993750, 6250), REGULATOR_LDO_DESC(LDO1, ldo1, "in-ldo1", N, 400000, 1993750, 6250), REGULATOR_LDO_DESC(LDO2, ldo2, "in-ldo2", N, 400000, 1993750, 6250), - REGULATOR_LDO_DESC(LDO3, ldo3, "in-ldo3", N, 400000, 1993750, 6250), + REGULATOR_LDO_DESC(LDO3, ldo3, "in-ldo3", N, 400000, 3587500, 12500), REGULATOR_LDO_DESC(LDO4, ldo4, "in-ldo4", P, 400000, 3975000, 25000), REGULATOR_LDO_DESC(LDO5, ldo5, "in-ldo5", P, 400000, 3975000, 25000), REGULATOR_LDO_DESC(LDO6, ldo6, "in-ldo6", P, 400000, 3975000, 25000),