Re: [PATCH v6 0/7] MediaTek DVFSRC Bus Bandwidth and Regulator knobs

From: AngeloGioacchino Del Regno
Date: Fri Jun 14 2024 - 05:39:49 EST


Il 13/06/24 14:38, Georgi Djakov ha scritto:
On 10.06.24 11:57, AngeloGioacchino Del Regno wrote:
Changes in v6:
  - Fixed build with clang (thanks Nathan!)
  - Removed unused mtk_rmw() macro in mtk-dvfsrc.c
  - Added MODULE_DESCRIPTION() to mtk-dvfsrc-regulator.c

[..]

AngeloGioacchino Del Regno (7):
   dt-bindings: regulator: Add bindings for MediaTek DVFSRC Regulators
   dt-bindings: interconnect: Add MediaTek EMI Interconnect bindings
   dt-bindings: soc: mediatek: Add DVFSRC bindings for MT8183 and MT8195
   soc: mediatek: Add MediaTek DVFS Resource Collector (DVFSRC) driver
   regulator: Remove mtk-dvfsrc-regulator.c
   regulator: Add refactored mtk-dvfsrc-regulator driver
   interconnect: mediatek: Add MediaTek MT8183/8195 EMI Interconnect
     driver

Thanks Angelo! I have picked patches 2 and 7. Patch 2 is also available
in my icc-mtk stable branch. Feel free to pull it to resolve the schema
dependency for patch 3.


Thank you Georgi!

I have to wait until Mark takes the regulator bindings and commits, then I will
be able to pick the soc bindings and driver. :-)

Cheers,
Angelo



BR,
Georgi


  .../interconnect/mediatek,mt8183-emi.yaml     |  51 ++
  .../mediatek,mt6873-dvfsrc-regulator.yaml     |  43 ++
  .../soc/mediatek/mediatek,mt8183-dvfsrc.yaml  |  83 +++
  drivers/interconnect/Kconfig                  |   1 +
  drivers/interconnect/Makefile                 |   1 +
  drivers/interconnect/mediatek/Kconfig         |  29 +
  drivers/interconnect/mediatek/Makefile        |   5 +
  drivers/interconnect/mediatek/icc-emi.c       | 153 +++++
  drivers/interconnect/mediatek/icc-emi.h       |  40 ++
  drivers/interconnect/mediatek/mt8183.c        | 143 +++++
  drivers/interconnect/mediatek/mt8195.c        | 339 +++++++++++
  drivers/regulator/mtk-dvfsrc-regulator.c      | 248 ++++----
  drivers/soc/mediatek/Kconfig                  |  11 +
  drivers/soc/mediatek/Makefile                 |   1 +
  drivers/soc/mediatek/mtk-dvfsrc.c             | 545 ++++++++++++++++++
  .../interconnect/mediatek,mt8183.h            |  23 +
  .../interconnect/mediatek,mt8195.h            |  44 ++
  include/linux/soc/mediatek/dvfsrc.h           |  36 ++
  include/linux/soc/mediatek/mtk_sip_svc.h      |   3 +
  19 files changed, 1666 insertions(+), 133 deletions(-)
  create mode 100644 Documentation/devicetree/bindings/interconnect/mediatek,mt8183-emi.yaml
  create mode 100644 Documentation/devicetree/bindings/regulator/mediatek,mt6873-dvfsrc-regulator.yaml
  create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,mt8183-dvfsrc.yaml
  create mode 100644 drivers/interconnect/mediatek/Kconfig
  create mode 100644 drivers/interconnect/mediatek/Makefile
  create mode 100644 drivers/interconnect/mediatek/icc-emi.c
  create mode 100644 drivers/interconnect/mediatek/icc-emi.h
  create mode 100644 drivers/interconnect/mediatek/mt8183.c
  create mode 100644 drivers/interconnect/mediatek/mt8195.c
  create mode 100644 drivers/soc/mediatek/mtk-dvfsrc.c
  create mode 100644 include/dt-bindings/interconnect/mediatek,mt8183.h
  create mode 100644 include/dt-bindings/interconnect/mediatek,mt8195.h
  create mode 100644 include/linux/soc/mediatek/dvfsrc.h