From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Frank Binns <Frank.Binns@imgtec.com>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
Sarah Walker <Sarah.Walker@imgtec.com>
Cc: "luben.tuikov@amd.com" <luben.tuikov@amd.com>,
"christian.koenig@amd.com" <christian.koenig@amd.com>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>,
"tzimmermann@suse.de" <tzimmermann@suse.de>,
"mripard@kernel.org" <mripard@kernel.org>,
"matthew.brost@intel.com" <matthew.brost@intel.com>,
"daniel@ffwll.ch" <daniel@ffwll.ch>,
"hns@goldelico.com" <hns@goldelico.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"boris.brezillon@collabora.com" <boris.brezillon@collabora.com>,
"dakr@redhat.com" <dakr@redhat.com>,
"maarten.lankhorst@linux.intel.com"
<maarten.lankhorst@linux.intel.com>, "afd@ti.com" <afd@ti.com>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"airlied@gmail.com" <airlied@gmail.com>,
Donald Robson <Donald.Robson@imgtec.com>,
"faith.ekstrand@collabora.com" <faith.ekstrand@collabora.com>
Subject: Re: [PATCH v4 02/17] dt-bindings: gpu: Add Imagination Technologies PowerVR GPU
Date: Tue, 18 Jul 2023 15:06:03 +0200 [thread overview]
Message-ID: <8c4a488e-8990-8ad2-e82b-8759c9b85447@linaro.org> (raw)
In-Reply-To: <6eeccb26e09aad67fb30ffcd523c793a43c79c2a.camel@imgtec.com>
On 18/07/2023 13:32, Frank Binns wrote:
> Hi Krzysztof,
>
> On Mon, 2023-07-17 at 09:29 +0200, Krzysztof Kozlowski wrote:
>> On 14/07/2023 16:25, Sarah Walker wrote:
>>> Add the device tree binding documentation for the Series AXE GPU used in
>>> TI AM62 SoCs.
>>>
>>
>> ...
>>
>>> +
>>> + clocks:
>>> + minItems: 1
>>> + maxItems: 3
>>> +
>>> + clock-names:
>>> + items:
>>> + - const: core
>>> + - const: mem
>>> + - const: sys
>>> + minItems: 1
>>
>> Why clocks for this device vary? That's really unusual to have a SoC IP
>> block which can have a clock physically disconnected, depending on the
>> board (not SoC!).
>
> By default, this GPU IP (Series AXE) operates on a single clock (the core
> clock), but the SoC vendor can choose at IP integration time to run the memory
> and SoC interfaces on separate clocks (mem and sys clocks respectively). We also
> have IP, such as the Series 6XT, that requires all 3 clocks.
Currently you have only one SoC vendor with only one SoC, so the clocks
do not vary. Describing the clocks for all possible variants is a good
idea, but then this should be clear that this implementation uses subset.
>
> So the situation here is that Series AXE may have 1 or 3 clocks, but the TI
> implementation being added only has 1.
>
> I guess we need to add something like:
>
> allOf:
> - if:
> properties:
> compatible:
> contains:
> const: ti,am62-gpu
> then:
> properties:
> clocks:
> maxItems: 1
>
> Or should we be doing something else?
Yes. clock-names as well..
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-07-18 13:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-14 14:25 Sarah Walker
2023-07-15 10:40 ` Conor Dooley
2023-07-18 11:08 ` Frank Binns
2023-07-18 11:10 ` Krzysztof Kozlowski
2023-07-18 11:24 ` mripard
2023-07-18 11:36 ` Frank Binns
2023-07-18 11:52 ` Krzysztof Kozlowski
2023-07-17 7:29 ` Krzysztof Kozlowski
2023-07-18 11:32 ` Frank Binns
2023-07-18 13:06 ` Krzysztof Kozlowski [this message]
2023-07-18 6:20 ` Krzysztof Kozlowski
2023-07-18 11:47 ` Frank Binns
2023-07-18 11: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=8c4a488e-8990-8ad2-e82b-8759c9b85447@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=Donald.Robson@imgtec.com \
--cc=Frank.Binns@imgtec.com \
--cc=Sarah.Walker@imgtec.com \
--cc=afd@ti.com \
--cc=airlied@gmail.com \
--cc=boris.brezillon@collabora.com \
--cc=christian.koenig@amd.com \
--cc=conor+dt@kernel.org \
--cc=dakr@redhat.com \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=faith.ekstrand@collabora.com \
--cc=hns@goldelico.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luben.tuikov@amd.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=matthew.brost@intel.com \
--cc=mripard@kernel.org \
--cc=robh+dt@kernel.org \
--cc=tzimmermann@suse.de \
/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®