mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Price <steven.price@arm.com>
To: AngeloGioacchino Del Regno 
	<angelogioacchino.delregno@collabora.com>,
	airlied@gmail.com
Cc: daniel@ffwll.ch, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org,
	alyssa.rosenzweig@collabora.com, matthias.bgg@gmail.com,
	robh@kernel.org, dri-devel@lists.freedesktop.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org, wenst@chromium.org
Subject: Re: [PATCH v3 11/11] drm/panfrost: Add support for Mali on the MT8186 SoC
Date: Fri, 24 Feb 2023 08:46:05 +0000	[thread overview]
Message-ID: <4e0673e7-5685-ad1b-2fac-4ae544caefeb@arm.com> (raw)
In-Reply-To: <20230223133440.80941-12-angelogioacchino.delregno@collabora.com>

On 23/02/2023 13:34, AngeloGioacchino Del Regno wrote:
> MediaTek MT8186 has a Mali-G52 MC2 2EE (Bifrost): add a new compatible
> and platform data using the same supplies list as "mt8183_b" (only one
> regulator), and a new pm_domains list with only two power domains.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

Reviewed-by: Steven Price <steven.price@arm.com>

> ---
>  drivers/gpu/drm/panfrost/panfrost_drv.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/gpu/drm/panfrost/panfrost_drv.c b/drivers/gpu/drm/panfrost/panfrost_drv.c
> index 14cdeaeeb5c4..e4053bf84c62 100644
> --- a/drivers/gpu/drm/panfrost/panfrost_drv.c
> +++ b/drivers/gpu/drm/panfrost/panfrost_drv.c
> @@ -679,6 +679,14 @@ static const struct panfrost_compatible mediatek_mt8183_b_data = {
>  	.pm_domain_names = mediatek_mt8183_pm_domains,
>  };
>  
> +static const char * const mediatek_mt8186_pm_domains[] = { "core0", "core1" };
> +static const struct panfrost_compatible mediatek_mt8186_data = {
> +	.num_supplies = ARRAY_SIZE(mediatek_mt8183_b_supplies) - 1,
> +	.supply_names = mediatek_mt8183_b_supplies,
> +	.num_pm_domains = ARRAY_SIZE(mediatek_mt8186_pm_domains),
> +	.pm_domain_names = mediatek_mt8186_pm_domains,
> +};
> +
>  static const char * const mediatek_mt8192_supplies[] = { "mali", NULL };
>  static const char * const mediatek_mt8192_pm_domains[] = { "core0", "core1", "core2",
>  							   "core3", "core4" };
> @@ -708,6 +716,7 @@ static const struct of_device_id dt_match[] = {
>  	{ .compatible = "arm,mali-valhall-jm", .data = &default_data, },
>  	{ .compatible = "mediatek,mt8183-mali", .data = &mediatek_mt8183_data },
>  	{ .compatible = "mediatek,mt8183b-mali", .data = &mediatek_mt8183_b_data },
> +	{ .compatible = "mediatek,mt8186-mali", .data = &mediatek_mt8186_data },
>  	{ .compatible = "mediatek,mt8192-mali", .data = &mediatek_mt8192_data },
>  	{}
>  };


  reply	other threads:[~2023-02-24  8:46 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-23 13:34 [PATCH v3 00/11] Panfrost: Improve and add MediaTek SoCs support AngeloGioacchino Del Regno
2023-02-23 13:34 ` [PATCH v3 01/11] dt-bindings: gpu: mali-bifrost: Add power-domain-names to base schema AngeloGioacchino Del Regno
2023-02-24 10:15   ` Krzysztof Kozlowski
2023-02-23 13:34 ` [PATCH v3 02/11] dt-bindings: gpu: mali-bifrost: Split out MediaTek power-domains variation AngeloGioacchino Del Regno
2023-02-24 10:08   ` Chen-Yu Tsai
2023-02-24 10:09     ` Chen-Yu Tsai
2023-02-24 13:09       ` AngeloGioacchino Del Regno
2023-02-24 10:57   ` Krzysztof Kozlowski
2023-02-23 13:34 ` [PATCH v3 03/11] dt-bindings: gpu: mali-bifrost: Allow up to 5 power domains for MT8192 AngeloGioacchino Del Regno
2023-02-24 10:08   ` Chen-Yu Tsai
2023-02-23 13:34 ` [PATCH v3 04/11] dt-bindings: gpu: mali-bifrost: Add compatible for MT8195 SoC AngeloGioacchino Del Regno
2023-02-24 10:08   ` Chen-Yu Tsai
2023-02-27 13:19     ` AngeloGioacchino Del Regno
2023-02-23 13:34 ` [PATCH v3 05/11] dt-bindings: gpu: mali-bifrost: Add new MT8183 compatible AngeloGioacchino Del Regno
2023-02-24 10:07   ` Chen-Yu Tsai
2023-02-24 10:58   ` Krzysztof Kozlowski
2023-02-23 13:34 ` [PATCH v3 06/11] dt-bindings: gpu: mali-bifrost: Add support for MediaTek MT8186 AngeloGioacchino Del Regno
2023-02-24 10:06   ` Chen-Yu Tsai
2023-02-24 10:58   ` Krzysztof Kozlowski
2023-02-23 13:34 ` [PATCH v3 07/11] drm/panfrost: Increase MAX_PM_DOMAINS to 5 AngeloGioacchino Del Regno
2023-02-24 10:06   ` Chen-Yu Tsai
2023-02-23 13:34 ` [PATCH v3 08/11] drm/panfrost: Add the MT8192 GPU ID AngeloGioacchino Del Regno
2023-02-24 10:06   ` Chen-Yu Tsai
2023-02-24 13:08     ` AngeloGioacchino Del Regno
2023-02-24 13:53       ` Steven Price
2023-02-23 13:34 ` [PATCH v3 09/11] drm/panfrost: Add mediatek,mt8192-mali compatible AngeloGioacchino Del Regno
2023-02-24 10:04   ` Chen-Yu Tsai
2023-02-23 13:34 ` [PATCH v3 10/11] drm/panfrost: Add new compatible for Mali on the MT8183 SoC AngeloGioacchino Del Regno
2023-02-24 10:03   ` Chen-Yu Tsai
2023-02-23 13:34 ` [PATCH v3 11/11] drm/panfrost: Add support for Mali on the MT8186 SoC AngeloGioacchino Del Regno
2023-02-24  8:46   ` Steven Price [this message]
2023-02-24 10:03     ` Chen-Yu Tsai
2023-02-24  9:43 ` [PATCH v3 00/11] Panfrost: Improve and add MediaTek SoCs support Chen-Yu Tsai

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=4e0673e7-5685-ad1b-2fac-4ae544caefeb@arm.com \
    --to=steven.price@arm.com \
    --cc=airlied@gmail.com \
    --cc=alyssa.rosenzweig@collabora.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=krzysztof.kozlowski+dt@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 \
    --cc=robh@kernel.org \
    --cc=wenst@chromium.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®