regulator: cpr-regulator: add support for arbitrary number of fuse corners
Some SoCs utilize more than three CPR fuse corners. Add support
for an arbitrary number of fuse corners which is specified via
the device tree property qcom,cpr-fuse-corners.
Update the description for device tree properties that have fixed
sizes to support exactly three fuse corners (SVS, Nominal, Turbo)
in order to denote that their size is now dependent upon the
value of qcom,cpr-fuse-corners. Also replace all fixed size
arrays in the cpr-regulator driver which are used to hold fuse
corner data with dynamically allocated arrays.
Change-Id: Iead3e6e1fba329bf745970925f9faa2a5a227dcf
Signed-off-by:
David Collins <collinsd@codeaurora.org>
Loading
Please register or sign in to comment