Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1946851ybz; Thu, 23 Apr 2020 08:51:25 -0700 (PDT) X-Google-Smtp-Source: APiQypIPsoA3NWHsGaxgoxVDY1yst10t6fXTnhiEZPIgbH+7hpXqbwSj4kYTJCVa0nXubhlpaB1m X-Received: by 2002:a17:906:3e96:: with SMTP id a22mr3257613ejj.232.1587657085623; Thu, 23 Apr 2020 08:51:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587657085; cv=none; d=google.com; s=arc-20160816; b=WUof+KQ5srzh3uzg1ty0i3gWu9phnn93hjydXnZrhZu5JXgKIxNDZbgaoHsINbEUWv cVSCLTlIVKDiXb+NccKrvObom87aJ54sJfCuHPSXRYFdELer+s9xAsl+KbjgUZquytvg LolJGIxi/8827fGyD9rxxaU5qseB95wZJd/64RJs4gCObN83NOPcM1bhUUZLW0PVTJvG aZsWC3077eyMI04ASPYPCquuwrDpV/s4BKKQ2jAbwQQt8Dj6DCsn6SuMRYKa4dHlmDtv u1XDUUBhrCif8qCZt/g6alYMVxjQA2PeVWzbRv9676IQcykzxcicnTe5TmPZpT3FtKJX K+1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:mime-version :subject:dkim-signature; bh=ybxxfVp12h/EJrmfUJdRJSGTmKH3W7lZYEApLFlERWY=; b=E4z02i3lMOH32LewdcgFE8zdPlkTZ5FA5Jr0hriHZe/7lR3aao4caRbfPkv7F+XFbj iGlxiHB2Bj9dXUGqxS88eh63PVM4RoLXUpZgzpkKvhelwWfcYO+ZrSnyBwKoVmfQgFp8 lYp4aBACIu/7lflFyJiDmeJ5W7M9kW+g1u2DDU7NXDC+Ko3yaPXglWAS4B4NgV+RIXCB U87/mJpHje91TXaka2d/MpC0iiZObATFJwJwIiNJBcnHnECniYUWBFYfS/8T3ynB2ZmC qygWT8J+OAdVmxOSFAv8W9lrR+6XTrUnZnIYO/022XtUDbM//rAe8D6x5/GHcVZkONC4 2Ryw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=DrKJ9fNz; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c5si1369457edq.53.2020.04.23.08.51.00; Thu, 23 Apr 2020 08:51:25 -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=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=DrKJ9fNz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729335AbgDWPqp (ORCPT + 99 others); Thu, 23 Apr 2020 11:46:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729176AbgDWPqo (ORCPT ); Thu, 23 Apr 2020 11:46:44 -0400 Received: from mo6-p02-ob.smtp.rzone.de (mo6-p02-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5302::9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F720C09B040; Thu, 23 Apr 2020 08:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1587656801; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=ybxxfVp12h/EJrmfUJdRJSGTmKH3W7lZYEApLFlERWY=; b=DrKJ9fNz8WxLH/lxvzqH+AMSam9tu2FhRn1b+DxbazOFoXyS93+afrGgpwefT4t6QC /4k7b51LsSANcN/xVgHDnGc9MzXErXxCPQeHuiElt1upkXq+nvKp9tSqjV5+k1mBfxS3 gAkvjEQjZJNlc0Yw5yj/hGkMx2dR3nhn+e4WqxPIVEcRt6S9melWvYcV+2h+8m47DJTF K+utEk2anK6Ms4Lb8UzV2Zj3a1+UkWzb9yq/ZlLTRil6UF5EXzHTWRMjAccLpfo3BT1D qJ7BmeYa+eOlmSQs2uTl6iNBaTpywNCpLK63P2AacOcUu0H5TmLKFwDnMPpJpV6cP8ls aO1A== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBp5hRw/qOxWRk4dCysOfl5tOw33QtdTbGcCRJGxnkq3ByzlXOnoXby" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2001:16b8:2692:1500:61a3:e550:2224:7950] by smtp.strato.de (RZmta 46.6.2 AUTH) with ESMTPSA id R0acebw3NFjv7lw (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Thu, 23 Apr 2020 17:45:57 +0200 (CEST) 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) Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii From: "H. Nikolaus Schaller" In-Reply-To: <43688597-4b99-8f4d-9ad5-548ddff07f52@baylibre.com> Date: Thu, 23 Apr 2020 17:45:55 +0200 Cc: Maxime Ripard , Mark Rutland , Tony Lindgren , James Hogan , Jonathan Bakker , "open list:DRM PANEL DRIVERS" , linux-mips@vger.kernel.org, Paul Cercueil , linux-samsung-soc@vger.kernel.org, Discussions about the Letux Kernel , Paul Burton , Krzysztof Kozlowski , David Airlie , Chen-Yu Tsai , Kukjin Kim , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Daniel Vetter , Rob Herring , linux-omap , arm-soc , Thomas Bogendoerfer , Philipp Rossak , OpenPVRSGX Linux Driver Group , Linux Kernel Mailing List , Ralf Baechle , =?utf-8?Q?Beno=C3=AEt_Cousson?= , kernel@pyra-handheld.com Content-Transfer-Encoding: quoted-printable Message-Id: <71F2F964-32C7-41E6-8F1A-A73161EA1BB3@goldelico.com> References: <20200415130233.rgn7xrtwqicptke2@gilmour.lan> <10969e64-fe1f-d692-4984-4ba916bd2161@gmail.com> <20200420073842.nx4xb3zqvu23arkc@gilmour.lan> <20200421112129.zjmkmzo3aftksgka@gilmour.lan> <20200421141543.GU37466@atomide.com> <20200422065859.quy6ane5v7vsy5tf@gilmour.lan> <1AA57A0C-48E6-49BB-BB9A-2AAFFB371BCD@goldelico.com> <20200422151328.2oyqz7gqkbunmd6o@gilmour.lan> <07923B6C-4CCD-4B81-A98F-E19C43412A89@goldelico.com> <43688597-4b99-8f4d-9ad5-548ddff07f52@baylibre.com> To: Neil Armstrong X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Neil, > Am 23.04.2020 um 17:00 schrieb Neil Armstrong = : >> One thing we can learn is that "core" seems to be a de facto standard=20= >> for the core clock-name. An alternative "gpu" is used by = nvidia,gk20a.txt. >=20 > Usually IPs needs a few clocks: > - pclk or apb or reg: the clock clocking the "slave" bus to serve the = registers > - axi or bus or ahb: the bus clocking the the "master" bus to get data = from system memory > - core: the actual clock feeding the GPU logic And the sgx544 seems to have two such clocks. > Sometimes you have a single clock for slave and master bus. >=20 > But you can also have separate clocks for shader cores, .. this = depends on the IP and it's architecture. > The IP can also have memories with separate clocks, etc... Indeed. > But all these clocks can be source by an unique clock on a SoC, but = different on another > SoC, this is why it's important to list them all, even optional. >=20 > You'll certainly have at least a reset signal, and a power domain, = these should exist and be optional. Well, they exist only as hints in block diagrams of some SoC data sheets (so we do not know if they represent the imagination definitions) and = the current driver code doesn't make use of it. Still the gpu core works. So I do not see any urgent need to add a complete list to the bindings = now. Unless some special SoC integration makes use of them. Then it is IMHO = easier to extend the bindings by a follow-up patch than now thinking about all potential options and bloating the bindings with things we (the open = source community) doesn't and can't know. My goal is to keep the bindings as minimalistic as possible. And reset = lines and power domains are (at least for those we have in the works) not = needed to make working systems. Therefore, for clocks I also would start with a minimalistic approach = for a single optional GPU core clock and leave out reset and power = completely. BR and thanks, Nikolaus