mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matt Coster <Matt.Coster@imgtec.com>
To: Nishanth Menon <nm@ti.com>, Randolph Sapp <rs@ti.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>,
	Tero Kristo <kristo@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Frank Binns <Frank.Binns@imgtec.com>,
	Alessio Belle <Alessio.Belle@imgtec.com>,
	Alexandru Dadu <Alexandru.Dadu@imgtec.com>,
	Luigi Santivetti <Luigi.Santivetti@imgtec.com>,
	Darren Etheridge <detheridge@ti.com>
Subject: Re: [PATCH 2/2] arm64: dts: ti: k3-j721s2: Add GPU node
Date: Wed, 16 Apr 2025 12:12:30 +0000	[thread overview]
Message-ID: <4816c493-8e30-476a-9e97-dd29dbab19eb@imgtec.com> (raw)
In-Reply-To: <20250416112700.t3zqihsmn24jaiub@purse>


[-- Attachment #1.1: Type: text/plain, Size: 2879 bytes --]

On 16/04/2025 12:27, Nishanth Menon wrote:
> On 15:29-20250415, Randolph Sapp wrote:
>> On Tue Apr 15, 2025 at 11:20 AM CDT, Matt Coster wrote:
>>> The J721S2 binding is based on the TI downstream binding in commit
>>> 54b0f2a00d92 ("arm64: dts: ti: k3-j721s2-main: add gpu node") from [1]
>>> but with updated compatible strings.
>>>
>>> The clock[2] and power[3] indices were verified from docs, but the
>>> source of the interrupt index remains elusive.
>>>
>>
>> For future reference, interrupt maps are present in the TRM. "Table 6-89. GPU0
>> Hardware Requests" explicitly calls it out "GPU0 | GPU0_MISC_0_IRQ_0 |
>> GIC500_SPI_IN_56 | COMPUTE_CLUSTER0 | GPU0 interrupt request". Subtract 32 from
>> that pin number to get the DT number.
> 
> Now that the mystery is resolved, could we update the commit message?

Absolutely, I'll send a V2 shortly.

Cheers,
Matt

>>
>> That comment aside, this series seems fine to me.
>> Reviewed-by: Randolph Sapp <rs@ti.com>
>>
>>> [1]: https://urldefense.com/v3/__https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel__;!!KCwjcDI!y39eGiVNIkSgKr9rKR3oO-7kzxHNUBmRKuqRffQd1_TPpuYEAuBgmkmvSADjBNAs1XS9DDo$ 
>>> [2]: https://urldefense.com/v3/__https://downloads.ti.com/tisci/esd/latest/5_soc_doc/j721s2/clocks.html__;!!KCwjcDI!y39eGiVNIkSgKr9rKR3oO-7kzxHNUBmRKuqRffQd1_TPpuYEAuBgmkmvSADjBNAsb0N9gDQ$ 
>>> [3]: https://urldefense.com/v3/__https://downloads.ti.com/tisci/esd/latest/5_soc_doc/j721s2/devices.html__;!!KCwjcDI!y39eGiVNIkSgKr9rKR3oO-7kzxHNUBmRKuqRffQd1_TPpuYEAuBgmkmvSADjBNAsQJ1GE04$ 
>>>
>>> Signed-off-by: Matt Coster <matt.coster@imgtec.com>
>>> ---
>>> This patch was previously sent as [DO NOT MERGE]:
>>> https://lore.kernel.org/r/20250410-sets-bxs-4-64-patch-v1-v6-18-eda620c5865f@imgtec.com 
>>> ---
>>>  arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 12 ++++++++++++
>>>  1 file changed, 12 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
>>> index 92bf48fdbeba45ecca8c854db5f72fd3666239c5..a79ac41b2c1f51b7193e6133864428bd35a5e835 100644
>>> --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
>>> +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
>>> @@ -2048,4 +2048,16 @@ watchdog8: watchdog@23f0000 {
>>>  		/* reserved for MAIN_R5F1_1 */
>>>  		status = "reserved";
>>>  	};
>>> +
>>> +	gpu: gpu@4e20000000 {
>>> +		compatible = "ti,j721s2-gpu", "img,img-bxs-4-64", "img,img-rogue";
>>> +		reg = <0x4e 0x20000000 0x00 0x80000>;
>>> +		clocks = <&k3_clks 130 1>;
>>> +		clock-names = "core";
>>> +		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
>>> +		power-domains = <&k3_pds 130 TI_SCI_PD_EXCLUSIVE>,
>>> +				<&k3_pds 373 TI_SCI_PD_EXCLUSIVE>;
>>> +		power-domain-names = "a", "b";
>>> +		dma-coherent;
>>> +	};
>>>  };
>>
> 


-- 
Matt Coster
E: matt.coster@imgtec.com

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

      reply	other threads:[~2025-04-16 12:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-15 16:20 [PATCH 0/2] Imagination BXS-4-64 MC1 GPU support (DTS changes) Matt Coster
2025-04-15 16:20 ` [PATCH 1/2] arm64: dts: ti: k3-am62: New GPU binding details Matt Coster
2025-04-15 16:20 ` [PATCH 2/2] arm64: dts: ti: k3-j721s2: Add GPU node Matt Coster
2025-04-15 20:29   ` Randolph Sapp
2025-04-16 11:27     ` Nishanth Menon
2025-04-16 12:12       ` Matt Coster [this message]

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=4816c493-8e30-476a-9e97-dd29dbab19eb@imgtec.com \
    --to=matt.coster@imgtec.com \
    --cc=Alessio.Belle@imgtec.com \
    --cc=Alexandru.Dadu@imgtec.com \
    --cc=Frank.Binns@imgtec.com \
    --cc=Luigi.Santivetti@imgtec.com \
    --cc=conor+dt@kernel.org \
    --cc=detheridge@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=robh@kernel.org \
    --cc=rs@ti.com \
    --cc=vigneshr@ti.com \
    /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®