msm: cpr-regulator: modify the dts definition for cond-min-volt
Previously, cpr-cond-min-volt-fuse defined the fuse row number and the value used to compare with the whole row efuse value. The cpr-regulator driver would then conditionally apply a higher CPR floor voltage for all voltage corners if the efuse value differed from the expected value. However, only a subset of the bits in the efuse are used for the cond-min-volt feature. If any of the other bits in the fuse are set, then the cpr-regulator driver incorrectly applies the higher floor voltage even if the cond-min-volt bits are set correctly. Modify the cpr-regulator driver and the cpr-regulator device tree properties so that only specific bits in the fuse are compared to the expected value. If the value of the cond-min-volt bits in the fuse is not equal to the value defined in device tree, then set the MIN_VOLTAGE flag. Change-Id: I7de04e17dfa93fcb638e29a1dcc5e9072de26cb8 Signed-off-by:Wu Fenglin <fenglinw@codeaurora.org> Signed-off-by:
Ke Liu <keliu@codeaurora.org>
Loading
Please register or sign in to comment