So I tried just backporting the ti-cpufreq driver. However as the am33xx
This is part 2 of MOXA's PM / OPP / cpufreq backport series. The wholeOk, I went through them, and most of them are ok.
series aims to backport patches related to PM / OPPv2 and cpufreq
which were included in the v4.4 kernel from TI's SDK. The end goal is
to include cpufreq-ti and convert am33xx to using it and OPPv2.
OTOH lots of them are changing common code, and I don't believe all of
them are neccessary for am33xx support.
Could you identify changes that are not neccesary for am33xx support,
and drop those?
OPP table wasn't completely converted to the v2 format, missing the
clock-latency-ns property, it is unusable in this standalone state.
A couple of patches for PM/OPP are needed:
0764c604c812 PM / OPP: Expose _of_get_opp_desc_node as dev_pm_opp API
50f8cfbd5897 PM / OPP: Parse clock-latency and voltage-tolerance
for v1 bindings
I suppose this would be preferred over backporting all the OPP / PM
Yes, that seems to be better solution than the previous series.
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany