Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp400589rdb; Mon, 15 Jan 2024 00:25:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IGhYZg6mXKNjW2yWQXQ5mjUs/6jnMYz8RHylZl5/4Sqj+sLEzazpoGSuaIQRpDyo0/be8lJ X-Received: by 2002:a17:906:3e42:b0:a2a:c2b7:ee92 with SMTP id t2-20020a1709063e4200b00a2ac2b7ee92mr2472024eji.50.1705307142296; Mon, 15 Jan 2024 00:25:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705307142; cv=none; d=google.com; s=arc-20160816; b=r5C0oH720xQ6RWMXEJYBDcFgVACTU9bFti+0xgabD+dXFO/qLxrah4GdIg+gK8zqYu jxAQZ0FkDHNd11zv30x29bCDcj4I2sRXCpw+ll/gFC+Cab2QFQqNXNf2I8ew3P0Nm3qu tHUGby9k12YJnUCPMaqQaHnm0ztVvWMenlUKvuTo+9Csf6x0w7At0bh6bI3Zv7onF31w USzHg2IchpHUfuH58zDA4IvIFVnifnHDbSzhZja67F1yGLhMEl0REbDmU8Z3+MacyenZ VWl/zhQk91iNw7Y8jeuBLv9S/a97VF3agen+eyCZf6OUxcbFTHsFMJKbk+UY5rKby7zY hnwg== 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=bkFxuxf0iCghKC8GrzWqXKXAFsRRBXSZ7feexi45UVk=; fh=mcnIo6+ZFRV/3PTYUnwvXzayGMNUZrbj9dIygjzUBFw=; b=kA3CKprZ1AlI6FvFBPK7MZNfeP0xqSGEzV70fdUvL9uukSudsjEyQzpgAX6hgFvO0s OMgTsHL2zKbXd/1mIns6hwjGiQxYYajwNaguVrpnL6eE3FwnZrSJIWu9V7jJ36mMoO3l AbQ4zwSOJJzlLzF9CmLEdG3rhsBPlxuZYNOL6ycEcPeorNbxNZNZmHkbs7muufAsfR/+ Mw981KeJkbTbIE2w9Gq/zvKZglt1lWK1lGCXydpoTUW8Cg3tpJJz+fP+mBStf2RzfLBD M1/j1bus6x5SaW+92UahUO1l5SD7lTkKxKvpwHdk6lvkrodr63kGWfcRNl+2xNnSw3E5 VfrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CoV0R374; spf=pass (google.com: domain of linux-kernel+bounces-25727-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25727-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. [147.75.80.249]) by mx.google.com with ESMTPS id u4-20020a17090626c400b00a279d254ae9si3595719ejc.23.2024.01.15.00.25.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 00:25:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25727-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CoV0R374; spf=pass (google.com: domain of linux-kernel+bounces-25727-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25727-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 135D01F21A18 for ; Mon, 15 Jan 2024 08:25:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B04163DA; Mon, 15 Jan 2024 08:25:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CoV0R374" 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 1AD005689; Mon, 15 Jan 2024 08:25:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BC49C433C7; Mon, 15 Jan 2024 08:25:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705307133; bh=bkFxuxf0iCghKC8GrzWqXKXAFsRRBXSZ7feexi45UVk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CoV0R374tK5kCtzfve7eyQAekaInOpN0kUMbDADJ0KXk63eiqZTQu9MWzErWMYAfj BDp82RgAyoC0OgaHWM5EFeBKTwr8e+VuBEiW9BLrJAQoXyQcvdypB5Jg9rqF3Eto5u u+EbR/pWzZwUzdc53sIOnvkoHlbqKwwykR0GFpAgmNhCKrLV97kkbrFH0THj6m9hNd rlhyTBEwVAXw3ZeYbwAxM/EyfKlfjSXTiTQg5oBwZxiTqrTSdiuaD5tS8mwlRYdcK1 J5IYOw8SdFTdWr6BorUsL3PvlYJxuPS7BKs7hxmNaGe84+JruinkUhmnF8916wcMt5 vzHB0zIfM8/Ew== Date: Mon, 15 Jan 2024 09:25:30 +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: Re: [PATCH RFC v2 04/11] ARM: dts: omap4: Add device tree entry for SGX GPU Message-ID: References: <20240108183302.255055-1-afd@ti.com> <20240108183302.255055-5-afd@ti.com> <122DC5ED-2AA7-46A0-845F-083922458385@goldelico.com> 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="5bv4mdxrrdvnbudo" Content-Disposition: inline In-Reply-To: <122DC5ED-2AA7-46A0-845F-083922458385@goldelico.com> --5bv4mdxrrdvnbudo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Jan 12, 2024 at 06:33:58PM +0100, H. Nikolaus Schaller wrote: > > Am 08.01.2024 um 19:32 schrieb Andrew Davis : > >=20 > > Add SGX GPU device entry to base OMAP4 dtsi file. > >=20 > > Signed-off-by: Andrew Davis > > --- > > arch/arm/boot/dts/ti/omap/omap4.dtsi | 9 +++++---- > > 1 file changed, 5 insertions(+), 4 deletions(-) > >=20 > > diff --git a/arch/arm/boot/dts/ti/omap/omap4.dtsi b/arch/arm/boot/dts/t= i/omap/omap4.dtsi > > index 2bbff9032be3e..559b2bfe4ca7c 100644 > > --- a/arch/arm/boot/dts/ti/omap/omap4.dtsi > > +++ b/arch/arm/boot/dts/ti/omap/omap4.dtsi > > @@ -501,10 +501,11 @@ sgx_module: target-module@56000000 { > > #size-cells =3D <1>; > > ranges =3D <0 0x56000000 0x2000000>; > >=20 > > - /* > > - * Closed source PowerVR driver, no child device > > - * binding or driver in mainline > > - */ > > + gpu@0 { >=20 > I wonder why we don't add a "gpu:" label here. >=20 > Almost all other subsystem nodes have one (e.g. emif:, aes:, dss:, dsi:, = hdmi:, etc.), > obviously for convenience when using a .dtsi file. >=20 > It would allow a board-specific DTS to easily add status =3D "disabled" t= o avoid driver > probing or disabling the GPU (e.g. if there is no display). There's no reason to disable it in the DT: the hardware block would still be there and it's rendering to memory so it still could be useful. If there's no display on the board and you really don't want the GPU driver, then you can disable the driver or block the module loading, but it should be a distro / package / user decision, not a DT / kernel one still. Maxime --5bv4mdxrrdvnbudo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZaTr7AAKCRDj7w1vZxhR xSybAP96mNxOy9DrBryPZmmu4a4Y6AfuRKXr9+Uh2C3OhAPO3QEA1j3KoeAhpYrF 0pDWtJkRFUHwyOTCz3HpiAeRG3RSqwM= =GRcK -----END PGP SIGNATURE----- --5bv4mdxrrdvnbudo--