]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: mediatek: mtk-dvfsrc: Add and propagate DVFSRC bandwidth type
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 24 Nov 2025 11:06:54 +0000 (12:06 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 8 Jan 2026 09:27:49 +0000 (10:27 +0100)
commitc2488fecba681d632a3dbb6b2f33c39df2cb7be9
treec290d722ff9b1d463a599291a2f124b517ec7bfa
parent23f1b4922a9135515e37d3bbad766e311845071f
soc: mediatek: mtk-dvfsrc: Add and propagate DVFSRC bandwidth type

In preparation for adding support for DVFSRC Version 4, add a new
mtk_dvfsrc_bw_type enumeration, and propagate it from specific bw
setting callbacks to __dvfsrc_set_dram_bw_v1(), which will use it
to choose calculation multipliers and dividers in v4 callbacks.

Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
drivers/soc/mediatek/mtk-dvfsrc.c