devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ARM: dts: st: add and enable MALI400 on stih410/stih410-b2260
@ 2024-10-06 20:42 Alain Volmat
  2024-10-06 20:42 ` [PATCH v2 1/3] dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible Alain Volmat
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Alain Volmat @ 2024-10-06 20:42 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Heiko Stuebner, Patrice Chotard
  Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel,
	Alain Volmat

This series adds necessary node within the stih410.dtsi for
the MALI400 GPU and enable the GPU on the stih410-b2260
board.
For that purpose and since the MALI400 GPU is available on
the STi platform (stih410 / stih418), a new st,sti-mali
compatible is also added within the mali bindings.

Signed-off-by: Alain Volmat <avolmat@me.com>
---
Changes in v2:
- rename compatible from st,sti-mali to st,stih410-mali
- Link to v1: https://lore.kernel.org/r/20241005-sti-gpu-v1-0-9bc11100b54b@me.com

---
Alain Volmat (3):
      dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible
      ARM: dts: st: add node for the MALI gpu on stih410.dtsi
      ARM: dts: st: enable the MALI gpu on the stih410-b2260

 .../devicetree/bindings/gpu/arm,mali-utgard.yaml   |  1 +
 arch/arm/boot/dts/st/stih410-b2260.dts             |  4 +++
 arch/arm/boot/dts/st/stih410.dtsi                  | 34 ++++++++++++++++++++++
 3 files changed, 39 insertions(+)
---
base-commit: 98f7e32f20d28ec452afb208f9cffc08448a2652
change-id: 20241005-sti-gpu-851d0a720e6c

Best regards,
-- 
Alain Volmat <avolmat@me.com>


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

* [PATCH v2 1/3] dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible
  2024-10-06 20:42 [PATCH v2 0/3] ARM: dts: st: add and enable MALI400 on stih410/stih410-b2260 Alain Volmat
@ 2024-10-06 20:42 ` Alain Volmat
  2024-10-07  6:15   ` Krzysztof Kozlowski
  2025-01-06 10:47   ` Patrice CHOTARD
  2024-10-06 20:42 ` [PATCH v2 2/3] ARM: dts: st: add node for the MALI gpu on stih410.dtsi Alain Volmat
  2024-10-06 20:42 ` [PATCH v2 3/3] ARM: dts: st: enable the MALI gpu on the stih410-b2260 Alain Volmat
  2 siblings, 2 replies; 11+ messages in thread
From: Alain Volmat @ 2024-10-06 20:42 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Heiko Stuebner, Patrice Chotard
  Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel,
	Alain Volmat

ST STiH410 SoC has a Mali400. Add a compatible for it.

Signed-off-by: Alain Volmat <avolmat@me.com>
---
 Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
index abd4aa335fbcebafc9164bd4963f9db60f0450c4..9318817ea1357d4d66db951513d9bc033b222190 100644
--- a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
+++ b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
@@ -33,6 +33,7 @@ properties:
               - rockchip,rk3188-mali
               - rockchip,rk3228-mali
               - samsung,exynos4210-mali
+              - st,stih410-mali
               - stericsson,db8500-mali
               - xlnx,zynqmp-mali
           - const: arm,mali-400

-- 
2.43.0


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

* [PATCH v2 2/3] ARM: dts: st: add node for the MALI gpu on stih410.dtsi
  2024-10-06 20:42 [PATCH v2 0/3] ARM: dts: st: add and enable MALI400 on stih410/stih410-b2260 Alain Volmat
  2024-10-06 20:42 ` [PATCH v2 1/3] dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible Alain Volmat
@ 2024-10-06 20:42 ` Alain Volmat
  2025-01-06 10:39   ` Patrice CHOTARD
  2024-10-06 20:42 ` [PATCH v2 3/3] ARM: dts: st: enable the MALI gpu on the stih410-b2260 Alain Volmat
  2 siblings, 1 reply; 11+ messages in thread
From: Alain Volmat @ 2024-10-06 20:42 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Heiko Stuebner, Patrice Chotard
  Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel,
	Alain Volmat

Add the entry for the GPU (Mali400) on the stih410.dtsi

