msm: cpr-regulator: add support for frequency based CPR quotient scaling

The current cpr-regulator driver implementation uses the same CPR target
quotient, which is read from a fuse, for all CPU frequencies handled by a
given voltage corner. This results in unnecessary additional power
consumption when operating the CPU at one of the lower frequencies handled
by one voltage corner. Hence change the driver to adjust the CPR quot value
according to the CPU frequency.

CRs-Fixed: 583719
Change-Id: Idc9a93a76475ba3512a648efe721dcd165f8dbb6
Signed-off-by: Ke Liu <keliu@codeaurora.org>
2 files changed