Skip to contentSkip to conversation

ARM: dts sunxi: add A10s/A13 mali gpu support

PATCH In review Sergio Sota 2 participants 2 messages Dec 23, 2020 – Jan 6, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts sunxi: add A10s/A13 mali gpu support

From c45753026b4868e32132348f8f2bf59e6ce5c820 Mon Sep 17 00:00:00 2001
From: Sergio Sota <[email protected]>
Date: Wed, 23 Dec 2020 21:00:35 +0100
Subject: [PATCH] ARM: dts sunxi: add A10s/A13 mali gpu support

The A10s/A13 mali gpu was not defined in device tree The A10 has a compatible mali gpu driver (same device)

---
 arch/arm/boot/dts/sun5i.dtsi | 12 ++++++++++++

 1 file changed, 12 insertions(+)
arch/arm/boot/dts/sun5i.dtsi +0 -0
index 4ef14a8695ef..b4d46ecdf7ad 100644
@@ -726,6 +726,18 @@ i2c2: i2c@1c2b400 {

             #size-cells = <0>;
         };

+        mali: gpu@1c40000 {
+            compatible = "allwinner,sun4i-a10-mali", "arm,mali-400"; +            reg = <0x01c40000 0x10000>;
+            interrupts = <69>, <70>, <71>, <72>,  <73>;
+            interrupt-names = "gp", "gpmmu", "pp0", "ppmmu0", "pmu"; +            clocks = <&ccu CLK_AHB_GPU>, <&ccu CLK_GPU>; +            clock-names = "bus", "core";
+            resets = <&ccu RST_GPU>;
+            assigned-clocks = <&ccu CLK_GPU>;
+            assigned-clock-rates = <320000000>;
+        };
+
         timer@1c60000 {
             compatible = "allwinner,sun5i-a13-hstimer"; reg = <0x01c60000 0x1000>;

Signature · 1 line
2.25.1
#1 lore raw

Hi,

Quoted 9 lines · Sergio Sota

From c45753026b4868e32132348f8f2bf59e6ce5c820 Mon Sep 17 00:00:00 2001
From: Sergio Sota <[email protected]>
Date: Wed, 23 Dec 2020 21:00:35 +0100
Subject: [PATCH] ARM: dts sunxi: add A10s/A13 mali gpu support

The A10s/A13 mali gpu was not defined in device tree The A10 has a compatible mali gpu driver (same device)

The same formatting issues that were in your previous patch are in this one as well.

Mentioning how you tested it would be great too

Maxime