From 13f1bf50145723cc487f3c9f0138d7797ebc9c15 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Thu, 13 Oct 2016 12:46:50 -0700 Subject: [PATCH] regulator: cpr3-mmss: Increase fuse combo count To accommodate speed bin 2 and fuse revisions associated with it increase the fuse combo count from 16 to 24. At present, this is needed for msm8996proAU SOC. Change-Id: Ie781ffda433d491a38695caa5e55ec1ec7ff9b4a Signed-off-by: Subbaraman Narayanamurthy --- drivers/regulator/cpr3-mmss-regulator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/cpr3-mmss-regulator.c b/drivers/regulator/cpr3-mmss-regulator.c index 41032dd3c15a..d1f26c0ab181 100644 --- a/drivers/regulator/cpr3-mmss-regulator.c +++ b/drivers/regulator/cpr3-mmss-regulator.c @@ -72,8 +72,9 @@ struct cpr3_msm8996_mmss_fuses { /* * Fuse combos 0 - 7 map to CPR fusing revision 0 - 7 with speed bin fuse = 0. * Fuse combos 8 - 15 map to CPR fusing revision 0 - 7 with speed bin fuse = 1. + * Fuse combos 16 - 23 map to CPR fusing revision 0 - 7 with speed bin fuse = 2. */ -#define CPR3_MSM8996PRO_MMSS_FUSE_COMBO_COUNT 16 +#define CPR3_MSM8996PRO_MMSS_FUSE_COMBO_COUNT 24 /* Fuse combos 0 - 7 map to CPR fusing revision 0 - 7 */ #define CPR3_MSM8998_MMSS_FUSE_COMBO_COUNT 8