Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1526942rdb; Thu, 7 Dec 2023 01:22:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IE1aN1+y95cM/6vmGp2LG4nYSAhzLnBrX8u232gzxTkmZBwxPp5eoXQ/H70Ef7jsvlKDc/J X-Received: by 2002:a17:902:ab55:b0:1d0:8afd:b28f with SMTP id ij21-20020a170902ab5500b001d08afdb28fmr2267817plb.90.1701940930870; Thu, 07 Dec 2023 01:22:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701940930; cv=none; d=google.com; s=arc-20160816; b=aRZZOGkyFb8k1UdxkmxLJihpxx0VVWBeA7KMOETSRosAIPWtlDeuIa7EjjXDMKcv7T DcnDesfacCqKp+0saDUepjgb6C6RuXzZxyQE8wDsY0pUqGcGwrp5KsCRz3wW2xNxajGN iIk40ct4TzmTmyFLCW5+HCQZfZVNd+r15s2IfMbE/DO4tfYkwh56ULRcoortdY5d4iRk vR9rnbRBzS/LvQQFjweRVGkrRNPywNj+VbE0JzPRVfD7G1zqv0dQUpAJSQsuWbWjhP1l ERLjVYiAV9wiBSOmY1H7Qn4CpMsCxQ06RUeUpWwNWppjzcoVOG80Flypqfz7nSZdYJ6j F8hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=V+his6S00LHrD9LGpKuQYLM4CwvFqVTt/wvEYcdKfzI=; fh=mcnIo6+ZFRV/3PTYUnwvXzayGMNUZrbj9dIygjzUBFw=; b=x0gznzQ8vX/royXfm6o8WZbRTY173681DB0mH6l4DC7QHkTFJ/dYS6vCdr9C0jic7P aboE3qkr3NLgo8CDhf4pg1XdzMMR6azDXl0WIlhCz+wHKldOQaR9wUMStywBMCYehHJb 3fA+42DxaInWHNpz7EApviCu/8jGdXAaeaGDZphMWMzBRgO+3OCUNxFuAzj0EwC0LwGO EpzF8qpg+uO0YRvA8AusDNcA6DYhPkBT64UuJabfk5X2ysTmC+WlLtlvT3BG+fCffwN2 aZiFFx4TWaA1qh0XmZFACYlFL9yyRAkFk5fdOSo0kxffHEkhX9exG3FK7KYXT6Yf3g9U ZRjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sv2QlZb+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id q1-20020a170902b10100b001d015cec684si814141plr.238.2023.12.07.01.22.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 01:22:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sv2QlZb+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 10C348076E65; Thu, 7 Dec 2023 01:22:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378886AbjLGJVo (ORCPT + 99 others); Thu, 7 Dec 2023 04:21:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378747AbjLGJVG (ORCPT ); Thu, 7 Dec 2023 04:21:06 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FAA4173C for ; Thu, 7 Dec 2023 01:20:04 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 799F6C433C7; Thu, 7 Dec 2023 09:20:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701940804; bh=nl+7zRM+RUou0hee7Fw3E82iCj4CZDlgNOvJ1QEoImg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sv2QlZb+Ob2LJQaMP7IvnHXktcQOXq3LyiBJd+WHY3aNDCVRrPmmsXjbd4sThhsWO Mv2qjo9pUGyudeNAvyNSFUmY/lYDmpqW13Hc43AahvCQiQdTaCP07u/aS4zapvGQux +zY5i/GLh0RNXMRL5KTtWzsaxu+TjnNwM1gErk4xdSbeqvzlbBhz2X0QnyhbqHD94N vj+hHSQ9gpLcZegPXaMgbUywNkAgWTTYCvKRbuK4BkzOpUjke1o5/ZZh9WeiDXVMig E0hqdib+4jKIQ4V4GOaa5Zi52YOvhzBGyzVEULYeGXsPYGfPhJSDJcJjSMyVGXb1f0 Zww7wMw+b4LsQ== Date: Thu, 7 Dec 2023 10:20:01 +0100 From: Maxime Ripard To: "H. Nikolaus Schaller" Cc: Andrew Davis , Frank Binns , Donald Robson , Matt Coster , Adam Ford , Ivaylo Dimitrov , Maarten Lankhorst , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , =?utf-8?Q?Beno=C3=AEt?= Cousson , Tony Lindgren , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Paul Cercueil , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-omap@vger.kernel.org, linux-mips@vger.kernel.org Subject: Re: [PATCH RFC 01/10] dt-bindings: gpu: Add PowerVR Series5 SGX GPUs Message-ID: <6gpehpoz54f5lxhmvirqbfwmq7dpgiroy27cljpvu66wtn7aqy@lgrh7wysyxnp> References: <20231204182245.33683-1-afd@ti.com> <20231204182245.33683-2-afd@ti.com> <23livt5mcc64bb6lkeec2uxp5cyn4wfekwaj6wzrjnrkndvwgj@6tveqglqpr4v> <6BC60156-89E2-4734-BD00-B49A9A6C1D7A@goldelico.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="at7ezwmqtv5cf653" Content-Disposition: inline In-Reply-To: <6BC60156-89E2-4734-BD00-B49A9A6C1D7A@goldelico.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 07 Dec 2023 01:22:08 -0800 (PST) --at7ezwmqtv5cf653 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 05, 2023 at 02:50:08PM +0100, H. Nikolaus Schaller wrote: > Hi, >=20 > > Am 05.12.2023 um 14:29 schrieb Maxime Ripard : > >=20 > > Hi, > >=20 > > On Tue, Dec 05, 2023 at 09:18:58AM +0100, H. Nikolaus Schaller wrote: > >>> Am 05.12.2023 um 07:57 schrieb Maxime Ripard : > >>>=20 > >>> On Mon, Dec 04, 2023 at 12:22:36PM -0600, Andrew Davis wrote: > >>>> The Imagination PowerVR Series5 "SGX" GPU is part of several SoCs fr= om > >>>> multiple vendors. Describe how the SGX GPU is integrated in these So= C, > >>>> including register space and interrupts. Clocks, reset, and power do= main > >>>> information is SoC specific. > >>>>=20 > >>>> Signed-off-by: Andrew Davis > >>>> --- > >>>> .../devicetree/bindings/gpu/img,powervr.yaml | 69 +++++++++++++++++= -- > >>>> 1 file changed, 63 insertions(+), 6 deletions(-) > >>>=20 > >>> I think it would be best to have a separate file for this, img,sgx.ya= ml > >>> maybe? > >>=20 > >> Why? > >=20 > > Because it's more convenient? >=20 > Is it? It's for a separate architecture, with a separate driver, maintained out of tree by a separate community, with a separate set of requirements as evidenced by the other thread. And that's all fine in itself, but there's very little reason to put these two bindings in the same file. We could also turn this around, why is it important that it's in the same file? > >> The whole family of IMG GPUs is PowerVR and SGX and Rogue are generati= ons 5 and 6++: > >>=20 > >> https://en.wikipedia.org/wiki/PowerVR > >=20 > > That's not really relevant as far as bindings go. >=20 > But maybe for choosing binding file names. Well they are machine readable > but sometimes humans work with them. Heh. It's something that can also be easily grepped, and the name is never going to reflect all the compatibles in a binding so it's what you'll end up doing anyway. But feel free to suggest another name to avoid the confusion. > > We have multiple > > binding files for devices of the same generation, or single bindings > > covering multiple generations. > >=20 > > The important part is that every compatible is documented. It doesn't > > really matter how or where. >=20 > Yes, and that is why I would find it more convenient to have a single > "img,powervr.yaml" for all variations unless it becomes filled with > unrelated stuff (which isn't as far as I see). Again, hard disagree there. Maxime --at7ezwmqtv5cf653 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZXGOQQAKCRDj7w1vZxhR xbE8AQCZfNo9oCxq0vvLhGlgv/lmiS2j6lzTN0TCD3qEYXuWvgEA8HDEG22nAn5t tKqxvYUa7HNULBEgPKYPdGXjaC67bgw= =r0f1 -----END PGP SIGNATURE----- --at7ezwmqtv5cf653--