SVS driver got accepted upstream but still has room to be improved.
Therefore, we add these patches to fix issues and coding style.
Change since v3:
- Remove cleanup codes in patch [01/14] for letting it backport easily
- Enclose svs debug cmd codes with "CONFIG_DEBUG_FS" where needed
- Reorder patch sequenece to put fix up patch first
Tested on:
MT8183 Platform (kernel v5.10)
MT8192 Platform (kernel v5.4)
Matthias Brugger (4):
soc: mediatek: mtk-svs: clean up platform probing
soc: mediatek: mtk-svs: improve readability of platform_probe
soc: mediatek: mtk-svs: move svs_platform_probe into probe
soc: mediatek: mtk-svs: delete superfluous platform data entries
Ricardo Ribalda (1):
soc: mediatek: mtk-svs: enable the IRQ later
Roger Lu (8):
soc: mediatek: mtk-svs: restore default voltages when svs_init02()
fail
soc: mediatek: mtk-svs: reset svs when svs_resume() fail
soc: mediatek: mtk-svs: use svs clk control APIs
soc: mediatek: mtk-svs: add thermal voltage compensation if needed
soc: mediatek: mtk-svs: keep svs alive if CONFIG_DEBUG_FS not
supported
soc: mediatek: mtk-svs: use svs get efuse common function
soc: mediatek: mtk-svs: use common function to disable restore
voltages
soc: mtk-svs: mt8183: refactor o_slope calculation
Shang XiaoJing (1):
soc: mediatek: mtk-svs: Use pm_runtime_resume_and_get() in
svs_init01()
drivers/soc/mediatek/mtk-svs.c | 339 +++++++++++++++++----------------
1 file changed, 173 insertions(+), 166 deletions(-)