mbox series

[v1,0/5] MediaTek Dimensity 1200 - Add DVFSRC support

Message ID 20250410144019.475930-1-angelogioacchino.delregno@collabora.com (mailing list archive)
Headers show
Series MediaTek Dimensity 1200 - Add DVFSRC support | expand

Message

AngeloGioacchino Del Regno April 10, 2025, 2:40 p.m. UTC
In preparation for adding basic support for the OnePlus Nord 2 5G
DN2103 smartphone, this series adds support for the DVFSRC regulators
and prepares the DVFSRC driver to also set bandwidth limits for the
DVFSRC EMI Interconnect found in the MediaTek Dimensity 1200 (MT6893)
SoC.

The interconnect driver wasn't touched at all because the intended
change here was to enable support for the DVFSRC regulators but, as
those anyway required new platform data, laying the groundwork for
the interconnect came natural and would've been unreasonable to just
skip that as it anyway consists in one small struct and nothing else.

AngeloGioacchino Del Regno (5):
  dt-bindings: soc: mediatek: dvfsrc: Add support for MT6893
  dt-bindings: regulator: mediatek-dvfsrc: Add MT6893 support
  regulator: mtk-dvfsrc: Add support for Dimensity 1200 MT6893
  soc: mediatek: mtk-dvfsrc: Rename and move bw constraints data
  soc: mediatek: mtk-dvfsrc: Add support for Dimensity 1200 MT6893

 .../mediatek,mt6873-dvfsrc-regulator.yaml     |  1 +
 .../soc/mediatek/mediatek,mt8183-dvfsrc.yaml  |  1 +
 drivers/regulator/mtk-dvfsrc-regulator.c      | 19 +++++++
 drivers/soc/mediatek/mtk-dvfsrc.c             | 53 +++++++++++++++++--
 4 files changed, 70 insertions(+), 4 deletions(-)

Comments

AngeloGioacchino Del Regno April 14, 2025, 9:55 a.m. UTC | #1
On Thu, 10 Apr 2025 16:40:14 +0200, AngeloGioacchino Del Regno wrote:
> In preparation for adding basic support for the OnePlus Nord 2 5G
> DN2103 smartphone, this series adds support for the DVFSRC regulators
> and prepares the DVFSRC driver to also set bandwidth limits for the
> DVFSRC EMI Interconnect found in the MediaTek Dimensity 1200 (MT6893)
> SoC.
> 
> The interconnect driver wasn't touched at all because the intended
> change here was to enable support for the DVFSRC regulators but, as
> those anyway required new platform data, laying the groundwork for
> the interconnect came natural and would've been unreasonable to just
> skip that as it anyway consists in one small struct and nothing else.
> 
> [...]

Applied to v6.15-next/soc, thanks!

[1/5] dt-bindings: soc: mediatek: dvfsrc: Add support for MT6893
      commit: ba3297872a237c8949e812ffa72c64e81da38cec
[4/5] soc: mediatek: mtk-dvfsrc: Rename and move bw constraints data
      commit: b06785283ec1c24fadce95390047feb9db840051
[5/5] soc: mediatek: mtk-dvfsrc: Add support for Dimensity 1200 MT6893
      commit: e5ea18102c9d3bc2fcb186a6e9f43c5a4aba4f98

Patch 5/5: Fixed to remove unused dvfsrc_bw_constr_mt6893 before applying.

Cheers,
Angelo