Signed-off-by: Alain Volmat <avolmat@me.com>
---
 arch/arm/boot/dts/st/stih410.dtsi | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/arch/arm/boot/dts/st/stih410.dtsi b/arch/arm/boot/dts/st/stih410.dtsi
index a69231854f783b1b9fd685ba2822eb406e0ffdf5..d56343f44fda4e9e1de2e5efc86e2d984bad14b4 100644
--- a/arch/arm/boot/dts/st/stih410.dtsi
+++ b/arch/arm/boot/dts/st/stih410.dtsi
@@ -285,5 +285,39 @@ cec@94a087c {
 			resets = <&softreset STIH407_LPM_SOFTRESET>;
 			hdmi-phandle = <&sti_hdmi>;
 		};
+
+		gpu: gpu@9f00000 {
+			compatible = "st,stih410-mali", "arm,mali-400";
+			reg = <0x9f00000 0x10000>;
+			/* LIMA driver needs 2 clocks, use the same for both */
+			clocks = <&clk_s_c0_flexgen CLK_ICN_GPU>,
+				 <&clk_s_c0_flexgen CLK_ICN_GPU>;
+			clock-names = "bus", "core";
+			assigned-clocks = <&clk_s_c0_flexgen CLK_ICN_GPU>;
+			assigned-clock-rates = <400000000>;
+			resets = <&softreset STIH407_GPU_SOFTRESET>;
+			interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "gp",
+					  "gpmmu",
+					  "pp0",
+					  "ppmmu0",
+					  "pp1",
+					  "ppmmu1",
+					  "pp2",
+					  "ppmmu2",
+					  "pp3",
+					  "ppmmu3";
+
+			status = "disabled";
+		};
 	};
 };

-- 
2.43.0


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

* [PATCH v2 3/3] ARM: dts: st: enable the MALI gpu on the stih410-b2260
  2024-10-06 20:42 [PATCH v2 0/3] ARM: dts: st: add and enable MALI400 on stih410/stih410-b2260 Alain Volmat
  2024-10-06 20:42 ` [PATCH v2 1/3] dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible Alain Volmat
  2024-10-06 20:42 ` [PATCH v2 2/3] ARM: dts: st: add node for the MALI gpu on stih410.dtsi Alain Volmat
@ 2024-10-06 20:42 ` Alain Volmat
  2025-01-06 10:39   ` Patrice CHOTARD
  2 siblings, 1 reply; 11+ messages in thread
From: Alain Volmat @ 2024-10-06 20:42 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Heiko Stuebner, Patrice Chotard
  Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel,
	Alain Volmat

Enable the GPU on the stih410-b2260 board.

Signed-off-by: Alain Volmat <avolmat@me.com>
---
 arch/arm/boot/dts/st/stih410-b2260.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/st/stih410-b2260.dts b/arch/arm/boot/dts/st/stih410-b2260.dts
index 240b62040000b8c0357d39504d3475186958bf31..736b1e059b0a8f122d1b824e1f4e5db0a668ec2c 100644
--- a/arch/arm/boot/dts/st/stih410-b2260.dts
+++ b/arch/arm/boot/dts/st/stih410-b2260.dts
@@ -206,5 +206,9 @@ hdmiddc: i2c@9541000 {
 		sata1: sata@9b28000 {
 			status = "okay";
 		};
+
+		gpu: gpu@9f00000 {
+			status = "okay";
+		};
 	};
 };

-- 
2.43.0


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

* Re: [PATCH v2 1/3] dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible
  2024-10-06 20:42 ` [PATCH v2 1/3] dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible Alain Volmat
@ 2024-10-07  6:15   ` Krzysztof Kozlowski
  2025-01-06 10:47   ` Patrice CHOTARD
  1 sibling, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-07  6:15 UTC (permalink / raw)
  To: Alain Volmat
  Cc: David Airlie, Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Heiko Stuebner, Patrice Chotard, dri-devel, devicetree,
	linux-kernel, linux-arm-kernel

On Sun, Oct 06, 2024 at 08:42:49PM +0000, Alain Volmat wrote:
> ST STiH410 SoC has a Mali400. Add a compatible for it.
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---
>  Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml | 1 +
>  1 file changed, 1 insertion(+)

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

Best regards,
Krzysztof


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

* Re: [PATCH v2 2/3] ARM: dts: st: add node for the MALI gpu on stih410.dtsi
  2024-10-06 20:42 ` [PATCH v2 2/3] ARM: dts: st: add node for the MALI gpu on stih410.dtsi Alain Volmat
