* [PATCH v2] arm: dts: sun5i: Add GPU node
@ 2021-02-11 15:25 ` Yassine Oudjana
0 siblings, 0 replies; 4+ messages in thread
From: Yassine Oudjana @ 2021-02-11 15:25 UTC (permalink / raw)
To: linux-arm-kernel
Cc: robh+dt, mripard, wens, jernej.skrabec, devicetree, linux-kernel
sun5i has the same Mali 400 GPU as sun4i with the same interrupts, clocks
and resets. Add node for it in dts.
Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
---
arch/arm/boot/dts/sun5i.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi
index c2b4fbf552a3..e21b4fe64cbe 100644
--- a/arch/arm/boot/dts/sun5i.dtsi
+++ b/arch/arm/boot/dts/sun5i.dtsi
@@ -726,6 +726,27 @@ 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 = <384000000>;
+ };
+
timer@1c60000 {
compatible = "allwinner,sun5i-a13-hstimer";
reg = <0x01c60000 0x1000>;
--
2.30.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2] arm: dts: sun5i: Add GPU node
@ 2021-02-11 15:25 ` Yassine Oudjana
0 siblings, 0 replies; 4+ messages in thread
From: Yassine Oudjana @ 2021-02-11 15:25 UTC (permalink / raw)
To: linux-arm-kernel
Cc: devicetree, jernej.skrabec, linux-kernel, mripard, wens, robh+dt
sun5i has the same Mali 400 GPU as sun4i with the same interrupts, clocks
and resets. Add node for it in dts.
Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
---
arch/arm/boot/dts/sun5i.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi
index c2b4fbf552a3..e21b4fe64cbe 100644
--- a/arch/arm/boot/dts/sun5i.dtsi
+++ b/arch/arm/boot/dts/sun5i.dtsi
@@ -726,6 +726,27 @@ 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 = <384000000>;
+ };
+
timer@1c60000 {
compatible = "allwinner,sun5i-a13-hstimer";
reg = <0x01c60000 0x1000>;
--
2.30.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] arm: dts: sun5i: Add GPU node
2021-02-11 15:25 ` Yassine Oudjana
@ 2021-02-11 16:45 ` Maxime Ripard
-1 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2021-02-11 16:45 UTC (permalink / raw)
To: Yassine Oudjana
Cc: linux-arm-kernel, robh+dt, wens, jernej.skrabec, devicetree,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 324 bytes --]
Hi,
On Thu, Feb 11, 2021 at 03:25:23PM +0000, Yassine Oudjana wrote:
> sun5i has the same Mali 400 GPU as sun4i with the same interrupts, clocks
> and resets. Add node for it in dts.
>
> Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Unfortunately we already merged a similar patch for 5.12
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] arm: dts: sun5i: Add GPU node
@ 2021-02-11 16:45 ` Maxime Ripard
0 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2021-02-11 16:45 UTC (permalink / raw)
To: Yassine Oudjana
Cc: devicetree, jernej.skrabec, linux-kernel, wens, robh+dt,
linux-arm-kernel
[-- Attachment #1.1: Type: text/plain, Size: 324 bytes --]
Hi,
On Thu, Feb 11, 2021 at 03:25:23PM +0000, Yassine Oudjana wrote:
> sun5i has the same Mali 400 GPU as sun4i with the same interrupts, clocks
> and resets. Add node for it in dts.
>
> Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Unfortunately we already merged a similar patch for 5.12
Maxime
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-02-11 17:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-11 15:25 [PATCH v2] arm: dts: sun5i: Add GPU node Yassine Oudjana
2021-02-11 15:25 ` Yassine Oudjana
2021-02-11 16:45 ` Maxime Ripard
2021-02-11 16:45 ` Maxime Ripard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.