* [PATCH v2] ARM: dts: sun5i: add A10s/A13 mali gpu support fallback
@ 2021-01-08 10:38 Sergio Sota
2021-01-13 8:20 ` Maxime Ripard
0 siblings, 1 reply; 2+ messages in thread
From: Sergio Sota @ 2021-01-08 10:38 UTC (permalink / raw)
To: robh+dt
Cc: mripard, wens, jernej.skrabec, devicetree, linux-arm-kernel,
linux-kernel, Sergio Sota
The A10s/A13 mali gpu was not defined in device tree
Add A10 mali gpu as a fallback for A10s/A13
Tested with Olimex-A13-SOM / Olimex-A13-OlinuXino-MICRO
"kmscube" 3d cube on screen (60fps / 10%cpu)
Versions: Lima:1.1.0 EGL:1.4 OpenGLES:2.0 Mesa:20.2.2
Signed-off-by: Sergio Sota <sergiosota@fanamoel.com>
---
Changes in v2:
- Add testing versions to changelog
arch/arm/boot/dts/sun5i.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi
index 4ef14a8695ef..b4d46ecdf7ad 100644
--- a/arch/arm/boot/dts/sun5i.dtsi
+++ b/arch/arm/boot/dts/sun5i.dtsi
@@ -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>;
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] ARM: dts: sun5i: add A10s/A13 mali gpu support fallback
2021-01-08 10:38 [PATCH v2] ARM: dts: sun5i: add A10s/A13 mali gpu support fallback Sergio Sota
@ 2021-01-13 8:20 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2021-01-13 8:20 UTC (permalink / raw)
To: Sergio Sota
Cc: robh+dt, wens, jernej.skrabec, devicetree, linux-arm-kernel,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 416 bytes --]
On Fri, Jan 08, 2021 at 11:38:19AM +0100, Sergio Sota wrote:
> The A10s/A13 mali gpu was not defined in device tree
> Add A10 mali gpu as a fallback for A10s/A13
> Tested with Olimex-A13-SOM / Olimex-A13-OlinuXino-MICRO
> "kmscube" 3d cube on screen (60fps / 10%cpu)
> Versions: Lima:1.1.0 EGL:1.4 OpenGLES:2.0 Mesa:20.2.2
>
> Signed-off-by: Sergio Sota <sergiosota@fanamoel.com>
Applied, thanks
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-13 8:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08 10:38 [PATCH v2] ARM: dts: sun5i: add A10s/A13 mali gpu support fallback Sergio Sota
2021-01-13 8:20 ` Maxime Ripard
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).