@ 2025-01-06 10:39   ` Patrice CHOTARD
  2025-01-06 11:01     ` Patrice CHOTARD
  0 siblings, 1 reply; 11+ messages in thread
From: Patrice CHOTARD @ 2025-01-06 10:39 UTC (permalink / raw)
  To: Alain Volmat, David Airlie, Daniel Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
  Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel



On 10/6/24 22:42, Alain Volmat wrote:
> Add the entry for the GPU (Mali400) on the stih410.dtsi
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---
>  arch/arm/boot/dts/st/stih410.dtsi | 34 ++++++++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/st/stih410.dtsi b/arch/arm/boot/dts/st/stih410.dtsi
> index a69231854f783b1b9fd685ba2822eb406e0ffdf5..d56343f44fda4e9e1de2e5efc86e2d984bad14b4 100644
> --- a/arch/arm/boot/dts/st/stih410.dtsi
> +++ b/arch/arm/boot/dts/st/stih410.dtsi
> @@ -285,5 +285,39 @@ cec@94a087c {
>  			resets = <&softreset STIH407_LPM_SOFTRESET>;
>  			hdmi-phandle = <&sti_hdmi>;
>  		};
> +
> +		gpu: gpu@9f00000 {
> +			compatible = "st,stih410-mali", "arm,mali-400";
> +			reg = <0x9f00000 0x10000>;
> +			/* LIMA driver needs 2 clocks, use the same for both */
> +			clocks = <&clk_s_c0_flexgen CLK_ICN_GPU>,
> +				 <&clk_s_c0_flexgen CLK_ICN_GPU>;
> +			clock-names = "bus", "core";
> +			assigned-clocks = <&clk_s_c0_flexgen CLK_ICN_GPU>;
> +			assigned-clock-rates = <400000000>;
> +			resets = <&softreset STIH407_GPU_SOFTRESET>;
> +			interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
> +			interrupt-names = "gp",
> +					  "gpmmu",
> +					  "pp0",
> +					  "ppmmu0",
> +					  "pp1",
> +					  "ppmmu1",
> +					  "pp2",
> +					  "ppmmu2",
> +					  "pp3",
> +					  "ppmmu3";
> +
> +			status = "disabled";
> +		};
>  	};
>  };
> 
Hi Alain

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks
PAtrice

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

* Re: [PATCH v2 3/3] ARM: dts: st: enable the MALI gpu on the stih410-b2260
  2024-10-06 20:42 ` [PATCH v2 3/3] ARM: dts: st: enable the MALI gpu on the stih410-b2260 Alain Volmat
@ 2025-01-06 10:39   ` Patrice CHOTARD
  2025-01-06 11:01     ` Patrice CHOTARD
  0 siblings, 1 reply; 11+ messages in thread
From: Patrice CHOTARD @ 2025-01-06 10:39 UTC (permalink / raw)
  To: Alain Volmat, David Airlie, Daniel Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
  Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel



On 10/6/24 22:42, Alain Volmat wrote:
> Enable the GPU on the stih410-b2260 board.
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---
>  arch/arm/boot/dts/st/stih410-b2260.dts | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/st/stih410-b2260.dts b/arch/arm/boot/dts/st/stih410-b2260.dts
> index 240b62040000b8c0357d39504d3475186958bf31..736b1e059b0a8f122d1b824e1f4e5db0a668ec2c 100644
> --- a/arch/arm/boot/dts/st/stih410-b2260.dts
> +++ b/arch/arm/boot/dts/st/stih410-b2260.dts
> @@ -206,5 +206,9 @@ hdmiddc: i2c@9541000 {
>  		sata1: sata@9b28000 {
>  			status = "okay";
>  		};
> +
> +		gpu: gpu@9f00000 {
> +			status = "okay";
> +		};
>  	};
>  };
> 

Hi Alain

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks

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

* Re: [PATCH v2 1/3] dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible
  2024-10-06 20:42 ` [PATCH v2 1/3] dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible Alain Volmat
  2024-10-07  6:15   ` Krzysztof Kozlowski
@ 2025-01-06 10:47   ` Patrice CHOTARD
  2025-01-06 11:01     ` Patrice CHOTARD
  1 sibling, 1 reply; 11+ messages in thread
From: Patrice CHOTARD @ 2025-01-06 10:47 UTC (permalink / raw)
  To: Alain Volmat, David Airlie, Daniel Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
  Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel



On 10/6/24 22:42, Alain Volmat wrote:
> ST STiH410 SoC has a Mali400. Add a compatible for it.
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---
>  Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
> index abd4aa335fbcebafc9164bd4963f9db60f0450c4..9318817ea1357d4d66db951513d9bc033b222190 100644
> --- a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
> +++ b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
> @@ -33,6 +33,7 @@ properties:
>                - rockchip,rk3188-mali
>                - rockchip,rk3228-mali
>                - samsung,exynos4210-mali
> +              - st,stih410-mali
>                - stericsson,db8500-mali
>                - xlnx,zynqmp-mali
>            - const: arm,mali-400
> 

Hi Alain

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks

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

* Re: [PATCH v2 1/3] dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible
  2025-01-06 10:47   ` Patrice CHOTARD
