Re: [PATCH 0/8] soc: mediatek: mtk-svs: refactor and cleanup the driver

From: Roger Lu
Date: Thu Oct 06 2022 - 07:43:54 EST


Hi Matthias Sir,

Thanks for sharing these great ideas to improve MTK SVS driver. I've added some
feedback to this patchset. However, should I just submit the v2 of these patches
for you to review? Thanks very much.

Sincerely,
Roger Lu.

On Wed, 2022-09-28 at 17:55 +0200, matthias.bgg@xxxxxxxxxx wrote:
> From: Matthias Brugger <matthias.bgg@xxxxxxxxx>
>
> Mediatek SVS driver got accepted upstream but has coding style issues
> which were overseen in the review process. This series is a first step
> to clean up the driver. It basically cleans up the SoC specific probe.
> As next step we will need to clean up the 'struct svs_bank'.
>
> This series should be a mere cleanup with no functional change. I'm
> happy to recieve tested-by tags to make sure it does not break anything.
>
>
> Matthias Brugger (8):
> 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
> soc: mediatek: mtk-svs: Move SoC specific functions to new files
> soc: mtk-svs: mt8183: Move thermal parsing in new function
> soc: mtk-svs: mt8183: refactor o_slope calculation
> soc: mtk-svs: mt8192: fix bank data
>
> drivers/soc/mediatek/Makefile | 3 +-
> drivers/soc/mediatek/mt8183-svs.h | 113 ++++
> drivers/soc/mediatek/mt8192-svs.h | 64 ++
> drivers/soc/mediatek/mtk-svs-mt8183.c | 235 +++++++
> drivers/soc/mediatek/mtk-svs-mt8192.c | 98 +++
> drivers/soc/mediatek/mtk-svs.c | 882 ++------------------------
> drivers/soc/mediatek/mtk-svs.h | 279 ++++++++
> 7 files changed, 853 insertions(+), 821 deletions(-)
> create mode 100644 drivers/soc/mediatek/mt8183-svs.h
> create mode 100644 drivers/soc/mediatek/mt8192-svs.h
> create mode 100644 drivers/soc/mediatek/mtk-svs-mt8183.c
> create mode 100644 drivers/soc/mediatek/mtk-svs-mt8192.c
> create mode 100644 drivers/soc/mediatek/mtk-svs.h
>