Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5923874yba; Thu, 11 Apr 2019 08:28:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfGazZcBGp3VUFzJPzHMlOqrANlG1g7xpe4K/FpuRrhGFaGw4Tn2Tds88QqNSNlOfOVngt X-Received: by 2002:a62:1193:: with SMTP id 19mr49489504pfr.82.1554996534708; Thu, 11 Apr 2019 08:28:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554996534; cv=none; d=google.com; s=arc-20160816; b=ZIkoFsYWEY24v/qDxZGoWLAMMJqid/GLaCA51W+6KPAjwOwhh6bdgY9tEWGr5aHNiC QYl6VpSEL9acD2ur4oL7+TFunHg8yfjCWzxj5n/lzoZIJ8Nz6xh18vNFVRwsY+c22MBo qaDhG7jY7MOiy7VWazsTg3xOZ3UExAG5D2rHfK961aBExxizeh69rJj/6lVKqVB0URfz TYlfcmdUO+FZu+eIzt/XbguHePwyuczIpmj9OEyZOLECezSNnhIhVs07HUqqWk62YrNu w0qlTtmESdUkWXbkW0ugrXGxFejhn5/7n/+n/esUam9eDUTzFdHwIGi8W1RawJRGKfg4 Y0Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=MuYQDxLDMXBhNqgMOSiHXYi98vs7eEYqoyg7rSngxTM=; b=faBUMY1ltjh3DkIojVsRgLsVsioPKodaMcyJn2hBi4FGH66ENQwsSfWpIwaUvd75Yq f1LGblNMjXilA3nAjJOH3BVlQGdOiGtQ8fIIuaubwVuxtJy0wAvRvKkGHjGj/OkPOwS1 cV1faM5RGVV+HuyNsE4GoasT5llmWd4r6CvboOXCQfzNKsu9FYugG2E8TkW439bpZjte 7YbQr2iCMoJg0T93+VFi7FPer4LQmdCv8j+m/uuGhOevimY0UBgZnho8xvToMuMN7/oH zRbeaUoTqJjppezcKtKWF5YC5ae9uRAEJZmrX9jRZaA47ZRaj2xFUmo7SoAnufWe+TPe xBsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w19si27806834ply.103.2019.04.11.08.28.38; Thu, 11 Apr 2019 08:28:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726777AbfDKP16 (ORCPT + 99 others); Thu, 11 Apr 2019 11:27:58 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:42401 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726137AbfDKP16 (ORCPT ); Thu, 11 Apr 2019 11:27:58 -0400 Received: from localhost (aaubervilliers-681-1-63-121.w90-88.abo.wanadoo.fr [90.88.18.121]) (Authenticated sender: maxime.ripard@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 5609C100009; Thu, 11 Apr 2019 15:27:53 +0000 (UTC) Date: Thu, 11 Apr 2019 17:27:52 +0200 From: Maxime Ripard To: Jernej =?utf-8?Q?=C5=A0krabec?= Cc: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= , Rob Herring , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki , devicetree , linux-kernel , linux-arm-kernel , dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v2 4/8] arm64: dts: allwinner: Add ARM Mali GPU node for H6 Message-ID: <20190411152752.qlabx7heh74dy2ao@flea> References: <20190411105720.32357-1-peron.clem@gmail.com> <2957024.jOddxINRMN@jernej-laptop> <2797515.ZAugZ1JPiN@jernej-laptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fif5jmfw3lbbiwm7" Content-Disposition: inline In-Reply-To: <2797515.ZAugZ1JPiN@jernej-laptop> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --fif5jmfw3lbbiwm7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 11, 2019 at 05:23:25PM +0200, Jernej =C5=A0krabec wrote: > Dne =C4=8Detrtek, 11. april 2019 ob 17:20:04 CEST je Cl=C3=A9ment P=C3=A9= ron napisal(a): > > Hi, > > > > On Thu, 11 Apr 2019 at 17:05, Jernej =C5=A0krabec > wrote: > > > Dne =C4=8Detrtek, 11. april 2019 ob 12:57:16 CEST je Cl=C3=A9ment P= =C3=A9ron napisal(a): > > > > Add the mali gpu node to the H6 device-tree. > > > > > > > > Signed-off-by: Cl=C3=A9ment P=C3=A9ron > > > > --- > > > > > > > > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 14 ++++++++++++++ > > > > 1 file changed, 14 insertions(+) > > > > > > > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > > > > b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index > > > > e0dc4a05c1ba..196753110434 100644 > > > > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > > > > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > > > > @@ -157,6 +157,20 @@ > > > > > > > > allwinner,sram =3D <&ve_sram 1>; > > > > > > > > }; > > > > > > > > + gpu: gpu@1800000 { > > > > + compatible =3D "allwinner,sun50i-h6-mali", > > > > + "arm,mali-t720"; > > > > + reg =3D <0x01800000 0x4000>; > > > > + interrupts =3D > > > > > IRQ_TYPE_LEVEL_HIGH>, > > > > > > > + > > > > > IRQ_TYPE_LEVEL_HIGH>, > > > > > > > + > > > > > IRQ_TYPE_LEVEL_HIGH>; > > > > > > > + interrupt-names =3D "job", "mmu", "gpu"; > > > > + clocks =3D <&ccu CLK_GPU>, <&ccu CLK_BUS_GPU>; > > > > + clock-names =3D "core", "bus"; > > > > + resets =3D <&ccu RST_BUS_GPU>; > > > > + status =3D "disabled"; > > > > > > Usually self sufficient peripherals are enabled by default in DTSI. > > > > I follow the other Mali Midgard (rk3399, rk3288) syntax. > > But I think you're right here, will go for an update I think. > > I quickly checked A64 and H5 DTSI and both have GPU enabled by default (s= tatus > property is not set). I asked myself the same question, but the H6 seems to have a supply wired to the GPU, while the H3 and H5 do not. So I'm not sure we want to enable it on all the boards, even though some might have left out the GPU supply which will result in a non-working GPU (I assume?) Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --fif5jmfw3lbbiwm7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXK9c+AAKCRDj7w1vZxhR xbnqAP9Fea7hvFgQtbH751uRaJa3DMnClBVLo69G8zipCrWZ1QD/evi37AfeavWu FrgvyLIPaSeqbmzh/A9/COc65LFHUQA= =OM01 -----END PGP SIGNATURE----- --fif5jmfw3lbbiwm7--