linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N
@ 2025-11-03 20:07 Marek Vasut
  2025-11-03 20:07 ` [PATCH 2/2] arm64: dts: renesas: r8a77965: Add GE7800 GPU node Marek Vasut
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Marek Vasut @ 2025-11-03 20:07 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Marek Vasut, Conor Dooley, David Airlie, Frank Binns,
	Geert Uytterhoeven, Krzysztof Kozlowski, Maarten Lankhorst,
	Magnus Damm, Matt Coster, Maxime Ripard, Niklas Söderlund,
	Rob Herring, Simona Vetter, Thomas Zimmermann, devicetree,
	dri-devel, linux-renesas-soc

Document Imagination Technologies PowerVR Rogue GE7800 BNVC 15.5.1.64
present in Renesas R-Car R8A77965 M3-N SoC.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: David Airlie <airlied@gmail.com>
Cc: Frank Binns <frank.binns@imgtec.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Matt Coster <matt.coster@imgtec.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
Cc: Rob Herring <robh@kernel.org>
Cc: Simona Vetter <simona@ffwll.ch>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: devicetree@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-renesas-soc@vger.kernel.org
---
 .../devicetree/bindings/gpu/img,powervr-rogue.yaml          | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
index a7ca6d3fdf10..c03efbedc397 100644
--- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
+++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
@@ -19,6 +19,10 @@ properties:
               - renesas,r8a77961-gpu
           - const: img,img-gx6250
           - const: img,img-rogue
+      - items:
+          - const: renesas,r8a77965-gpu
+          - const: img,img-ge7800
+          - const: img,img-rogue
       - items:
           - enum:
               - ti,am62-gpu
@@ -105,6 +109,7 @@ allOf:
         compatible:
           contains:
             enum:
+              - img,img-ge7800
               - img,img-gx6250
               - thead,th1520-gpu
     then:
@@ -134,6 +139,7 @@ allOf:
         compatible:
           contains:
             enum:
+              - img,img-ge7800
               - img,img-gx6250
               - img,img-bxs-4-64
     then:
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/2] arm64: dts: renesas: r8a77965: Add GE7800 GPU node
  2025-11-03 20:07 [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N Marek Vasut
@ 2025-11-03 20:07 ` Marek Vasut
  2025-11-04  9:03   ` Geert Uytterhoeven
  2025-11-03 21:25 ` [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N Rob Herring (Arm)
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Marek Vasut @ 2025-11-03 20:07 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Marek Vasut, Conor Dooley, David Airlie, Frank Binns,
	Geert Uytterhoeven, Krzysztof Kozlowski, Maarten Lankhorst,
	Magnus Damm, Matt Coster, Maxime Ripard, Niklas Söderlund,
	Rob Herring, Simona Vetter, Thomas Zimmermann, devicetree,
	dri-devel, linux-renesas-soc

Describe Imagination Technologies PowerVR Rogue GE7800 BNVC 15.5.1.64
present in Renesas R-Car R8A77965 M3-N SoC.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: David Airlie <airlied@gmail.com>
Cc: Frank Binns <frank.binns@imgtec.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Matt Coster <matt.coster@imgtec.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
Cc: Rob Herring <robh@kernel.org>
Cc: Simona Vetter <simona@ffwll.ch>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: devicetree@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-renesas-soc@vger.kernel.org
---
 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
index 0868b136883c..4e730144e5fd 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
@@ -2450,6 +2450,23 @@ gic: interrupt-controller@f1010000 {
 			resets = <&cpg 408>;
 		};
 
+		gpu: gpu@fd000000 {
+			compatible = "renesas,r8a77965-gpu",
+				     "img,img-ge7800",
+				     "img,img-rogue";
+			reg = <0 0xfd000000 0 0x40000>;
+			interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_CORE R8A77965_CLK_ZG>,
+				 <&cpg CPG_CORE R8A77965_CLK_S2D1>,
+				 <&cpg CPG_MOD 112>;
+			clock-names = "core", "mem", "sys";
+			power-domains = <&sysc R8A77965_PD_3DG_A>,
+					<&sysc R8A77965_PD_3DG_B>;
+			power-domain-names = "a", "b";
+			resets = <&cpg 112>;
+			status = "disabled";
+		};
+
 		pciec0: pcie@fe000000 {
 			compatible = "renesas,pcie-r8a77965",
 				     "renesas,pcie-rcar-gen3";
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N
  2025-11-03 20:07 [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N Marek Vasut
  2025-11-03 20:07 ` [PATCH 2/2] arm64: dts: renesas: r8a77965: Add GE7800 GPU node Marek Vasut
@ 2025-11-03 21:25 ` Rob Herring (Arm)
  2025-11-03 23:01   ` Marek Vasut
  2025-11-04  7:37 ` Krzysztof Kozlowski
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Rob Herring (Arm) @ 2025-11-03 21:25 UTC (permalink / raw)
  To: Marek Vasut
  Cc: Maarten Lankhorst, Frank Binns, David Airlie, Magnus Damm,
	Geert Uytterhoeven, Thomas Zimmermann, Niklas Söderlund,
	devicetree, dri-devel, Conor Dooley, linux-renesas-soc,
	Simona Vetter, Maxime Ripard, linux-arm-kernel, Matt Coster,
	Krzysztof Kozlowski


On Mon, 03 Nov 2025 21:07:35 +0100, Marek Vasut wrote:
> Document Imagination Technologies PowerVR Rogue GE7800 BNVC 15.5.1.64
> present in Renesas R-Car R8A77965 M3-N SoC.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> ---
> Cc: Conor Dooley <conor+dt@kernel.org>
> Cc: David Airlie <airlied@gmail.com>
> Cc: Frank Binns <frank.binns@imgtec.com>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> Cc: Matt Coster <matt.coster@imgtec.com>
> Cc: Maxime Ripard <mripard@kernel.org>
> Cc: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Simona Vetter <simona@ffwll.ch>
> Cc: Thomas Zimmermann <tzimmermann@suse.de>
> Cc: devicetree@vger.kernel.org
> Cc: dri-devel@lists.freedesktop.org
> Cc: linux-renesas-soc@vger.kernel.org
> ---
>  .../devicetree/bindings/gpu/img,powervr-rogue.yaml          | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:
./Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml:107:1: [warning] too many blank lines (2 > 1) (empty-lines)

dtschema/dtc warnings/errors:

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20251103200800.173440-1-marek.vasut+renesas@mailbox.org

The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N
  2025-11-03 21:25 ` [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N Rob Herring (Arm)
@ 2025-11-03 23:01   ` Marek Vasut
  0 siblings, 0 replies; 11+ messages in thread
From: Marek Vasut @ 2025-11-03 23:01 UTC (permalink / raw)
  To: Rob Herring (Arm), Marek Vasut
  Cc: Maarten Lankhorst, Frank Binns, David Airlie, Magnus Damm,
	Geert Uytterhoeven, Thomas Zimmermann, Niklas Söderlund,
	devicetree, dri-devel, Conor Dooley, linux-renesas-soc,
	Simona Vetter, Maxime Ripard, linux-arm-kernel, Matt Coster,
	Krzysztof Kozlowski

On 11/3/25 10:25 PM, Rob Herring (Arm) wrote:
> 
> On Mon, 03 Nov 2025 21:07:35 +0100, Marek Vasut wrote:
>> Document Imagination Technologies PowerVR Rogue GE7800 BNVC 15.5.1.64
>> present in Renesas R-Car R8A77965 M3-N SoC.
>>
>> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
>> ---
>> Cc: Conor Dooley <conor+dt@kernel.org>
>> Cc: David Airlie <airlied@gmail.com>
>> Cc: Frank Binns <frank.binns@imgtec.com>
>> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
>> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
>> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
>> Cc: Magnus Damm <magnus.damm@gmail.com>
>> Cc: Matt Coster <matt.coster@imgtec.com>
>> Cc: Maxime Ripard <mripard@kernel.org>
>> Cc: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
>> Cc: Rob Herring <robh@kernel.org>
>> Cc: Simona Vetter <simona@ffwll.ch>
>> Cc: Thomas Zimmermann <tzimmermann@suse.de>
>> Cc: devicetree@vger.kernel.org
>> Cc: dri-devel@lists.freedesktop.org
>> Cc: linux-renesas-soc@vger.kernel.org
>> ---
>>   .../devicetree/bindings/gpu/img,powervr-rogue.yaml          | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
> 
> My bot found errors running 'make dt_binding_check' on your patch:
> 
> yamllint warnings/errors:
> ./Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml:107:1: [warning] too many blank lines (2 > 1) (empty-lines)
I suspect this is already fixed in a separate patch:

[PATCH] dt-bindings: gpu: img,powervr-rogue: Drop duplicate newline

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N
  2025-11-03 20:07 [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N Marek Vasut
  2025-11-03 20:07 ` [PATCH 2/2] arm64: dts: renesas: r8a77965: Add GE7800 GPU node Marek Vasut
  2025-11-03 21:25 ` [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N Rob Herring (Arm)
@ 2025-11-04  7:37 ` Krzysztof Kozlowski
  2025-11-04  9:01 ` Geert Uytterhoeven
  2025-11-04 11:52 ` Matt Coster
  4 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-11-04  7:37 UTC (permalink / raw)
  To: Marek Vasut
  Cc: linux-arm-kernel, Conor Dooley, David Airlie, Frank Binns,
	Geert Uytterhoeven, Krzysztof Kozlowski, Maarten Lankhorst,
	Magnus Damm, Matt Coster, Maxime Ripard, Niklas Söderlund,
	Rob Herring, Simona Vetter, Thomas Zimmermann, devicetree,
	dri-devel, linux-renesas-soc

On Mon, Nov 03, 2025 at 09:07:35PM +0100, Marek Vasut wrote:
> Document Imagination Technologies PowerVR Rogue GE7800 BNVC 15.5.1.64
> present in Renesas R-Car R8A77965 M3-N SoC.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N
  2025-11-03 20:07 [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N Marek Vasut
                   ` (2 preceding siblings ...)
  2025-11-04  7:37 ` Krzysztof Kozlowski
@ 2025-11-04  9:01 ` Geert Uytterhoeven
  2025-11-04 11:52 ` Matt Coster
  4 siblings, 0 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2025-11-04  9:01 UTC (permalink / raw)
  To: Marek Vasut
  Cc: linux-arm-kernel, Conor Dooley, David Airlie, Frank Binns,
	Krzysztof Kozlowski, Maarten Lankhorst, Magnus Damm, Matt Coster,
	Maxime Ripard, Niklas Söderlund, Rob Herring, Simona Vetter,
	Thomas Zimmermann, devicetree, dri-devel, linux-renesas-soc

On Mon, 3 Nov 2025 at 21:08, Marek Vasut
<marek.vasut+renesas@mailbox.org> wrote:
> Document Imagination Technologies PowerVR Rogue GE7800 BNVC 15.5.1.64
> present in Renesas R-Car R8A77965 M3-N SoC.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 2/2] arm64: dts: renesas: r8a77965: Add GE7800 GPU node
  2025-11-03 20:07 ` [PATCH 2/2] arm64: dts: renesas: r8a77965: Add GE7800 GPU node Marek Vasut
@ 2025-11-04  9:03   ` Geert Uytterhoeven
  0 siblings, 0 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2025-11-04  9:03 UTC (permalink / raw)
  To: Marek Vasut
  Cc: linux-arm-kernel, Conor Dooley, David Airlie, Frank Binns,
	Krzysztof Kozlowski, Maarten Lankhorst, Magnus Damm, Matt Coster,
	Maxime Ripard, Niklas Söderlund, Rob Herring, Simona Vetter,
	Thomas Zimmermann, devicetree, dri-devel, linux-renesas-soc

On Mon, 3 Nov 2025 at 21:08, Marek Vasut
<marek.vasut+renesas@mailbox.org> wrote:
> Describe Imagination Technologies PowerVR Rogue GE7800 BNVC 15.5.1.64
> present in Renesas R-Car R8A77965 M3-N SoC.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
To be queued in renesas-devel for v6.19, pending acceptance of the
DT bindings.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N
  2025-11-03 20:07 [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N Marek Vasut
                   ` (3 preceding siblings ...)
  2025-11-04  9:01 ` Geert Uytterhoeven
@ 2025-11-04 11:52 ` Matt Coster
  2025-11-04 12:00   ` Marek Vasut
  4 siblings, 1 reply; 11+ messages in thread
From: Matt Coster @ 2025-11-04 11:52 UTC (permalink / raw)
  To: Marek Vasut
  Cc: Conor Dooley, David Airlie, Frank Binns, Alessio Belle,
	Alexandru Dadu, Geert Uytterhoeven, Krzysztof Kozlowski,
	Maarten Lankhorst, Magnus Damm, Maxime Ripard,
	Niklas Söderlund, Rob Herring, Simona Vetter,
	Thomas Zimmermann, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linux-renesas-soc@vger.kernel.org


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

Hi Marek,

On 03/11/2025 20:07, Marek Vasut wrote:
> Document Imagination Technologies PowerVR Rogue GE7800 BNVC 15.5.1.64
> present in Renesas R-Car R8A77965 M3-N SoC.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> ---
> Cc: Conor Dooley <conor+dt@kernel.org>
> Cc: David Airlie <airlied@gmail.com>
> Cc: Frank Binns <frank.binns@imgtec.com>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> Cc: Matt Coster <matt.coster@imgtec.com>
> Cc: Maxime Ripard <mripard@kernel.org>
> Cc: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Simona Vetter <simona@ffwll.ch>
> Cc: Thomas Zimmermann <tzimmermann@suse.de>
> Cc: devicetree@vger.kernel.org
> Cc: dri-devel@lists.freedesktop.org
> Cc: linux-renesas-soc@vger.kernel.org
> ---
>  .../devicetree/bindings/gpu/img,powervr-rogue.yaml          | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
> index a7ca6d3fdf10..c03efbedc397 100644
> --- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
> +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
> @@ -19,6 +19,10 @@ properties:
>                - renesas,r8a77961-gpu
>            - const: img,img-gx6250
>            - const: img,img-rogue
> +      - items:
> +          - const: renesas,r8a77965-gpu
> +          - const: img,img-ge7800
> +          - const: img,img-rogue
>        - items:
>            - enum:
>                - ti,am62-gpu
> @@ -105,6 +109,7 @@ allOf:
>          compatible:
>            contains:
>              enum:
> +              - img,img-ge7800
>                - img,img-gx6250

Can you put these in the same order they're declared above? The way I
read it, the order is img,xxx in generational order followed by
soc-specific entries in alphabetical order (which is why we have
img,img-gx6250 before img,img-bxs-4-64 below).

>                - thead,th1520-gpu
>      then:
> @@ -134,6 +139,7 @@ allOf:
>          compatible:
>            contains:
>              enum:
> +              - img,img-ge7800
>                - img,img-gx6250

Same again, otherwise lgtm.

Cheers,
Matt

>                - img,img-bxs-4-64
>      then:

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

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N
  2025-11-04 11:52 ` Matt Coster
@ 2025-11-04 12:00   ` Marek Vasut
  2025-11-04 12:36     ` Matt Coster
  0 siblings, 1 reply; 11+ messages in thread
From: Marek Vasut @ 2025-11-04 12:00 UTC (permalink / raw)
  To: Matt Coster, Marek Vasut
  Cc: Conor Dooley, David Airlie, Frank Binns, Alessio Belle,
	Alexandru Dadu, Geert Uytterhoeven, Krzysztof Kozlowski,
	Maarten Lankhorst, Magnus Damm, Maxime Ripard,
	Niklas Söderlund, Rob Herring, Simona Vetter,
	Thomas Zimmermann, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linux-renesas-soc@vger.kernel.org

On 11/4/25 12:52 PM, Matt Coster wrote:

Hello Matt,

>> +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
>> @@ -19,6 +19,10 @@ properties:
>>                 - renesas,r8a77961-gpu
>>             - const: img,img-gx6250
>>             - const: img,img-rogue
>> +      - items:
>> +          - const: renesas,r8a77965-gpu
>> +          - const: img,img-ge7800
>> +          - const: img,img-rogue
>>         - items:
>>             - enum:
>>                 - ti,am62-gpu
>> @@ -105,6 +109,7 @@ allOf:
>>           compatible:
>>             contains:
>>               enum:
>> +              - img,img-ge7800
>>                 - img,img-gx6250
> 
> Can you put these in the same order they're declared above? The way I
> read it, the order is img,xxx in generational order followed by
> soc-specific entries in alphabetical order (which is why we have
> img,img-gx6250 before img,img-bxs-4-64 below).

In this enum, the entries are (should be) sorted alphabetically .

Do you want to sort them generationally instead ?

>>                 - thead,th1520-gpu
>>       then:
>> @@ -134,6 +139,7 @@ allOf:
>>           compatible:
>>             contains:
>>               enum:
>> +              - img,img-ge7800
>>                 - img,img-gx6250
> 
> Same again, otherwise lgtm.
Please see above.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N
  2025-11-04 12:00   ` Marek Vasut
@ 2025-11-04 12:36     ` Matt Coster
  2025-11-04 13:59       ` Marek Vasut
  0 siblings, 1 reply; 11+ messages in thread
From: Matt Coster @ 2025-11-04 12:36 UTC (permalink / raw)
  To: Marek Vasut, Marek Vasut
  Cc: Conor Dooley, David Airlie, Frank Binns, Alessio Belle,
	Alexandru Dadu, Geert Uytterhoeven, Krzysztof Kozlowski,
	Maarten Lankhorst, Magnus Damm, Maxime Ripard,
	Niklas Söderlund, Rob Herring, Simona Vetter,
	Thomas Zimmermann, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linux-renesas-soc@vger.kernel.org


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

Hi Marek,

On 04/11/2025 12:00, Marek Vasut wrote:
> On 11/4/25 12:52 PM, Matt Coster wrote:
> 
> Hello Matt,
> 
>>> +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
>>> @@ -19,6 +19,10 @@ properties:
>>>                 - renesas,r8a77961-gpu
>>>             - const: img,img-gx6250
>>>             - const: img,img-rogue
>>> +      - items:
>>> +          - const: renesas,r8a77965-gpu
>>> +          - const: img,img-ge7800
>>> +          - const: img,img-rogue
>>>         - items:
>>>             - enum:
>>>                 - ti,am62-gpu
>>> @@ -105,6 +109,7 @@ allOf:
>>>           compatible:
>>>             contains:
>>>               enum:
>>> +              - img,img-ge7800
>>>                 - img,img-gx6250
>>
>> Can you put these in the same order they're declared above? The way I
>> read it, the order is img,xxx in generational order followed by
>> soc-specific entries in alphabetical order (which is why we have
>> img,img-gx6250 before img,img-bxs-4-64 below).
> 
> In this enum, the entries are (should be) sorted alphabetically .
> 
> Do you want to sort them generationally instead ?

If we have it wrong and the correct way is that these should always be
alphabetical, can you please fix up the existing enum below (with gx6250
before bxs-4-64) to match the constraint too?

Cheers,
Matt

> 
>>>                 - thead,th1520-gpu
>>>       then:
>>> @@ -134,6 +139,7 @@ allOf:
>>>           compatible:
>>>             contains:
>>>               enum:
>>> +              - img,img-ge7800
>>>                 - img,img-gx6250
>>
>> Same again, otherwise lgtm.
> Please see above.

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

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N
  2025-11-04 12:36     ` Matt Coster
@ 2025-11-04 13:59       ` Marek Vasut
  0 siblings, 0 replies; 11+ messages in thread
From: Marek Vasut @ 2025-11-04 13:59 UTC (permalink / raw)
  To: Matt Coster
  Cc: Conor Dooley, David Airlie, Frank Binns, Alessio Belle,
	Alexandru Dadu, Geert Uytterhoeven, Krzysztof Kozlowski,
	Maarten Lankhorst, Magnus Damm, Maxime Ripard,
	Niklas Söderlund, Rob Herring, Simona Vetter,
	Thomas Zimmermann, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linux-renesas-soc@vger.kernel.org

On 11/4/25 1:36 PM, Matt Coster wrote:

Hello Matt,

>>>> @@ -105,6 +109,7 @@ allOf:
>>>>            compatible:
>>>>              contains:
>>>>                enum:
>>>> +              - img,img-ge7800
>>>>                  - img,img-gx6250
>>>
>>> Can you put these in the same order they're declared above? The way I
>>> read it, the order is img,xxx in generational order followed by
>>> soc-specific entries in alphabetical order (which is why we have
>>> img,img-gx6250 before img,img-bxs-4-64 below).
>>
>> In this enum, the entries are (should be) sorted alphabetically .
>>
>> Do you want to sort them generationally instead ?
> 
> If we have it wrong and the correct way is that these should always be
> alphabetical, can you please fix up the existing enum below (with gx6250
> before bxs-4-64) to match the constraint too?
Fixed in V2, thanks !

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-11-04 13:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-03 20:07 [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N Marek Vasut
2025-11-03 20:07 ` [PATCH 2/2] arm64: dts: renesas: r8a77965: Add GE7800 GPU node Marek Vasut
2025-11-04  9:03   ` Geert Uytterhoeven
2025-11-03 21:25 ` [PATCH 1/2] dt-bindings: gpu: img,powervr-rogue: Document GE7800 GPU in Renesas R-Car M3-N Rob Herring (Arm)
2025-11-03 23:01   ` Marek Vasut
2025-11-04  7:37 ` Krzysztof Kozlowski
2025-11-04  9:01 ` Geert Uytterhoeven
2025-11-04 11:52 ` Matt Coster
2025-11-04 12:00   ` Marek Vasut
2025-11-04 12:36     ` Matt Coster
2025-11-04 13:59       ` Marek Vasut

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).