+
+static const struct cpr_desc sdm630_cpr_desc = {
They reside in socname-regulator.dtsi most of the time.+ },
+};
Hi Konrad, I am trying to add IPQ8074 support to CPR as its the last thing
missing for upstream CPU scaling, and I really want to get rid of the downstream driver.
However, I am having hard time figuring some of these parameters, some are easy to
read from the DTS or driver defines, however arent the fuse corners supposed to be read
from the fuses and not hardcocded in the thread structures?
Some parameters are read from fuses (per-unit capabilities
that let your specific chip run at a specific voltage offset),
but there's also some per-SoC-model data that needs to be
taken into account when performing the calculations.. This
is actually a smart move from Qualcomm (well, for them
anyway), as they put as little data in fuses as possible,
saving them space on this tiiiiny ROM.
This driver doesn't do anything more than its downstream
Mind you, I dont have any docs so I am mostly using the downstream kernel as the reference.
counterpart, everything we need should be there on msm-X.Y.
One flaw in this revision is that it doesn't yet support
multiple speed bins, so if your SoC has n of those, you
may get confused by n sets of values.. This is easy to
improve on in future, but this initial submission is
already very fat to begin with..