Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Panis <jpanis@baylibre.com>
To: AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	linux-mediatek@lists.infradead.org
Cc: lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, matthias.bgg@gmail.com,
	mandyjh.liu@mediatek.com, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, kernel@collabora.com
Subject: Re: [PATCH 5/5] arm64: dts: mediatek: mt8188: Add support for Mali GPU on Panfrost
Date: Mon, 27 May 2024 16:53:20 +0200	[thread overview]
Message-ID: <f553b3f2-d895-446a-a741-7a151ebeb3ed@baylibre.com> (raw)
In-Reply-To: <20240527093908.97574-6-angelogioacchino.delregno@collabora.com>

On 5/27/24 11:39, AngeloGioacchino Del Regno wrote:
> Add the necessary OPP table for the GPU and also add a GPU node
> to enable support for the Valhall-JM G57 MC3 found on this SoC,
> using the Panfrost driver.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---

[...]

>   
> +		gpu: gpu@13000000 {
> +			compatible = "mediatek,mt8188-mali", "arm,mali-valhall-jm";
> +			reg = <0 0x13000000 0 0x4000>;
> +
> +			clocks = <&mfgcfg CLK_MFGCFG_BG3D>;
> +			interrupts = <GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH 0>,
> +				     <GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH 0>,
> +				     <GIC_SPI 381 IRQ_TYPE_LEVEL_HIGH 0>;
> +			interrupt-names = "job", "mmu", "gpu";
> +			operating-points-v2 = <&gpu_opp_table>;
> +			power-domains = <&spm MT8188_POWER_DOMAIN_MFG2>,
> +					<&spm MT8188_POWER_DOMAIN_MFG3>,
> +					<&spm MT8188_POWER_DOMAIN_MFG4>;
> +			power-domain-names = "core0", "core1", "core2";

Hi Angelo,

I think you should add something like that here:
#cooling-cells = <2>;
(the warning is raised when I run 'make dtbs_check')

Julien



  reply	other threads:[~2024-05-27 14:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-27  9:39 [PATCH 0/5] Support for MT8188 power domains, gpu, gce, vdo AngeloGioacchino Del Regno
2024-05-27  9:39 ` [PATCH 1/5] dt-bindings: mfd: mediatek,mt8195-scpsys: Add support for MT8188 AngeloGioacchino Del Regno
2024-05-27 14:39   ` Krzysztof Kozlowski
2024-05-31 13:51   ` (subset) " Lee Jones
2024-05-27  9:39 ` [PATCH 2/5] arm64: dts: mediatek: mt8188: Add Global Command Engine mailboxes AngeloGioacchino Del Regno
2024-05-27  9:39 ` [PATCH 3/5] arm64: dts: mediatek: mt8188: Add VDOSYS0/1 support for multimedia AngeloGioacchino Del Regno
2024-05-27  9:39 ` [PATCH 4/5] arm64: dts: mediatek: mt8188: Add support for SoC power domains AngeloGioacchino Del Regno
2024-05-27  9:39 ` [PATCH 5/5] arm64: dts: mediatek: mt8188: Add support for Mali GPU on Panfrost AngeloGioacchino Del Regno
2024-05-27 14:53   ` Julien Panis [this message]
2024-05-28 10:36     ` AngeloGioacchino Del Regno
2024-05-28 13:13       ` Julien Panis
2024-05-29  6:34   ` Chen-Yu Tsai
2024-05-29  8:16     ` AngeloGioacchino Del Regno

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=f553b3f2-d895-446a-a741-7a151ebeb3ed@baylibre.com \
    --to=jpanis@baylibre.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel@collabora.com \
    --cc=krzk+dt@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=mandyjh.liu@mediatek.com \
    --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