Skip to content

soc: mediatek: mtk-svs: refactor and cleanup the driver

[email protected] linux-arm-kernel linux-mediatek lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8soc: mediatek: mtk-svs: clean up platform probingdrivers/soc/mediatek/mtk-svs.c+1 -41 reply
2/8soc: mediatek: mtk-svs: improve readability of platform_probedrivers/soc/mediatek/mtk-svs.c+0 -41 reply
3/8soc: mediatek: mtk-svs: move svs_platform_probe into probedrivers/soc/mediatek/mtk-svs.c+4 -161 reply
4/8soc: mediatek: mtk-svs: delete superfluous platform data entriesdrivers/soc/mediatek/mtk-svs.c+12 -102 replies
5/8soc: mediatek: mtk-svs: Move SoC specific functions to new filesdrivers/soc/mediatek/Makefile drivers/soc/mediatek/mt8183-svs.h drivers/soc/mediatek/mt8192-svs.h +4 more+837 -7872 replies
6/8soc: mtk-svs: mt8183: Move thermal parsing in new functiondrivers/soc/mediatek/mtk-svs-mt8183.c+95 -881 reply
7/8soc: mtk-svs: mt8183: refactor o_slope calculationdrivers/soc/mediatek/mtk-svs-mt8183.c+24 -300 replies
8/8soc: mtk-svs: mt8192: fix bank datadrivers/soc/mediatek/mt8192-svs.h drivers/soc/mediatek/mtk-svs-mt8192.c+2 -42 replies

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by.

PatchAngeloGioacchino Del Regno
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8
6/8R-b
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Matthias Brugger <[email protected]>

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
Signature · 1 line
2.37.3