]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb8d0ad967b67a7bc5bfbabf2a555ff029a70c19
tree8b0af0f6a7e7256dbfc3cc60921fef72a0569d9f
parentb399cdacd8e58538ed4e408a03f7b7e4110330c0
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]