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 v4:
- Rebase unmerged patches and resend to patchwork
Tested on:
MT8183 Platform (kernel v5.10)
MT8192 Platform (kernel v5.4)
Roger Lu (3):
soc: mediatek: mtk-svs: use svs get efuse common function
soc: mediatek: mtk-svs: use common function to disable restore
voltages
soc: mediatek: mtk-svs: add thermal voltage compensation if needed
drivers/soc/mediatek/mtk-svs.c | 142 +++++++++++++--------------------
1 file changed, 56 insertions(+), 86 deletions(-)