Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2210459ybz; Thu, 23 Apr 2020 13:40:11 -0700 (PDT) X-Google-Smtp-Source: APiQypI4G9qVLx6zTT51nPVIXBWfYBjRphVN6lFNQQj/74nFZM3nCZYpu458iYkMpn5pwDEoJ+rN X-Received: by 2002:a17:906:7f13:: with SMTP id d19mr4313410ejr.57.1587674411569; Thu, 23 Apr 2020 13:40:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587674411; cv=none; d=google.com; s=arc-20160816; b=OfzsEma0PAdyd7bJb3eTD/+XRPU5tS29mo8ZGNQNPTq510TtU7GA9WnYe3T3D3JjPI +P8TzwEaO4Zv/l8l7W9tzt5q4yuGWDNd8rtftSBZecYqPrD62rZqwr6HFvw6GY8L9ib0 Fj5YTkh3PKH0X2d/xy5u4/bH6YReheEwWdjkhK33PWnFE+k1koqQyUyS6INXWewWjjd7 FfV9CBBbLXORZpT3FyTI48MLRTE92S2mrw7yMBAQgeSEyL9N+A4nbIIwqDKX/r4N6jlL fXDYLYCzLX49zIF17RIkxitB6d20mYMebBVT45t1itp4h/WiaQmU4CfuoIl9woH3b0Wt RdMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=1rgoWEglUTjk3ArPIIoAl+30lpL4idh7C80OCTHpmUw=; b=VRWnzdd0ueiKpiwTLqUHlV/qHtq0OsplJHvCs1xgtENGUIs768rOTxrHUweTgwYJkP W3aeeui1nTqjyQa8B1BwiWPTSl2MEEgLmXt8pGdwfISOZcNNABGXCeMTU1bIkvKZ1rGW 1ts/Qc+NBlXUF6+wpa4vkGSaP6rA/5Kh57JrvQcqRt0WCAIwh5dqOgJONHeyL1cW3rlP Cv/Gl5jQasPoiZ+MlLfHLVSZu4DDlGN4PPNNyiib3qsKvaE0fLu3sWeZYg4SnXolhMmv IlcYxqqXKhAFi3P3cImMSMUFBiy+3ySUaMeZ7UGIUaMVT74gBnXqRblFfhTQrOm0htbF 0+yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=SAJTsuiP; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=FjH1HHY1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n17si1894929ejd.437.2020.04.23.13.39.45; Thu, 23 Apr 2020 13:40:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=SAJTsuiP; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=FjH1HHY1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726660AbgDWUho (ORCPT + 99 others); Thu, 23 Apr 2020 16:37:44 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:34665 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725884AbgDWUhn (ORCPT ); Thu, 23 Apr 2020 16:37:43 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 69404580311; Thu, 23 Apr 2020 16:37:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 23 Apr 2020 16:37:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=1rgoWEglUTjk3ArPIIoAl+30lpL 4idh7C80OCTHpmUw=; b=SAJTsuiPodXPJOLPlP7oomUce1KO9HgLp4LSXSG2q9V k99XrTsnVoZPCz2XKjQKD/wUosuK8MuRP1DWKzbl17A0aD9dPIcfL5Yv29wTyk/s MxPtd1I8auIbqrXO6sX44R4LiutPyRWiA1ti78y/EUTrpxEy1duwnEXz88RMu+Wa 29LJ8E+3FKB4mPDCcNdNCTFAYCSjWqg98NxjT/PmRIX9XZYcDg8HGlb8Ek85mB+Y afP7G0NWuBm2SWYwZUxi54SkwGeEkgnt8e2iIWKGi/rdjHY2FkoWTUfZma4E6I7p 8zBHjptMWfRwKtt/h5nnvYAnwr/EisDPFqpP7SVY4ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=1rgoWE glUTjk3ArPIIoAl+30lpL4idh7C80OCTHpmUw=; b=FjH1HHY1SYTP/zk1w/wFGD SQJkRMnQfaPNqbJSWS0avw2d6sCE0ifpDAK6vqra+AzCyPNpF/s1rZ1bEwox4Tgp 5pRbjM7eb2MuhvBXHwujlGQ6qpYXKeyP1LJNg4R8oz82cnPqnDpTB2nCKi/DI/YA Ks5K8dR7ic8gJjYBr7a9npZnjiKmlpoGay9ZCGbr3KF+su+cblWqDQPKYrSD3IR/ kCSbFXIEV+Qjgu2OS5YFstcNjXDXy6Fnc7738GUpuHwryUCudVJ5gHwjTV5IveLR qiGMtBCk9VdHZ3Y9yphlb5ppjnApd7jwJ+f9+lE0RQcS4Xdz9gzelpUkfHYLOJ8g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrgeelgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecukfhppeeltd drkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghi lhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 632923065D59; Thu, 23 Apr 2020 16:37:37 -0400 (EDT) Date: Thu, 23 Apr 2020 22:37:35 +0200 From: Maxime Ripard To: Philipp Rossak Cc: "H. Nikolaus Schaller" , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , =?utf-8?Q?Beno=C3=AEt?= Cousson , Tony Lindgren , Paul Cercueil , Ralf Baechle , Paul Burton , James Hogan , Kukjin Kim , Krzysztof Kozlowski , Chen-Yu Tsai , Thomas Bogendoerfer , "open list:DRM PANEL DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , linux-omap , OpenPVRSGX Linux Driver Group , Discussions about the Letux Kernel , kernel@pyra-handheld.com, linux-mips@vger.kernel.org, arm-soc , linux-samsung-soc@vger.kernel.org Subject: Re: [PATCH v6 00/12] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more) Message-ID: <20200423203735.imlafyw6oz6dspev@gilmour.lan> References: <20200415101008.zxzxca2vlfsefpdv@gilmour.lan> <2E3401F1-A106-4396-8FE6-51CAB72926A4@goldelico.com> <20200415130233.rgn7xrtwqicptke2@gilmour.lan> <10969e64-fe1f-d692-4984-4ba916bd2161@gmail.com> <20200420073842.nx4xb3zqvu23arkc@gilmour.lan> <20200421112129.zjmkmzo3aftksgka@gilmour.lan> <5749af21-e707-c998-c83b-50c48867c9e8@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uldmalad7cdsj5zk" Content-Disposition: inline In-Reply-To: <5749af21-e707-c998-c83b-50c48867c9e8@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --uldmalad7cdsj5zk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 21, 2020 at 06:42:17PM +0200, Philipp Rossak wrote: > Hi, >=20 > On 21.04.20 13:21, Maxime Ripard wrote: > > Hi, > >=20 > > On Tue, Apr 21, 2020 at 11:57:33AM +0200, Philipp Rossak wrote: > > > On 20.04.20 09:38, Maxime Ripard wrote: > > > > Hi, > > > >=20 > > > > On Fri, Apr 17, 2020 at 02:09:06PM +0200, Philipp Rossak wrote: > > > > > > > I'm a bit skeptical on that one since it doesn't even list the > > > > > > > interrupts connected to the GPU that the binding mandates. > > > > > >=20 > > > > > > I think he left it out for a future update. > > > > > > But best he comments himself. > > > > >=20 > > > > > I'm currently working on those bindings. They are now 90% done, b= ut they are > > > > > not finished till now. Currently there is some mainline support m= issing to > > > > > add the full binding. The A83T and also the A31/A31s have a GPU P= ower Off > > > > > Gating Register in the R_PRCM module, that is not supported right= now in > > > > > Mainline. The Register need to be written when the GPU is powered= on and > > > > > off. > > > > >=20 > > > > > @Maxime: I totally agree on your point that a demo needs to be pr= ovided > > > > > before the related DTS patches should be provided. That's the rea= son why I > > > > > added the gpu placeholder patches. > > > > > Do you have an idea how a driver for the R_PRCM stuff can look li= ke? I'm not > > > > > that experienced with the clock driver framework. > > > >=20 > > > > It looks like a power-domain to me, so you'd rather plug that into = the genpd > > > > framework. > > >=20 > > > I had a look on genpd and I'm not really sure if that fits. > > >=20 > > > It is basically some bit that verify that the clocks should be enable= d or > > > disabled. > >=20 > > No, it can do much more than that. It's a framework to control the SoCs= power > > domains, so clocks might be a part of it, but most of the time it's goi= ng to be > > about powering up a particular device. > >=20 > So I think I've found now the right piece of documentation and a driver t= hat > implements something similar [1]. >=20 > So I will write a similar driver like linked above that only sets the rig= ht > bits for A83T and A31/A31s. > Do you think this is the right approach? That sounds about right yes Maxime --uldmalad7cdsj5zk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXqH8jwAKCRDj7w1vZxhR xa6OAPsG0hWkJM/X3rADW428/4uNb7tDwdYNFydI9sbl6UhzkAEAxIit7pCZ/iLs 0cgwkg9mtFDlpNF5/GCnOiGoztgoNAU= =F7xP -----END PGP SIGNATURE----- --uldmalad7cdsj5zk--