* [PATCH 1/5] arm64: dts: ti: k3-j721e: Add GPU node
2026-02-24 18:09 [PATCH 0/5] drm/imagination: add support for j721e,j784s4,j722s,am62p Antonios Christidis
@ 2026-02-24 18:09 ` Antonios Christidis
2026-02-24 18:09 ` [PATCH 2/5] dt-bindings: gpu: img: Add J721e SoC specific compatible Antonios Christidis
` (4 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Antonios Christidis @ 2026-02-24 18:09 UTC (permalink / raw)
To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Frank Binns, Matt Coster,
David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Santosh Shilimkar, Michael Turquette,
Stephen Boyd
Cc: linux-arm-kernel, devicetree, linux-kernel, dri-devel, linux-clk,
Antonios Christidis
Add the series 8XE GPU node for j721e device tree.
Signed-off-by: Antonios Christidis <a-christidis@ti.com>
---
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
index d5fd30a01032..be91e7a2afe5 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
@@ -2624,6 +2624,20 @@ icssg1_mdio: mdio@32400 {
};
};
+ gpu: gpu@4e20000000 {
+ compatible = "ti,j721e-gpu", "img,img-ge8430", "img,img-rogue";
+ reg = <0x4e 0x20000000 0x00 0x80000>;
+ clocks = <&k3_clks 125 0>;
+ clock-names = "core";
+ assigned-clocks = <&k3_clks 125 0>;
+ assigned-clock-rates = <750000000>;
+ interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+ power-domains = <&k3_pds 125 TI_SCI_PD_EXCLUSIVE>,
+ <&k3_pds 126 TI_SCI_PD_EXCLUSIVE>;
+ power-domain-names = "a", "b";
+ dma-coherent;
+ };
+
main_mcan0: can@2701000 {
compatible = "bosch,m_can";
reg = <0x00 0x02701000 0x00 0x200>,
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 2/5] dt-bindings: gpu: img: Add J721e SoC specific compatible
2026-02-24 18:09 [PATCH 0/5] drm/imagination: add support for j721e,j784s4,j722s,am62p Antonios Christidis
2026-02-24 18:09 ` [PATCH 1/5] arm64: dts: ti: k3-j721e: Add GPU node Antonios Christidis
@ 2026-02-24 18:09 ` Antonios Christidis
2026-02-24 23:09 ` Andrew Davis
2026-02-25 11:06 ` Krzysztof Kozlowski
2026-02-24 18:09 ` [PATCH 3/5] arm64: dts: ti: k3-j784s4: Add GPU node Antonios Christidis
` (3 subsequent siblings)
5 siblings, 2 replies; 9+ messages in thread
From: Antonios Christidis @ 2026-02-24 18:09 UTC (permalink / raw)
To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Frank Binns, Matt Coster,
David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Santosh Shilimkar, Michael Turquette,
Stephen Boyd
Cc: linux-arm-kernel, devicetree, linux-kernel, dri-devel, linux-clk,
Antonios Christidis
Add J721e SoC specific compatible.
Signed-off-by: Antonios Christidis <a-christidis@ti.com>
---
Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
index a1f54dbae3f3..56249d1e65aa 100644
--- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
+++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
@@ -44,7 +44,11 @@ properties:
- ti,j721s2-gpu
- const: img,img-bxs-4-64
- const: img,img-rogue
-
+ - items:
+ - enum:
+ - ti,j721e-gpu
+ - const: img,img-ge8430
+ - const: img,img-rogue
# This legacy combination of compatible strings was introduced early on
# before the more specific GPU identifiers were used.
- items:
@@ -103,6 +107,7 @@ allOf:
- ti,am62-gpu
- ti,am62p-gpu
- ti,j721s2-gpu
+ - ti,j721e-gpu
then:
properties:
clocks:
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH 2/5] dt-bindings: gpu: img: Add J721e SoC specific compatible
2026-02-24 18:09 ` [PATCH 2/5] dt-bindings: gpu: img: Add J721e SoC specific compatible Antonios Christidis
@ 2026-02-24 23:09 ` Andrew Davis
2026-02-25 11:06 ` Krzysztof Kozlowski
1 sibling, 0 replies; 9+ messages in thread
From: Andrew Davis @ 2026-02-24 23:09 UTC (permalink / raw)
To: Antonios Christidis, Nishanth Menon, Vignesh Raghavendra,
Tero Kristo, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Frank Binns, Matt Coster, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
Santosh Shilimkar, Michael Turquette, Stephen Boyd
Cc: linux-arm-kernel, devicetree, linux-kernel, dri-devel, linux-clk
On 2/24/26 12:09 PM, Antonios Christidis wrote:
> Add J721e SoC specific compatible.
>
> Signed-off-by: Antonios Christidis <a-christidis@ti.com>
> ---
> Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
> index a1f54dbae3f3..56249d1e65aa 100644
> --- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
> +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
> @@ -44,7 +44,11 @@ properties:
> - ti,j721s2-gpu
> - const: img,img-bxs-4-64
> - const: img,img-rogue
> -
> + - items:
> + - enum:
> + - ti,j721e-gpu
> + - const: img,img-ge8430
> + - const: img,img-rogue
Leave the newline at the end here before the comment.
Also, binding updates need to go before you make use of them. This patch
needs to go first in the series.
Andrew
> # This legacy combination of compatible strings was introduced early on
> # before the more specific GPU identifiers were used.
> - items:
> @@ -103,6 +107,7 @@ allOf:
> - ti,am62-gpu
> - ti,am62p-gpu
> - ti,j721s2-gpu
> + - ti,j721e-gpu
> then:
> properties:
> clocks:
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 2/5] dt-bindings: gpu: img: Add J721e SoC specific compatible
2026-02-24 18:09 ` [PATCH 2/5] dt-bindings: gpu: img: Add J721e SoC specific compatible Antonios Christidis
2026-02-24 23:09 ` Andrew Davis
@ 2026-02-25 11:06 ` Krzysztof Kozlowski
1 sibling, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-02-25 11:06 UTC (permalink / raw)
To: Antonios Christidis
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Frank Binns, Matt Coster,
David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Santosh Shilimkar, Michael Turquette,
Stephen Boyd, linux-arm-kernel, devicetree, linux-kernel,
dri-devel, linux-clk
On Tue, Feb 24, 2026 at 12:09:16PM -0600, Antonios Christidis wrote:
> Add J721e SoC specific compatible.
>
> Signed-off-by: Antonios Christidis <a-christidis@ti.com>
> ---
> Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
> index a1f54dbae3f3..56249d1e65aa 100644
> --- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
> +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
> @@ -44,7 +44,11 @@ properties:
> - ti,j721s2-gpu
> - const: img,img-bxs-4-64
> - const: img,img-rogue
> -
> + - items:
> + - enum:
> + - ti,j721e-gpu
> + - const: img,img-ge8430
> + - const: img,img-rogue
> # This legacy combination of compatible strings was introduced early on
> # before the more specific GPU identifiers were used.
> - items:
> @@ -103,6 +107,7 @@ allOf:
> - ti,am62-gpu
> - ti,am62p-gpu
> - ti,j721s2-gpu
> + - ti,j721e-gpu
What about img,img-ge8430? Why this one does not have constraints?
What about all other constraints?
> then:
> properties:
> clocks:
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 3/5] arm64: dts: ti: k3-j784s4: Add GPU node
2026-02-24 18:09 [PATCH 0/5] drm/imagination: add support for j721e,j784s4,j722s,am62p Antonios Christidis
2026-02-24 18:09 ` [PATCH 1/5] arm64: dts: ti: k3-j721e: Add GPU node Antonios Christidis
2026-02-24 18:09 ` [PATCH 2/5] dt-bindings: gpu: img: Add J721e SoC specific compatible Antonios Christidis
@ 2026-02-24 18:09 ` Antonios Christidis
2026-02-24 18:09 ` [PATCH 4/5] arm64: dts: ti: add " a-christidis
` (2 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Antonios Christidis @ 2026-02-24 18:09 UTC (permalink / raw)
To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Frank Binns, Matt Coster,
David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Santosh Shilimkar, Michael Turquette,
Stephen Boyd
Cc: linux-arm-kernel, devicetree, linux-kernel, dri-devel, linux-clk,
Antonios Christidis
Add the Series BXS GPU node for j784s4 device tree.
Signed-off-by: Antonios Christidis <a-christidis@ti.com>
---
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
index 78fcd0c40abc..ddb9385cd942 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
@@ -137,6 +137,20 @@ serdes2: serdes@5020000 {
};
};
+ gpu: gpu@4e20000000 {
+ compatible = "ti,j721s2-gpu", "img,img-bxs-4-64", "img,img-rogue";
+ reg = <0x4e 0x20000000 0x00 0x80000>;
+ clocks = <&k3_clks 181 1>;
+ clock-names = "core";
+ assigned-clocks = <&k3_clks 181 1>;
+ assigned-clock-rates = <800000000>;
+ interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+ power-domains = <&k3_pds 181 TI_SCI_PD_EXCLUSIVE>,
+ <&k3_pds 182 TI_SCI_PD_EXCLUSIVE>;
+ power-domain-names = "a", "b";
+ dma-coherent;
+ };
+
c71_3: dsp@67800000 {
compatible = "ti,j721s2-c71-dsp";
reg = <0x00 0x67800000 0x00 0x00080000>,
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 4/5] arm64: dts: ti: add GPU node
2026-02-24 18:09 [PATCH 0/5] drm/imagination: add support for j721e,j784s4,j722s,am62p Antonios Christidis
` (2 preceding siblings ...)
2026-02-24 18:09 ` [PATCH 3/5] arm64: dts: ti: k3-j784s4: Add GPU node Antonios Christidis
@ 2026-02-24 18:09 ` a-christidis
2026-02-24 18:09 ` [PATCH 5/5] clk: keystone: don't cache clock rate a-christidis
2026-02-25 1:05 ` [PATCH 0/5] drm/imagination: add support for j721e,j784s4,j722s,am62p Nishanth Menon
5 siblings, 0 replies; 9+ messages in thread
From: a-christidis @ 2026-02-24 18:09 UTC (permalink / raw)
To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Frank Binns, Matt Coster,
David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Santosh Shilimkar, Michael Turquette,
Stephen Boyd
Cc: linux-arm-kernel, devicetree, linux-kernel, dri-devel, linux-clk,
Antonios Christidis, Michael Walle
From: Michael Walle <mwalle@kernel.org>
The J722S features a BXS-4 GPU. Add the node for it.
Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Antonios Christidis <a-christidis@ti.com>
---
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi
index 0e1af2a69ca2..20f7474f986b 100644
--- a/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi
@@ -1110,6 +1110,17 @@ dphy0: phy@30110000 {
status = "disabled";
};
+ gpu: gpu@fd80000 {
+ compatible = "ti,am62p-gpu", "img,img-bxs-4-64", "img,img-rogue";
+ reg = <0x00 0x0fd80000 0x00 0x80000>;
+ clocks = <&k3_clks 237 3>;
+ clock-names = "core";
+ interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
+ power-domains = <&k3_pds 237 TI_SCI_PD_EXCLUSIVE>,
+ <&k3_pds 242 TI_SCI_PD_EXCLUSIVE>;
+ power-domain-names = "a", "b";
+ };
+
vpu: video-codec@30210000 {
compatible = "ti,j721s2-wave521c", "cnm,wave521c";
reg = <0x00 0x30210000 0x00 0x10000>;
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 5/5] clk: keystone: don't cache clock rate
2026-02-24 18:09 [PATCH 0/5] drm/imagination: add support for j721e,j784s4,j722s,am62p Antonios Christidis
` (3 preceding siblings ...)
2026-02-24 18:09 ` [PATCH 4/5] arm64: dts: ti: add " a-christidis
@ 2026-02-24 18:09 ` a-christidis
2026-02-25 1:05 ` [PATCH 0/5] drm/imagination: add support for j721e,j784s4,j722s,am62p Nishanth Menon
5 siblings, 0 replies; 9+ messages in thread
From: a-christidis @ 2026-02-24 18:09 UTC (permalink / raw)
To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Frank Binns, Matt Coster,
David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Santosh Shilimkar, Michael Turquette,
Stephen Boyd
Cc: linux-arm-kernel, devicetree, linux-kernel, dri-devel, linux-clk,
Antonios Christidis, Michael Walle, Kevin Hilman, Randolph Sapp
From: Michael Walle <mwalle@kernel.org>
The TISCI firmware will return 0 if the clock or consumer is not
enabled although there is a stored value in the firmware. IOW a call to
set rate will work but at get rate will always return 0 if the clock is
disabled.
The clk framework will try to cache the clock rate when it's requested
by a consumer. If the clock or consumer is not enabled at that point,
the cached value is 0, which is wrong. Thus, disable the cache
altogether.
Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Randolph Sapp <rs@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Antonios Christidis <a-christidis@ti.com>
---
drivers/clk/keystone/sci-clk.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/clk/keystone/sci-clk.c b/drivers/clk/keystone/sci-clk.c
index 9d5071223f4c..0a1565fdbb3b 100644
--- a/drivers/clk/keystone/sci-clk.c
+++ b/drivers/clk/keystone/sci-clk.c
@@ -333,6 +333,14 @@ static int _sci_clk_build(struct sci_clk_provider *provider,
init.ops = &sci_clk_ops;
init.num_parents = sci_clk->num_parents;
+
+ /*
+ * A clock rate query to the SCI firmware will return 0 if either the
+ * clock itself is disabled or the attached device/consumer is disabled.
+ * This makes it inherently unsuitable for the caching of the clk
+ * framework.
+ */
+ init.flags = CLK_GET_RATE_NOCACHE;
sci_clk->hw.init = &init;
ret = devm_clk_hw_register(provider->dev, &sci_clk->hw);
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH 0/5] drm/imagination: add support for j721e,j784s4,j722s,am62p
2026-02-24 18:09 [PATCH 0/5] drm/imagination: add support for j721e,j784s4,j722s,am62p Antonios Christidis
` (4 preceding siblings ...)
2026-02-24 18:09 ` [PATCH 5/5] clk: keystone: don't cache clock rate a-christidis
@ 2026-02-25 1:05 ` Nishanth Menon
5 siblings, 0 replies; 9+ messages in thread
From: Nishanth Menon @ 2026-02-25 1:05 UTC (permalink / raw)
To: Antonios Christidis
Cc: Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Frank Binns, Matt Coster,
David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Santosh Shilimkar, Michael Turquette,
Stephen Boyd, linux-arm-kernel, devicetree, linux-kernel,
dri-devel, linux-clk, Michael Walle, Kevin Hilman, Randolph Sapp
On 12:09-20260224, Antonios Christidis wrote:
> ---
> Antonios Christidis (3):
> arm64: dts: ti: k3-j721e: Add GPU node
> dt-bindings: gpu: img: Add J721e SoC specific compatible
> arm64: dts: ti: k3-j784s4: Add GPU node
>
> Michael Walle (2):
> arm64: dts: ti: add GPU node
Now that you are picking this up, please Fix the $subject.
> clk: keystone: don't cache clock rate
Bunch of interleaved "kind of related" patches in a single series.
please do not do this.
j784s4 can go in on it's own.
j722s/am62p needs to wait for clk-cache patch to go in, but the
clk-cache patch probably needs to be submitted individually to linux-clk
mailing list for Stephen to pick up.
Please provide reference in the patch diffstat as to where the previous
version of the patch is.
Finally: j721e - please get the binding accepted through drm mailing
list, then we can see about the dts.
>
> .../devicetree/bindings/gpu/img,powervr-rogue.yaml | 7 ++++++-
> arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi | 11 +++++++++++
> arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 14 ++++++++++++++
> arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 14 ++++++++++++++
> drivers/clk/keystone/sci-clk.c | 8 ++++++++
> 5 files changed, 53 insertions(+), 1 deletion(-)
> ---
> base-commit: 3ef088b0c5772a6f75634e54aa34f5fc0a2c041c
> change-id: 20260224-gpu_dts-ab32c568d756
>
> Best regards,
> --
> Antonios Christidis <a-christidis@ti.com>
>
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
https://ti.com/opensource
^ permalink raw reply [flat|nested] 9+ messages in thread