@ 2025-01-06 11:01     ` Patrice CHOTARD
  0 siblings, 0 replies; 11+ messages in thread
From: Patrice CHOTARD @ 2025-01-06 11:01 UTC (permalink / raw)
  To: Alain Volmat, David Airlie, Daniel Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
  Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel



On 1/6/25 11:47, Patrice CHOTARD wrote:
> 
> 
> On 10/6/24 22:42, Alain Volmat wrote:
>> ST STiH410 SoC has a Mali400. Add a compatible for it.
>>
>> Signed-off-by: Alain Volmat <avolmat@me.com>
>> ---
>>  Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
>> index abd4aa335fbcebafc9164bd4963f9db60f0450c4..9318817ea1357d4d66db951513d9bc033b222190 100644
>> --- a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
>> +++ b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml
>> @@ -33,6 +33,7 @@ properties:
>>                - rockchip,rk3188-mali
>>                - rockchip,rk3228-mali
>>                - samsung,exynos4210-mali
>> +              - st,stih410-mali
>>                - stericsson,db8500-mali
>>                - xlnx,zynqmp-mali
>>            - const: arm,mali-400
>>
> 
> Hi Alain
> 
> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
> 
> Thanks


Applied on sti-next

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

* Re: [PATCH v2 2/3] ARM: dts: st: add node for the MALI gpu on stih410.dtsi
  2025-01-06 10:39   ` Patrice CHOTARD
