Received: by 2002:ac8:6d01:0:b0:423:7e07:f8e4 with SMTP id o1csp6635159qtt; Mon, 18 Dec 2023 02:14:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFW8wtsVDcM4MXi87heLoLMzv52QaskeJaCGjui7thKDX1uhBAW/haCRATvZXtL+pjoQy+s X-Received: by 2002:a05:620a:458f:b0:77e:fba3:81de with SMTP id bp15-20020a05620a458f00b0077efba381demr23594481qkb.116.1702894475692; Mon, 18 Dec 2023 02:14:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702894475; cv=none; d=google.com; s=arc-20160816; b=V8sSEMY/HMWrzbpy6Z2qml8ytYXL53Elxe8uE7ZRTV/i5gkzf27A+UEWDx8Dmn9SJn XIYhyZu1GPNUsXaBBzwkw7ZUte3R8X2p4CNoxcZuTbeOCMskonJIWXAvCAQPV81AOZcM /IHKNtaHuDfRiGNIXPd+LRUvqkJ4vaRkjxGK9IBioIQcFUqfFrFCmX41Ki+8s9cV/5BY eWkI5a6PBLj21aauiYKeuq9/4WQpzEs2F2xbYvR3WuK/aYPK5utNTCsbbSccfApx855D NYTyK19UJq2Z5qnvKPsoc4dHoqZiQ7p/0aWYY/8D4ogRJF24708dA8DrJrkyISMPWZPR fY5g== 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=6q68azC955xrTVALbmO5YmJ9GQg0JKxbUIF9Ow4nWMQ=; fh=mcnIo6+ZFRV/3PTYUnwvXzayGMNUZrbj9dIygjzUBFw=; b=HnyXii0Yy5fgrmitO+cg5krsruoOMNCA/xDAjweO8npo5wPvirTVHv42sXlHr07V32 QfJPY8JJXv9IHGo5VF5RB365IZZPr2JkguxXyiPFXwAWxBQahSYwQ12lnK+TUKAY4nOp int3O1vbK0g0Kqb2jornMYAHkXaWM1hnyvGEYF4oP+xGDlipx9bZWonXhG7gEqrm4Pfj UdO6YSADiejJVgMS9aX9IGvAtNUJ/bzzsV1nBker8NeECg47pCuCJrYnFlL5w7eCk9Jt zI4Zy0nMj/CpF8fNY9BtrulqNUkNhpqnak2mmlfpwv8L50wO2U1LfsdTl9ZhTSEb+n7z 3u2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cd20Edhm; spf=pass (google.com: domain of linux-kernel+bounces-3307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w23-20020ae9e517000000b0077faca74aabsi7650988qkf.43.2023.12.18.02.14.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 02:14:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cd20Edhm; spf=pass (google.com: domain of linux-kernel+bounces-3307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3307-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 895F21C22A48 for ; Mon, 18 Dec 2023 10:14:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7150413AE0; Mon, 18 Dec 2023 10:14:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Cd20Edhm" 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 94CF113FE6; Mon, 18 Dec 2023 10:14:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6755C433CA; Mon, 18 Dec 2023 10:14:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702894467; bh=6q68azC955xrTVALbmO5YmJ9GQg0JKxbUIF9Ow4nWMQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Cd20EdhmnmW7oYL7H6uIxJBVzPArC24QyeozGNWEQfFNW4Bbk65REhag58Ygu10QG a9+MGQ5fmPYZgtzkuOJPbE3g+c0tnKSr+XxZL+UP8lR2WDl/3Opl2uYNR4S7dt7BGn x0+EjwVXfswcjbrZ7lHyeiRJf/Luv6GYFnDZkrjoSmJTF69D5yqMLhJvDOt2B4lNLg KirImYypTuab/eHtTNpIzs06W2oSyWpK+1uIjztjwFPs2tPvqPs1PBzlXPU9QLCZZp e6JzkeBKkBjEFO2WH2548EohrR+s8IiaEFK1rKBrRA68XCdL1HpjWni4VWKQLbSf/e v5p2Vjh6qbu/Q== Date: Mon, 18 Dec 2023 11:14:24 +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: <22cny5aumc5wafsrjd3j55zcjbjf2viip64kfbjiqis2grtd6t@wg5dxeuzil6l> 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="fqek5qfw3sbzkpso" Content-Disposition: inline In-Reply-To: --fqek5qfw3sbzkpso Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 18, 2023 at 10:28:09AM +0100, H. Nikolaus Schaller wrote: > Hi Maxime, >=20 > > Am 15.12.2023 um 14:33 schrieb Maxime Ripard : > >=20 > >>>=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 se= quence > >> of development of versions (SGX =3D Version 5, Rogue =3D Version 6+) b= ehind. > >> (SGX and Rogue seem to be just trade names for their architecture deve= lopment). > >=20 > > Again, none of that matters for *where* the binding is stored. >=20 > So what then speaks against extending the existing bindings file as propo= sed > here? I mean, apart from everything you quoted, then sure, nothing speaks against it. > >> AFAIK bindings should describe hardware and not communities or drivers > >> or who is currently maintaining it. The latter can change, the first n= ot. > >=20 > > Bindings are supposed to describe hardware indeed. Nothing was ever said > > about where those bindings are supposed to be located. > >=20 > > There's hundreds of other YAML bindings describing devices of the same > > vendors and different devices from the same generation. >=20 > Usually SoC seem to be split over multiple files by subsystem. Not by ver= sions > or generations. If the subsystems are similar enough they share the same = bindings > doc instead of having one for each generation duplicating a lot of code. >=20 > Here is a comparable example that combines multiple vendors and generatio= ns: >=20 > Documentation/devicetree/bindings/usb/generic-ehci.yaml EHCI is a single interface for USB2.0 controllers. It's a standard API, and is made of a single driver that requires minor modifications to deal with multiple devices. We're very far from the same situation here. > > 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. >=20 > Well, you made it controversial by proposing to split what IMHO belongs t= ogether. No, reviews aren't controversial. The controversy started when you chose to oppose it while you could have just rolled with it. > I feel that the original patch is good enough for its purpose and follows > some design pattern that can be deduced from other binding docs. [citation needed] Maxime --fqek5qfw3sbzkpso Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZYAbgAAKCRDj7w1vZxhR xS2kAQD1v8t8gOttSKasozzYFKDYkVASRfS4vwMhDEoa3VJGgAD/Sx0WPxcTR+rn Eh5f073VqTXt6rP/hUjFqzHk27M30w0= =p2+d -----END PGP SIGNATURE----- --fqek5qfw3sbzkpso--