From: Jonathan Bakker <xc-racer2@live.ca>
To: "H. Nikolaus Schaller" <hns@goldelico.com>,
Krzysztof Kozlowski <krzk@kernel.org>
Cc: "David Airlie" <airlied@linux.ie>,
"Daniel Vetter" <daniel@ffwll.ch>,
"Rob Herring" <robh+dt@kernel.org>,
"Mark Rutland" <mark.rutland@arm.com>,
"Benoît Cousson" <bcousson@baylibre.com>,
"Tony Lindgren" <tony@atomide.com>,
"Paul Cercueil" <paul@crapouillou.net>,
"Ralf Baechle" <ralf@linux-mips.org>,
"Paul Burton" <paulburton@kernel.org>,
"James Hogan" <jhogan@kernel.org>,
"Kukjin Kim" <kgene@kernel.org>,
"Maxime Ripard" <mripard@kernel.org>,
"Chen-Yu Tsai" <wens@csie.org>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"Philipp Rossak" <embed3d@gmail.com>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
linux-omap@vger.kernel.org, openpvrsgx-devgroup@letux.org,
letux-kernel@openphoenux.org, kernel@pyra-handheld.com,
linux-mips@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
"linux-samsung-soc@vger.kernel.org"
<linux-samsung-soc@vger.kernel.org>
Subject: Re: [PATCH v6 08/12] arm: dts: s5pv210: Add G3D node
Date: Wed, 15 Apr 2020 11:17:16 -0700 [thread overview]
Message-ID: <BN6PR04MB0660640B15550F75C8CCD4DEA3DB0@BN6PR04MB0660.namprd04.prod.outlook.com> (raw)
In-Reply-To: <AB9B8741-CFF7-414D-9489-D381B539538D@goldelico.com>
Hi Nikolaus,
On 2020-04-15 5:50 a.m., H. Nikolaus Schaller wrote:
>
>> Am 15.04.2020 um 13:49 schrieb Krzysztof Kozlowski <krzk@kernel.org>:
>>
>> On Wed, 15 Apr 2020 at 10:36, H. Nikolaus Schaller <hns@goldelico.com> wrote:
>>>
>>> From: Jonathan Bakker <xc-racer2@live.ca>
>>>
>>> to add support for SGX540 GPU.
>>
>> Do not continue the subject in commit msg like it is one sentence.
>> These are two separate sentences, so commit msg starts with capital
>> letter and it is sentence by itself.
>>
Sorry, that's my fault, I should know better.
Nikolaus took this from my testing tree and I apparently didn't have it in
as good as state as I should have.
>>> Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
>>> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
>>> ---
>>> arch/arm/boot/dts/s5pv210.dtsi | 15 +++++++++++++++
>>> 1 file changed, 15 insertions(+)
>>>
>>> diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi
>>> index 2ad642f51fd9..e7fc709c0cca 100644
>>> --- a/arch/arm/boot/dts/s5pv210.dtsi
>>> +++ b/arch/arm/boot/dts/s5pv210.dtsi
>>> @@ -512,6 +512,21 @@ vic3: interrupt-controller@f2300000 {
>>> #interrupt-cells = <1>;
>>> };
>>>
>>> + g3d: g3d@f3000000 {
>>> + compatible = "samsung,s5pv210-sgx540-120";
>>> + reg = <0xf3000000 0x10000>;
>>> + interrupt-parent = <&vic2>;
>>> + interrupts = <10>;
>>> + clock-names = "sclk";
>>> + clocks = <&clocks CLK_G3D>;
>>
>> Not part of bindings, please remove or add to the bindings.
>
> Well, the bindings should describe what is common for all SoC
> and they are quite different in what they need in addition.
>
> Thererfore we have no "additionalProperties: false" in the
> bindings [PATCH v6 01/12].
>
>>
>>> +
>>> + power-domains = <&pd S5PV210_PD_G3D>;
>>
>> Ditto
>
> In this case it might be possible to add the clock/power-domains
> etc. to a wrapper node compatible to "simple-pm-bus" or similar
> and make the gpu a child of it.
>
> @Jontahan: can you please give it a try?
>
>
The power-domains comes from a (so far) non-upstreamed power domain driver
for s5pv210 that I've been playing around with. It's not necessary for proper
operation as it's on by default.
Looking at simple-pm-bus, I don't really understand its purpose. Is it a way of separating
out a power domain from a main device's node? Or is it designed for when you have multiple
devices under the same power domain?
Nikolaus, I can regenerate a proper patch for you if you want that's not based on my testing tree.
>>
>>> +
>>> + assigned-clocks = <&clocks MOUT_G3D>, <&clocks DOUT_G3D>;
>>> + assigned-clock-rates = <0>, <66700000>;
>>> + assigned-clock-parents = <&clocks MOUT_MPLL>;
>>
>> Probably this should have status disabled because you do not set
>> regulator supply.
I don't believe there is a regulator on s5pv210, if there is, then it is a
fixed regulator with no control on both s5pv210 devices that I have.
The vendor driver did use the regulator framework for its power domain
implementation, but that definitely shouldn't be upstreamed.
> BR and thanks,
> Nikolaus
>
Thanks,
Jonathan
next prev parent reply other threads:[~2020-04-15 18:17 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-15 8:35 [PATCH v6 00/12] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more) H. Nikolaus Schaller
2020-04-15 8:35 ` [PATCH v6 01/12] dt-bindings: add img,pvrsgx.yaml for Imagination GPUs H. Nikolaus Schaller
2020-04-15 10:12 ` Maxime Ripard
2020-04-15 12:43 ` H. Nikolaus Schaller
2020-04-15 12:54 ` [PATCH v6 01/12] dt-bindings: add img, pvrsgx.yaml " Neil Armstrong
2020-04-15 13:17 ` H. Nikolaus Schaller
2020-04-15 14:21 ` Maxime Ripard
2020-04-15 15:09 ` H. Nikolaus Schaller
2020-04-15 16:21 ` Maxime Ripard
2020-04-15 16:42 ` H. Nikolaus Schaller
2020-04-15 17:13 ` Tony Lindgren
2020-04-17 10:25 ` Maxime Ripard
2020-04-17 12:15 ` H. Nikolaus Schaller
2020-04-18 23:02 ` Philipp Rossak
2020-04-20 8:04 ` Maxime Ripard
2020-04-16 20:41 ` [PATCH v6 01/12] dt-bindings: add img,pvrsgx.yaml " Rob Herring
[not found] ` <C7C58E41-99CB-49F6-934E-68FA458CB8B1@goldelico.com>
2020-04-21 19:02 ` [PATCH v6 01/12] dt-bindings: add img, pvrsgx.yaml " Rob Herring
2020-04-15 8:35 ` [PATCH v6 02/12] ARM: DTS: am33xx: add sgx gpu child node H. Nikolaus Schaller
2020-04-15 8:35 ` [PATCH v6 03/12] ARM: DTS: am3517: " H. Nikolaus Schaller
2020-04-15 8:35 ` [PATCH v6 04/12] ARM: DTS: omap34xx: " H. Nikolaus Schaller
2020-04-15 8:35 ` [PATCH v6 05/12] ARM: DTS: omap36xx: " H. Nikolaus Schaller
2020-04-15 8:35 ` [PATCH v6 06/12] ARM: DTS: omap4: " H. Nikolaus Schaller
2020-04-15 8:35 ` [PATCH v6 07/12] ARM: DTS: omap5: " H. Nikolaus Schaller
2020-04-15 11:38 ` Krzysztof Kozlowski
2020-04-15 11:46 ` H. Nikolaus Schaller
2020-04-15 13:47 ` Krzysztof Kozlowski
2020-04-15 14:07 ` H. Nikolaus Schaller
2020-04-15 8:35 ` [PATCH v6 08/12] arm: dts: s5pv210: Add G3D node H. Nikolaus Schaller
2020-04-15 9:15 ` Sergei Shtylyov
2020-04-15 9:26 ` H. Nikolaus Schaller
2020-04-15 11:49 ` Krzysztof Kozlowski
2020-04-15 12:50 ` H. Nikolaus Schaller
2020-04-15 13:44 ` Krzysztof Kozlowski
2020-04-15 18:17 ` Jonathan Bakker [this message]
2020-04-16 8:50 ` Krzysztof Kozlowski
2020-04-17 12:15 ` H. Nikolaus Schaller
2020-04-22 5:56 ` kbuild test robot
2020-04-15 8:35 ` [PATCH v6 09/12] ARM: dts: sun6i: a31: add sgx gpu child node H. Nikolaus Schaller
2020-04-15 8:35 ` [PATCH v6 10/12] ARM: dts: sun6i: a31s: " H. Nikolaus Schaller
2020-04-15 8:35 ` [PATCH v6 11/12] ARM: dts: sun8i: a83t: " H. Nikolaus Schaller
2020-04-15 8:35 ` [PATCH v6 12/12] MIPS: DTS: jz4780: add sgx gpu node H. Nikolaus Schaller
2020-04-15 10:10 ` [PATCH v6 00/12] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more) Maxime Ripard
2020-04-15 12:41 ` H. Nikolaus Schaller
2020-04-15 12:46 ` Daniel Vetter
2020-04-15 13:02 ` Maxime Ripard
2020-04-15 13:04 ` H. Nikolaus Schaller
2020-04-17 12:09 ` Philipp Rossak
2020-04-20 7:38 ` Maxime Ripard
2020-04-21 9:57 ` Philipp Rossak
2020-04-21 11:21 ` Maxime Ripard
2020-04-21 14:15 ` Tony Lindgren
2020-04-21 17:29 ` H. Nikolaus Schaller
2020-04-21 17:39 ` Tony Lindgren
2020-04-21 17:46 ` Tony Lindgren
2020-04-22 6:58 ` Maxime Ripard
2020-04-22 7:10 ` H. Nikolaus Schaller
2020-04-22 15:13 ` Maxime Ripard
2020-04-22 16:09 ` H. Nikolaus Schaller
[not found] ` <MC879Q.XY9S0U9R35681@crapouillou.net>
2020-04-22 17:23 ` H. Nikolaus Schaller
2020-04-22 19:00 ` Philipp Rossak
2020-04-22 19:33 ` Tony Lindgren
2020-04-22 21:12 ` H. Nikolaus Schaller
2020-04-23 15:00 ` Neil Armstrong
2020-04-23 15:45 ` H. Nikolaus Schaller
2020-04-23 20:36 ` Maxime Ripard
2020-04-24 9:51 ` H. Nikolaus Schaller
2020-04-21 16:42 ` Philipp Rossak
2020-04-23 20:37 ` Maxime Ripard
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=BN6PR04MB0660640B15550F75C8CCD4DEA3DB0@BN6PR04MB0660.namprd04.prod.outlook.com \
--to=xc-racer2@live.ca \
--cc=airlied@linux.ie \
--cc=bcousson@baylibre.com \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=embed3d@gmail.com \
--cc=hns@goldelico.com \
--cc=jhogan@kernel.org \
--cc=kernel@pyra-handheld.com \
--cc=kgene@kernel.org \
--cc=krzk@kernel.org \
--cc=letux-kernel@openphoenux.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mripard@kernel.org \
--cc=openpvrsgx-devgroup@letux.org \
--cc=paul@crapouillou.net \
--cc=paulburton@kernel.org \
--cc=ralf@linux-mips.org \
--cc=robh+dt@kernel.org \
--cc=tony@atomide.com \
--cc=tsbogend@alpha.franken.de \
--cc=wens@csie.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;
as well as URLs for NNTP newsgroup(s).