@ 2025-01-06 11:01     ` Patrice CHOTARD
  0 siblings, 0 replies; 11+ messages in thread
From: Patrice CHOTARD @ 2025-01-06 11:01 UTC (permalink / raw)
  To: Alain Volmat, David Airlie, Daniel Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
  Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel



On 1/6/25 11:39, Patrice CHOTARD wrote:
> 
> 
> On 10/6/24 22:42, Alain Volmat wrote:
>> Add the entry for the GPU (Mali400) on the stih410.dtsi
>>
>> Signed-off-by: Alain Volmat <avolmat@me.com>
>> ---
>>  arch/arm/boot/dts/st/stih410.dtsi | 34 ++++++++++++++++++++++++++++++++++
>>  1 file changed, 34 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/st/stih410.dtsi b/arch/arm/boot/dts/st/stih410.dtsi
>> index a69231854f783b1b9fd685ba2822eb406e0ffdf5..d56343f44fda4e9e1de2e5efc86e2d984bad14b4 100644
>> --- a/arch/arm/boot/dts/st/stih410.dtsi
>> +++ b/arch/arm/boot/dts/st/stih410.dtsi
>> @@ -285,5 +285,39 @@ cec@94a087c {
>>  			resets = <&softreset STIH407_LPM_SOFTRESET>;
>>  			hdmi-phandle = <&sti_hdmi>;
>>  		};
>> +
>> +		gpu: gpu@9f00000 {
>> +			compatible = "st,stih410-mali", "arm,mali-400";
>> +			reg = <0x9f00000 0x10000>;
>> +			/* LIMA driver needs 2 clocks, use the same for both */
>> +			clocks = <&clk_s_c0_flexgen CLK_ICN_GPU>,
>> +				 <&clk_s_c0_flexgen CLK_ICN_GPU>;
>> +			clock-names = "bus", "core";
>> +			assigned-clocks = <&clk_s_c0_flexgen CLK_ICN_GPU>;
>> +			assigned-clock-rates = <400000000>;
>> +			resets = <&softreset STIH407_GPU_SOFTRESET>;
>> +			interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
>> +				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
>> +				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
>> +				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
>> +				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
>> +				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
>> +				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
>> +				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
>> +				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
>> +				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
>> +			interrupt-names = "gp",
>> +					  "gpmmu",
>> +					  "pp0",
>> +					  "ppmmu0",
>> +					  "pp1",
>> +					  "ppmmu1",
>> +					  "pp2",
>> +					  "ppmmu2",
>> +					  "pp3",
>> +					  "ppmmu3";
>> +
>> +			status = "disabled";
>> +		};
>>  	};
>>  };
>>
> Hi Alain
> 
> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
> 
> Thanks
> PAtrice

Applied on sti-next

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

* Re: [PATCH v2 3/3] ARM: dts: st: enable the MALI gpu on the stih410-b2260
  2025-01-06 10:39   ` Patrice CHOTARD
@ 2025-01-06 11:01     ` Patrice CHOTARD
  0 siblings, 0 replies; 11+ messages in thread
From: Patrice CHOTARD @ 2025-01-06 11:01 UTC (permalink / raw)
  To: Alain Volmat, David Airlie, Daniel Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
  Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel



On 1/6/25 11:39, Patrice CHOTARD wrote:
> 
> 
> On 10/6/24 22:42, Alain Volmat wrote:
>> Enable the GPU on the stih410-b2260 board.
>>
>> Signed-off-by: Alain Volmat <avolmat@me.com>
>> ---
>>  arch/arm/boot/dts/st/stih410-b2260.dts | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/st/stih410-b2260.dts b/arch/arm/boot/dts/st/stih410-b2260.dts
>> index 240b62040000b8c0357d39504d3475186958bf31..736b1e059b0a8f122d1b824e1f4e5db0a668ec2c 100644
>> --- a/arch/arm/boot/dts/st/stih410-b2260.dts
>> +++ b/arch/arm/boot/dts/st/stih410-b2260.dts
>> @@ -206,5 +206,9 @@ hdmiddc: i2c@9541000 {
>>  		sata1: sata@9b28000 {
>>  			status = "okay";
>>  		};
>> +
>> +		gpu: gpu@9f00000 {
>> +			status = "okay";
>> +		};
>>  	};
>>  };
>>
> 
> Hi Alain
> 
> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
> 
> Thanks
Applied on sti-next

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

end of thread, other threads:[~2025-01-06 11:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-06 20:42 [PATCH v2 0/3] ARM: dts: st: add and enable MALI400 on stih410/stih410-b2260 Alain Volmat
2024-10-06 20:42 ` [PATCH v2 1/3] dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible Alain Volmat
2024-10-07  6:15   ` Krzysztof Kozlowski
2025-01-06 10:47   ` Patrice CHOTARD
2025-01-06 11:01     ` Patrice CHOTARD
2024-10-06 20:42 ` [PATCH v2 2/3] ARM: dts: st: add node for the MALI gpu on stih410.dtsi Alain Volmat
2025-01-06 10:39   ` Patrice CHOTARD
2025-01-06 11:01     ` Patrice CHOTARD
2024-10-06 20:42 ` [PATCH v2 3/3] ARM: dts: st: enable the MALI gpu on the stih410-b2260 Alain Volmat
2025-01-06 10:39   ` Patrice CHOTARD
2025-01-06 11:01     ` Patrice CHOTARD

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