soc: mediatek: SVS: add debug commands
authorRoger Lu <roger.lu@mediatek.com>
Mon, 16 May 2022 00:43:09 +0000 (08:43 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 17 Jun 2022 08:50:07 +0000 (10:50 +0200)
commit13f1bbcfb5822fcaacfc652017b57b79ffcacefa
tree97f4d8b8dfa92dcf540e07da9af89cdc7ef08b3f
parent6c69271926e9aca9254bf844b976958dfa0089c7
soc: mediatek: SVS: add debug commands

The purpose of SVS is to help find the suitable voltages
for DVFS. Therefore, if SVS bank voltages are concerned
to be wrong, we can show/disable SVS bank voltages by
this patch.

Signed-off-by: Roger Lu <roger.lu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20220516004311.18358-6-roger.lu@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-svs.c