]> Gentwo Git Trees - linux/.git/commit
soc: mediatek: Add MediaTek DVFS Resource Collector (DVFSRC) driver
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 10 Jun 2024 08:57:32 +0000 (10:57 +0200)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 21 Oct 2024 14:00:51 +0000 (16:00 +0200)
commit192514ae05687a60ac230569b2a215fb2d3b8d90
treef86407e0d517ec7b4bc868040cd4109230f54885
parente8b259e3771bcf290f7229b1d45acd4d063a4815
soc: mediatek: Add MediaTek DVFS Resource Collector (DVFSRC) driver

The Dynamic Voltage and Frequency Scaling Resource Collector (DVFSRC) is a
Hardware module used to collect all the requests from both software and the
various remote processors embedded into the SoC and decide about a minimum
operating voltage and a minimum DRAM frequency to fulfill those requests in
an effort to provide the best achievable performance per watt.

This hardware IP is capable of transparently performing direct register R/W
on all of the DVFSRC-controlled regulators and SoC bandwidth knobs.

This driver includes support for MT8183, MT8192 and MT8195.

Co-Developed-by: Dawei Chien <dawei.chien@mediatek.com>
[Angelo: Partial refactoring and cleanups]
Reviewed-by: Georgi Djakov <djakov@kerenl.org>
Link: https://lore.kernel.org/r/20240610085735.147134-5-angelogioacchino.delregno@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
drivers/soc/mediatek/Kconfig
drivers/soc/mediatek/Makefile
drivers/soc/mediatek/mtk-dvfsrc.c [new file with mode: 0644]
include/linux/soc/mediatek/dvfsrc.h [new file with mode: 0644]
include/linux/soc/mediatek/mtk_sip_svc.h