From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B6B3AC19776 for ; Fri, 28 Feb 2025 11:10:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RpVjJ+eS+7F71ctZfki5aRuBHw0X6KQZyB8mtCBfchA=; b=bkh1dQ94+J/77n4fvxF9vkWgFT PLxgG0f23Q1vvTOI9XTs++xb2XiUKwHX1rRBdhxYdwF5EcphIiRaVupA9cF3mXQHLRkFS24AYS4sE Gdf5jdh64x2d6cw2DE+AumKHtOcY9rMkPda12ngzpKK4b3OSPjVukoL2CGQKvDg/v+Wgr5b3kGa8x CfU6hYyepqL1XGeMUvTkBkLU+aOVkSCnfQzouvSm17RUDSCPZ522IfmtHjQvW+EGiZnv4AOT7TT09 D6TYzLAv1o7SIz2tMqBMflU8gc6aMfv0mjCAAs7UbvyLmQPOp6fvveDpIQnSLeIGPHzafyGGKvnAe Z40XS0Ag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tnyGR-0000000AhlP-1HKs; Fri, 28 Feb 2025 11:10:43 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tnxmB-0000000AdA7-3KUz for linux-arm-kernel@lists.infradead.org; Fri, 28 Feb 2025 10:39:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1740739167; x=1772275167; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RpVjJ+eS+7F71ctZfki5aRuBHw0X6KQZyB8mtCBfchA=; b=QeHRfoEsb8k5kz2h2UKyKBGRAgHbzyUo4BKXRod5qRb5hXFicKcCokAY BJJIMyuxZHuNB9amaveVr0CHAiCO263aGNEswg0NE1aGwO7I2F+n/Fm4y sPOzrAT41XzNyn7p5gTHBOz5iiL2xTftPcCDwovMluCaShwb5nnQFdFiP URdNcXsipjw3tLVWeKx45jH0uB617UlI3bnLPOiXQlIDvDwVvzrSP+9Cq UMpjM9DcLgi89ev3/OBp2brU0y26+3sviLcuw3G5JOHe53Acay1Qdgw9U R8HFFDfP6VI8NTKnm8JxrvaXh4ARBWsRwi9fDzMoeXybfa6sd5F3tfV6T g==; X-CSE-ConnectionGUID: rI06XAEPSm6r6OtHMCwJYw== X-CSE-MsgGUID: j8b/yOltQb+YmuY1HtO7Xw== X-IronPort-AV: E=Sophos;i="6.13,322,1732575600"; d="scan'208";a="42171994" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 28 Feb 2025 11:39:25 +0100 X-CheckPoint: {67C1925D-57-3D6C4912-C3EB4537} X-MAIL-CPID: 26D5FDDFA77A91E5CA992F49FAF7A837_5 X-Control-Analysis: str=0001.0A002119.67C1925D.0153,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6891D1688B1; Fri, 28 Feb 2025 11:39:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1740739161; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RpVjJ+eS+7F71ctZfki5aRuBHw0X6KQZyB8mtCBfchA=; b=NEcQE8XIjhcqF2KKA+UEYWMrbZpRe6X3H7k3RIPwgT4AIbWTXk6EFHXfHcPv61kztMpTZJ FCxYzYzljgaxSxM/FLH+p2RVugvTr7OwkWFSaqjCozwlai1tVUJwxQtqzsgzj0bwnqVWXW ouq1uzgIqe7F7jl8KfI05HqjsyFABkUxDW81pBzPVrxoWkOobktCPBPzRd32PZOB+ERUCj Jbai33oca3kGvwNOhzVgF5AmMVUutfqWHK1fE5x/VD2PiGy1i9AlmcvgPsmj1m/Tkmd/uT AGX09o9p8esk0xA53juuLUh+SH8NORt1X2cBt5pJYCm01Hj/jBNyCdxjmNlHIA== From: Alexander Stein To: Marek Vasut , Frank Li Cc: linux-arm-kernel@lists.infradead.org, Boris Brezillon , Conor Dooley , David Airlie , Fabio Estevam , Krzysztof Kozlowski , Liviu Dudau , Maarten Lankhorst , Maxime Ripard , Pengutronix Kernel Team , Philipp Zabel , Rob Herring , Sascha Hauer , Sebastian Reichel , Shawn Guo , Simona Vetter , Steven Price , Thomas Zimmermann , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, imx@lists.linux.dev Subject: Re: [PATCH 9/9] arm64: dts: imx95: Describe Mali G310 GPU Date: Fri, 28 Feb 2025 11:39:18 +0100 Message-ID: <3332618.oiGErgHkdL@steina-w> Organization: TQ-Systems GmbH In-Reply-To: References: <20250227170012.124768-1-marex@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250228_023928_167772_A1C7E3FB X-CRM114-Status: GOOD ( 20.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am Donnerstag, 27. Februar 2025, 23:21:22 CET schrieb Frank Li: > On Thu, Feb 27, 2025 at 10:34:20PM +0100, Marek Vasut wrote: > > On 2/27/25 10:27 PM, Frank Li wrote: > > > > [...] > > > > > > > > + gpu: gpu@4d900000 { > > > > > > + compatible =3D "fsl,imx95-mali", "arm,mali-valhall-csf"; > > > > > > + reg =3D <0 0x4d900000 0 0x480000>; > > > > > > + clocks =3D <&scmi_clk IMX95_CLK_GPU>; > > > > > > + clock-names =3D "core"; > > > > > > + interrupts =3D , > > > > > > + , > > > > > > + ; > > > > > > + interrupt-names =3D "gpu", "job", "mmu"; > > > > > > + mali-supply =3D <&gpu_fixed_reg>; > > > > > > + operating-points-v2 =3D <&gpu_opp_table>; > > > > > > + power-domains =3D <&scmi_devpd IMX95_PD_GPU>, <&scmi_perf I= MX95_PERF_GPU>; > > > > > > + power-domain-names =3D "mix", "perf"; > > > > > > + resets =3D <&gpu_blk_ctrl 0>; > > > > > > + #cooling-cells =3D <2>; > > > > > > + dynamic-power-coefficient =3D <1013>; > > > > > > + status =3D "disabled"; > > > > > > > > > > GPU is internal module, which have not much dependence with other= module > > > > > such as pinmux. why not default status is "disabled". Supposed gp= u driver > > > > > will turn off clock and power if not used. > > > > My thinking was that there are MX95 SoC with GPU fused off, hence i= t is > > > > better to keep the GPU disabled in DT by default. But I can also ke= ep it > > > > enabled and the few boards which do not have MX95 SoC with GPU can > > > > explicitly disable it in board DT. > > > > > > > > What do you think ? > > > > > > GPU Fuse off should use access-control, see thread > > > https://lore.kernel.org/imx/20250207120213.GD14860@localhost.localdom= ain/ > > Did that thread ever go anywhere ? It seems there is no real conclusion= , is > > there ? +Cc Alex . >=20 > The direction is use access-control to indicate fuse disable. Only > implement detail is under discussion. Well, the discussion ended up to be more complicated for i.MX8M. For i.MX95 things are a bit easier, as fuses and clocks are controlled by System Manager (SM), accessed using SCMI. [1] is more important for imx95. Best regards Alexander [1] https://lore.kernel.org/all/20250204-imx-ocotp-v8-0-01be4a4bb045@nxp.co= m/ =2D-=20 TQ-Systems GmbH | M=FChlstra=DFe 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht M=FCnchen, HRB 105018 Gesch=E4ftsf=FChrer: Detlef Schneider, R=FCdiger Stahl, Stefan Schneider http://www.tq-group.com/