* [PATCH] sun4i: dts: add gpu node to sun4i-a10 platform
@ 2018-07-23 16:09 stevenvandenbrandenstift at gmail.com
2018-07-24 12:53 ` Maxime Ripard
0 siblings, 1 reply; 2+ messages in thread
From: stevenvandenbrandenstift at gmail.com @ 2018-07-23 16:09 UTC (permalink / raw)
To: linux-arm-kernel
From: Steven Vanden Branden <stevenvandenbrandenstift@gmail.com>
Add mali gpu node to sun4i a10 platforms.
Tested with offscreen rendering with lima mesa (freedesktop gitlab)
Signed-off-by: Steven Vanden Branden <stevenvandenbrandenstift@gmail.com>
---
arch/arm/boot/dts/sun4i-a10.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 3a1c6b45c9a1..be22f18b1462 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -1001,6 +1001,27 @@
status = "disabled";
};
+ mali: gpu at 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>;
+ };
+
fe0: display-frontend at 1e00000 {
compatible = "allwinner,sun4i-a10-display-frontend";
reg = <0x01e00000 0x20000>;
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] sun4i: dts: add gpu node to sun4i-a10 platform
2018-07-23 16:09 [PATCH] sun4i: dts: add gpu node to sun4i-a10 platform stevenvandenbrandenstift at gmail.com
@ 2018-07-24 12:53 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2018-07-24 12:53 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Jul 23, 2018 at 06:09:54PM +0200, stevenvandenbrandenstift at gmail.com wrote:
> From: Steven Vanden Branden <stevenvandenbrandenstift@gmail.com>
>
> Add mali gpu node to sun4i a10 platforms.
> Tested with offscreen rendering with lima mesa (freedesktop gitlab)
>
> Signed-off-by: Steven Vanden Branden <stevenvandenbrandenstift@gmail.com>
Applied (while slighly changing your commit title, the prefix should
be "ARM: dts: sun4i: ..")
Thanks!
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180724/086c5ee2/attachment-0001.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-24 12:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-23 16:09 [PATCH] sun4i: dts: add gpu node to sun4i-a10 platform stevenvandenbrandenstift at gmail.com
2018-07-24 12:53 ` 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).