PM / devfreq: mediatek: Introduce MediaTek CCI devfreq driver
authorJohnson Wang <johnson.wang@mediatek.com>
Tue, 7 Jun 2022 14:05:56 +0000 (22:05 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 15 Jul 2022 02:40:08 +0000 (11:40 +0900)
commit86d231b1db1be0666c2fc607f5025d63d7afc5f3
tree8b0af0f6a7e7256dbfc3cc60921fef72a0569d9f
parent3be51a3b1980347da7d51f66b1e8e8c538961f17
PM / devfreq: mediatek: Introduce MediaTek CCI devfreq driver

We introduce a devfreq driver for the MediaTek Cache Coherent Interconnect
(CCI) used by some MediaTek SoCs.

In this driver, we use the passive devfreq driver to get target frequencies
and adjust voltages accordingly. In MT8183 and MT8186, the MediaTek CCI
is supplied by the same regulators with the little core CPUs.

Signed-off-by: Jia-Wei Chang <jia-wei.chang@mediatek.com>
Signed-off-by: Johnson Wang <johnson.wang@mediatek.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/Kconfig
drivers/devfreq/Makefile
drivers/devfreq/mtk-cci-devfreq.c [new file with mode: 0644]