Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yong Wu (吴勇)" <Yong.Wu@mediatek.com>
To: "amergnat@baylibre.com" <amergnat@baylibre.com>,
	"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
	"krzysztof.kozlowski@linaro.org" <krzysztof.kozlowski@linaro.org>,
	"angelogioacchino.delregno@collabora.com"
	<angelogioacchino.delregno@collabora.com>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	"krzysztof.kozlowski+dt@linaro.org"
	<krzysztof.kozlowski+dt@linaro.org>
Cc: "linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-mediatek@lists.infradead.org"
	<linux-mediatek@lists.infradead.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH v2 10/10] memory: mtk-smi: mt8365: Add SMI Support
Date: Thu, 6 Apr 2023 09:28:50 +0000	[thread overview]
Message-ID: <9ad8c606026586b682df5e0ce0c699e21a1e6fb7.camel@mediatek.com> (raw)
In-Reply-To: <20230207-iommu-support-v2-10-60d5fa00e4e5@baylibre.com>

On Wed, 2023-04-05 at 10:06 +0200, Alexandre Mergnat wrote:
> 
> Add MT8365 SMI common support.
> 
> Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
> ---
>  drivers/memory/mtk-smi.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/memory/mtk-smi.c b/drivers/memory/mtk-smi.c
> index 5a9754442bc7..477b5d1ffd46 100644
> --- a/drivers/memory/mtk-smi.c
> +++ b/drivers/memory/mtk-smi.c
> @@ -713,6 +713,12 @@ static const struct mtk_smi_common_plat
> mtk_smi_sub_common_mt8195 = {
>         .has_gals = true,
>  };
> 
> +static const struct mtk_smi_common_plat mtk_smi_common_mt8365 = {
> +       .type     = MTK_SMI_GEN2,
> +       .has_gals = true,

mt8365 doesn't have "gals". Please remove this line, then the code is
ok for me.

Reviewed-by: Yong Wu <yong.wu@mediatek.com>

Thanks.

> +       .bus_sel  = F_MMU1_LARB(2) | F_MMU1_LARB(4),
> +};
> +
>  static const struct of_device_id mtk_smi_common_of_ids[] = {
>         {.compatible = "mediatek,mt2701-smi-common", .data =
> &mtk_smi_common_gen1},
>         {.compatible = "mediatek,mt2712-smi-common", .data =
> &mtk_smi_common_gen2},
> @@ -728,6 +734,7 @@ static const struct of_device_id
> mtk_smi_common_of_ids[] = {
>         {.compatible = "mediatek,mt8195-smi-common-vdo", .data =
> &mtk_smi_common_mt8195_vdo},
>         {.compatible = "mediatek,mt8195-smi-common-vpp", .data =
> &mtk_smi_common_mt8195_vpp},
>         {.compatible = "mediatek,mt8195-smi-sub-common", .data =
> &mtk_smi_sub_common_mt8195},
> +       {.compatible = "mediatek,mt8365-smi-common", .data =
> &mtk_smi_common_mt8365},
>         {}
>  };
> 
> 
> --
> 2.25.1
> 

  parent reply	other threads:[~2023-04-06  9:49 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-05  8:06 [PATCH v2 00/10] Add IOMMU support to MT8365 SoC Alexandre Mergnat
2023-04-05  8:06 ` [PATCH v2 01/10] dt-bindings: memory-controllers: mediatek,smi-common: add mt8365 Alexandre Mergnat
2023-04-05  8:06 ` [PATCH v2 02/10] dt-bindings: memory-controllers: mediatek,smi-larb: " Alexandre Mergnat
2023-04-05  8:06 ` [PATCH v2 03/10] arm64: dts: mediatek: add mmsys support for mt8365 SoC Alexandre Mergnat
2023-04-05  8:06 ` [PATCH v2 04/10] arm64: dts: mediatek: add camsys " Alexandre Mergnat
2023-04-05  8:06 ` [PATCH v2 05/10] arm64: dts: mediatek: add apu " Alexandre Mergnat
2023-04-05  8:06 ` [PATCH v2 06/10] arm64: dts: mediatek: add power domain " Alexandre Mergnat
2023-04-05  8:06 ` [PATCH v2 07/10] arm64: dts: mediatek: add smi " Alexandre Mergnat
2023-04-05  8:06 ` [PATCH v2 08/10] arm64: dts: mediatek: add larb " Alexandre Mergnat
2023-04-05  8:06 ` [PATCH v2 09/10] arm64: dts: mediatek: add iommu " Alexandre Mergnat
2023-04-05  8:06 ` [PATCH v2 10/10] memory: mtk-smi: mt8365: Add SMI Support Alexandre Mergnat
2023-04-05  9:43   ` Krzysztof Kozlowski
2023-04-05  9:53     ` Alexandre Mergnat
2023-04-05 11:45       ` Krzysztof Kozlowski
2023-04-05 13:06         ` Alexandre Mergnat
2023-04-05 13:54           ` Krzysztof Kozlowski
2023-04-05 14:34             ` Alexandre Mergnat
2023-04-06  7:50               ` Krzysztof Kozlowski
2023-04-06 13:56                 ` Alexandre Mergnat
2023-04-06  9:28   ` Yong Wu (吴勇) [this message]
2023-04-05 11:43 ` [PATCH v2 00/10] Add IOMMU support to MT8365 SoC Krzysztof Kozlowski
2023-04-05 13:13   ` Alexandre Mergnat
2023-04-05 13:54     ` Krzysztof Kozlowski

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=9ad8c606026586b682df5e0ce0c699e21a1e6fb7.camel@mediatek.com \
    --to=yong.wu@mediatek.com \
    --cc=amergnat@baylibre.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.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+dt@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