]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
PM / devfreq: tegra30: Support interconnect and OPPs from device-tree
authorDmitry Osipenko <digetx@gmail.com>
Thu, 3 Dec 2020 19:24:38 +0000 (22:24 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 7 Dec 2020 01:25:51 +0000 (10:25 +0900)
commit16e8b2a7cb886bcc3dd89ad28948d374a2319bbc
tree7983213c74a622ea8119ccf458b5af9d41767cdf
parentafd589c703119429f7a4e81a6539aec4e0b1386b
PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

This patch moves ACTMON driver away from generating OPP table by itself,
transitioning it to use the table which comes from device-tree. This
change breaks compatibility with older device-trees and brings support
for the interconnect framework to the driver. This is a mandatory change
which needs to be done in order to implement interconnect-based memory
DVFS, i.e. device-trees need to be updated. Now ACTMON issues a memory
bandwidth requests using dev_pm_opp_set_bw() instead of driving EMC clock
rate directly.

Tested-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/tegra30-devfreq.c