Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6679284rdb; Fri, 15 Dec 2023 05:41:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHoANaAUmb3ShwXtFCmJhqZNhgfhZnqww8s+AyisNPCQg2CYsQKb15MuIp1UmzpZQx2XZCQ X-Received: by 2002:a17:907:cbc8:b0:a19:d40a:d1e3 with SMTP id vk8-20020a170907cbc800b00a19d40ad1e3mr3860793ejc.175.1702647713492; Fri, 15 Dec 2023 05:41:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702647713; cv=none; d=google.com; s=arc-20160816; b=loAc0ZDIWehdTPn6EyJJlct2KyXoXDkGVcrk68LQm+N+nHSW85Ce+yL7aVntztn5SB Er8M/Vne7TWtdVwIWHZ5pYfNaJVJ7o1CPO2XaBOMv9+XRS3axd3pr/bjqw4SGOEZPoqQ tQ0p9ZijldHp6SC81gseK802uaQxPUysJiKYBmYhw+gZoUcJO3xG+McDAomE6C4odXfM ukXBBnJnXe5SpeD87pty+9BQvaPqr+zf+5lkFDosFHhaLedzjgw6GayhAb40LnAkZcQU ZfyBS0b1kt7cD3aOG0C4JcllRU+UeO9QlUfr+1e84jUi907Uv9nEqngWhX8rXQpKSlf4 Tuuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ZGWJhtQmo3UTd1vkwCau0vNx7f3V3kbelnKg08qZVjs=; fh=mcnIo6+ZFRV/3PTYUnwvXzayGMNUZrbj9dIygjzUBFw=; b=L8Ln+18SIR5wPpISyKfkJdOdupTWnFJWkpwfTScGaPvMhQaPn8I0jnt9G48oktO6ar Uk6z+r21rBia9SIr/PHP5EKvYgH8jmTODcmTr/lphVXtFa7w8eqPqINs2+e5nQHdI30z BEEjRBfpjAW1iDi6d8NvxZDbXnkqtR+aRXZpgoGwmlbIO+BoxcSxpLn2fVNE04fvixF0 qQR2QrcSCSOXquKcxBryuGCQFdnzRMVxCZxXNyj1k6Z6vJr7edS/CKvQHXyNAMbCv9BP HYkcwf/qbIxuc6ndGI1yEnP54zEXnmC1Esa8qvok0jVbTEZj4dMDDEqHib6xdarQLqXo wSjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BJcTttLW; spf=pass (google.com: domain of linux-kernel+bounces-1021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1021-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i7-20020a170906264700b00a230fb993desi1389668ejc.887.2023.12.15.05.41.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 05:41:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BJcTttLW; spf=pass (google.com: domain of linux-kernel+bounces-1021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1021-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 05FD31F255BE for ; Fri, 15 Dec 2023 13:33:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28C1E2DB92; Fri, 15 Dec 2023 13:33:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BJcTttLW" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4490B2DB71; Fri, 15 Dec 2023 13:33:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44711C433C7; Fri, 15 Dec 2023 13:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702647194; bh=tGUhZ8a1wsbx0GalNAANJzpCwpQC3QW2iHSYADKeSd0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BJcTttLW46h1AIr8fYhPxXp/T5lrnGXfSuuj1cYQJ8Vp3lwBUMrFQ/RFMGzBVoHRl XQEItc18liqK+qYbS2F+dntRyrr3ZwLueXZTw33eYCOIG7WrKiTs7XBDORhUYF5dn0 4dDOSP2CxoXqCAyAN3XJ3X15F7RkwLrcvLY5WObqXn+zvG53DTpV+58W1oUkT3B+mB czKFhXsk4126nHSzSxrRd8yCS3V8JygX/BwifVKxD2D1gbt1LDkU/d8Cg60y9l3qyI p5MRLg3p95hkUVScbzuNXtOur0zq/Qr578Jr3MsvB0ZJqvbRZnlXg0cPVwRHeSQF3v gJ6z1AliF5MIA== Date: Fri, 15 Dec 2023 14:33:12 +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: References: <20231204182245.33683-1-afd@ti.com> <20231204182245.33683-2-afd@ti.com> <23livt5mcc64bb6lkeec2uxp5cyn4wfekwaj6wzrjnrkndvwgj@6tveqglqpr4v> <6BC60156-89E2-4734-BD00-B49A9A6C1D7A@goldelico.com> <6gpehpoz54f5lxhmvirqbfwmq7dpgiroy27cljpvu66wtn7aqy@lgrh7wysyxnp> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jgmzzpd4kephm2k6" Content-Disposition: inline In-Reply-To: --jgmzzpd4kephm2k6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 07, 2023 at 11:33:53AM +0100, H. Nikolaus Schaller wrote: > Hi Maxime, >=20 > > Am 07.12.2023 um 10:20 schrieb Maxime Ripard : > >=20 > > 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 = =66rom > >>>>>> multiple vendors. Describe how the SGX GPU is integrated in these = SoC, > >>>>>> including register space and interrupts. Clocks, reset, and power = domain > >>>>>> 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.= yaml > >>>>> maybe? > >>>>=20 > >>>> Why? > >>>=20 > >>> Because it's more convenient? > >>=20 > >> Is it? > >=20 > > 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. > >=20 > > We could also turn this around, why is it important that it's in the > > same file? >=20 > Same vendor. And enough similarity in architectures, even a logical seque= nce > of development of versions (SGX =3D Version 5, Rogue =3D Version 6+) behi= nd. > (SGX and Rogue seem to be just trade names for their architecture develop= ment). Again, none of that matters for *where* the binding is stored. > AFAIK bindings should describe hardware and not communities or drivers > or who is currently maintaining it. The latter can change, the first not. Bindings are supposed to describe hardware indeed. Nothing was ever said about where those bindings are supposed to be located. There's hundreds of other YAML bindings describing devices of the same vendors and different devices from the same generation. If anything it'll make it easier for you. I'm really not sure why it is controversial and you're fighting this so hard. Maxime --jgmzzpd4kephm2k6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZXxVmAAKCRDj7w1vZxhR xVw8AP41gJoEr4Iyn/S1Hezu3iKztXGS3daC3u3QCuAGL/pTzwD9HOO3pcwNEL/E pFq4wYajjL/ypoQuClzjpZ6kW6ckSgs= =YYGh -----END PGP SIGNATURE----- --jgmzzpd4kephm2k6--