Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Julien Panis <jpanis@baylibre.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: Tue, 28 May 2024 12:36:19 +0200	[thread overview]
Message-ID: <4715d477-5f66-47db-973f-af64a3009113@collabora.com> (raw)
In-Reply-To: <f553b3f2-d895-446a-a741-7a151ebeb3ed@baylibre.com>

Il 27/05/24 16:53, Julien Panis ha scritto:
> 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
> 

I can either add it to a v2 of this series, or you can add it in your patch where
you're actually adding the thermal support.

I have no preferences about who adds it, and I agree that cooling-cells should
eventually get there, so I'll leave the choice to you :-)

Cheers,
Angelo


  reply	other threads:[~2024-05-28 10:36 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
2024-05-28 10:36     ` AngeloGioacchino Del Regno [this message]
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=4715d477-5f66-47db-973f-af64a3009113@collabora.com \
    --to=angelogioacchino.delregno@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jpanis@baylibre.com \
    --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