mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Crystal Guo <crystal.guo@mediatek.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	Crystal Guo <crystal.guo@mediatek.com>
Cc: <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-mediatek@lists.infradead.org>,
	<Project_Global_Chrome_Upstream_Group@mediatek.com>
Subject: [PATCH 0/2] Add MediaTek DRAMC driver support
Date: Thu, 12 Dec 2024 16:59:46 +0800	[thread overview]
Message-ID: <20241212090029.13692-1-crystal.guo@mediatek.com> (raw)

This series is based on linux-next, tag: next-20241210.

Vcore DVFS feature need know the current DDR data rate.
Add MediaTek DRAMC driver to provide an interface that can
obtain current DDR data rate.

Crystal Guo (2):
  memory/mediatek: Add an interface to get current DDR data rate
  dt-bindings: memory-controllers: Add mediatek common-dramc dt-bindings

 .../mediatek,common-dramc.yaml                | 129 +++++++
 drivers/memory/Kconfig                        |   1 +
 drivers/memory/Makefile                       |   1 +
 drivers/memory/mediatek/Kconfig               |  21 ++
 drivers/memory/mediatek/Makefile              |   2 +
 drivers/memory/mediatek/mtk-dramc.c           | 325 ++++++++++++++++++
 include/linux/soc/mediatek/mtk-dramc.h        |  41 +++
 7 files changed, 520 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/mediatek,common-dramc.yaml
 create mode 100644 drivers/memory/mediatek/Kconfig
 create mode 100644 drivers/memory/mediatek/Makefile
 create mode 100644 drivers/memory/mediatek/mtk-dramc.c
 create mode 100644 include/linux/soc/mediatek/mtk-dramc.h

-- 
2.18.0


             reply	other threads:[~2024-12-12  9:01 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-12  8:59 Crystal Guo [this message]
2024-12-12  8:59 ` [PATCH 1/2] memory/mediatek: Add an interface to get current DDR data rate Crystal Guo
2024-12-12 10:46   ` AngeloGioacchino Del Regno
2025-02-08  4:14     ` Crystal Guo (郭晶)
2025-02-11 12:13     ` Crystal Guo (郭晶)
2024-12-12 11:02   ` Krzysztof Kozlowski
2025-02-08  4:21     ` Crystal Guo (郭晶)
2025-02-11 12:21     ` Crystal Guo (郭晶)
2024-12-21  1:42   ` kernel test robot
2024-12-21 11:03   ` kernel test robot
2024-12-12  8:59 ` [PATCH 2/2] dt-bindings: memory-controllers: Add mediatek common-dramc dt-bindings Crystal Guo
2024-12-12 10:27   ` Rob Herring (Arm)
2025-02-08  4:24     ` Crystal Guo (郭晶)
2024-12-12 10:27   ` AngeloGioacchino Del Regno
2025-02-08  4:33     ` Crystal Guo (郭晶)
2025-02-11 12:46     ` Crystal Guo (郭晶)
2024-12-12 10:58   ` Krzysztof Kozlowski
2025-02-08  4:40     ` Crystal Guo (郭晶)
2025-02-09 10:52       ` Krzysztof Kozlowski
2025-02-11 12:59         ` Crystal Guo (郭晶)
2025-02-11 15:57           ` Krzysztof Kozlowski
2025-02-12  3:21             ` Crystal Guo (郭晶)
2025-02-11 12:56     ` Crystal Guo (郭晶)
2025-02-11 15:55       ` Krzysztof Kozlowski
2025-02-12  2:47         ` Crystal Guo (郭晶)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241212090029.13692-1-crystal.guo@mediatek.com \
    --to=crystal.guo@mediatek.com \
    --cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®