From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Crystal Guo <crystal.guo@mediatek.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.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: Re: [v3,1/2] dt-bindings: memory-controllers: Add MediaTek DRAM controller interface
Date: Wed, 26 Mar 2025 11:18:47 +0100 [thread overview]
Message-ID: <fb154077-e650-480e-a4d7-0a141b563dfc@collabora.com> (raw)
In-Reply-To: <20250326063041.7126-2-crystal.guo@mediatek.com>
Il 26/03/25 07:30, Crystal Guo ha scritto:
> A MediaTek DRAM controller interface to provide the current DDR
> data rate.
>
> Signed-off-by: Crystal Guo <crystal.guo@mediatek.com>
> ---
> .../memory-controllers/mediatek,dramc.yaml | 44 +++++++++++++++++++
> 1 file changed, 44 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/memory-controllers/mediatek,dramc.yaml
>
> diff --git a/Documentation/devicetree/bindings/memory-controllers/mediatek,dramc.yaml b/Documentation/devicetree/bindings/memory-controllers/mediatek,dramc.yaml
> new file mode 100644
> index 000000000000..8bdacfc36cb5
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/memory-controllers/mediatek,dramc.yaml
The filename should be "mediatek,mt8196-dramc.yaml"
> @@ -0,0 +1,44 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +# Copyright (c) 2025 MediaTek Inc.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/memory-controllers/mediatek,dramc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: MediaTek DRAM Controller (DRAMC)
> +
> +maintainers:
> + - Crystal Guo <crystal.guo@mediatek.com>
> +
> +description:
> + A MediaTek DRAM controller interface to provide the current data rate of DRAM.
> +
> +properties:
> + compatible:
> + items:
> + - enum:
> + - mediatek,mt8196-dramc
P.S.: bindings maintainers: this driver is expected to get more compatibles soon.
Cheers,
Angelo
> +
> + reg:
> + items:
> + - description: anaphy registers
> + - description: ddrphy registers
> +
> +additionalProperties: false
> +
> +required:
> + - compatible
> + - reg
> +
> +examples:
> + - |
> + soc {
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + memory-controller@10236000 {
> + compatible = "mediatek,mt8196-dramc";
> + reg = <0 0x10236000 0 0x2000>,
> + <0 0x10238000 0 0x2000>;
> + };
> + };
next prev parent reply other threads:[~2025-03-26 10:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-26 6:30 [v3,0/2] Add an interface to get current DDR data rate Crystal Guo
2025-03-26 6:30 ` [v3,1/2] dt-bindings: memory-controllers: Add MediaTek DRAM controller interface Crystal Guo
2025-03-26 7:56 ` Krzysztof Kozlowski
2025-03-26 10:17 ` AngeloGioacchino Del Regno
2025-03-26 10:27 ` Krzysztof Kozlowski
2025-03-26 10:18 ` AngeloGioacchino Del Regno [this message]
2025-04-02 3:51 ` Crystal Guo (郭晶)
2025-04-02 9:24 ` AngeloGioacchino Del Regno
2025-03-26 6:30 ` [v3,2/2] memory/mediatek: Add an interface to get current DDR data rate Crystal Guo
2025-03-26 10:27 ` AngeloGioacchino Del Regno
2025-04-02 3:36 ` 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=fb154077-e650-480e-a4d7-0a141b563dfc@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=conor+dt@kernel.org \
--cc=crystal.guo@mediatek.com \
--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