Message ID | 20231128200219.226038-1-aford173@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp4191528vqx; Tue, 28 Nov 2023 12:02:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7FQmdbEqt6UbgXPo9JZ1s0UGIwHCYFZFmlmnHA8AxIz6ocnkJ7uIbvhnWvpT2A4kcRlRy X-Received: by 2002:a05:6830:213:b0:6d6:43e7:b0bc with SMTP id em19-20020a056830021300b006d643e7b0bcmr18498695otb.16.1701201774894; Tue, 28 Nov 2023 12:02:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701201774; cv=none; d=google.com; s=arc-20160816; b=V5CBeaI0Z4lb0sUXSzmiEGiudBHvBLsciN1UGsz/3SjEVIei2xwrUcdpIuGr2pW9Vk vM2j6x+0ETQc++L/52Ba7CqScuXdqay/nyOxx/4kXSaZLZYqZE5TAdfyOjc2MGOIadQj HXdaUpj64Hhr2rEKq07UESs/ROot0SUpYmvcaysX/rHGjlbGmdT2694011GSfqpqXfPX STaRpOZFAGweBIbun8DXfbuPmKWyLE/obbubaI/QFyLRwd1HusM+teaedvV980qyAvUx 7p/3Q9EF1wf9GFVrDdjyrHFrkbWcIr6acD3ey3ZkgwV4QCFWeScI1k7JQkmXdYqEnqXi EWJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ibsGyTZf61SfEgsm2PP3QRsv0iL7gL9l/CsASyyufMM=; fh=NRNo83hZDzExyODe8nHzLy+vs9aLgnb5yehW13P1FS4=; b=Dhh7dC3QndTq+wTSjCl5Ft21pG7T3d0mhkhCLgaulD30YsLGk2fHtMeywVfYZ4RrvK 39IkJVExJptwLNBJ7rOugvxsTKTG3vACXMSH9uDskF+s6UqeFlT3rZSt+y+24izE9znU a2OFFf/lQVCV8eDaclzzfvKjljHU6tQzqY7wXeD0sxm/Ga0Gh6NsaNbDeasreXL3rZUI XAtEqwc/TVyXCaKGh0emLanUmH9LzhrkZuPmjSR8cPYFJsCnlSHIpsRQ1GkWGN9aPzkC tToMmjVF7mIAQ1cX8kLZrxuPhgMD9rXQ9WXolggowDQ+Ts8o5wp2rMjWyCsFrz/bcugk /5GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="eup6auo/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id e9-20020a4a8849000000b0058ac82d3b3asi4738352ooi.93.2023.11.28.12.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 12:02:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="eup6auo/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 6A0B080A87C1; Tue, 28 Nov 2023 12:02:36 -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 S229595AbjK1UCZ (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 28 Nov 2023 15:02:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbjK1UCY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 28 Nov 2023 15:02:24 -0500 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1916C10F0; Tue, 28 Nov 2023 12:02:31 -0800 (PST) Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-35b2144232bso18675005ab.3; Tue, 28 Nov 2023 12:02:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701201750; x=1701806550; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ibsGyTZf61SfEgsm2PP3QRsv0iL7gL9l/CsASyyufMM=; b=eup6auo/Nymbv57GXt0t1NuDNdPiuK0YkZaDH96Ve7X/tNu+EPsc8ggj6kQw3jti48 u8siR8169P2aUNwBXaP4WOG0aAEBFc4bhiUpD69E2olnIiaUGFMBfJcgi5Q080QD+tIN fPxFIb/5MLnEl5zIQxbyIec/aDh2/SH6LRNFFPuXPAzgczHhdmRgS0C8HbbeqgpzxKr3 xbeZs7GQYNcnIOX3eX9SNtNnsdhMPOr6VP1FaNMyRiKZ3jXUFut9mS0XofUgwic1U/mJ 8ZVyZyyHI4Rg2PKmPlivA+R4RxF3KewxJShvuSX4lubmQ2bVFXgMAEMQMVRaDiIu6lbW jVJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701201750; x=1701806550; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ibsGyTZf61SfEgsm2PP3QRsv0iL7gL9l/CsASyyufMM=; b=DYaz7GkJlMsfdhaHkuIr24NZPzRlnJOwV9ortUre6B1pVEy2C4ojKUWhM2OiMNt/vn Dl7IgLUDAYdiU2k0At/CbCQK6R6LEuJ1aUNrICVtWeit8IIzlHi0tQDagk47cwOu/PcI 7mrVz7nLVGthdiU1gD1kjla+M9hE1sDpCERg0ZRXihePXclXNRG34/bISfWBZ2dcS1SS d0sC++cTENGBB5QrpstXvQd/PluO/cxGEF+bqJSmdSthZNs7n37l9VGT+Wy3BQIl32Ul AIUIQt8aQ24lJnUvV9S2iDIQAhPGsRLU4bcgoDrm0NfWCLTm7GrjGnBXz7VHSsAJzusv KvbQ== X-Gm-Message-State: AOJu0YyMqoaofqq01kw0waDGlRrAbSCG1/CHD95FdXb7EvJCHxrJAwb8 ICegLjppRCYvjk7/uNXntzA= X-Received: by 2002:a05:6e02:1547:b0:35c:c4a4:2537 with SMTP id j7-20020a056e02154700b0035cc4a42537mr9447106ilu.20.1701201750271; Tue, 28 Nov 2023 12:02:30 -0800 (PST) Received: from aford-System-Version.lan ([2601:447:d002:5be:9cf:804b:3499:a67b]) by smtp.gmail.com with ESMTPSA id bs12-20020a056e02240c00b0035d21e48d28sm323392ilb.8.2023.11.28.12.02.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 12:02:29 -0800 (PST) From: Adam Ford <aford173@gmail.com> To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford <aford173@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Lucas Stach <l.stach@pengutronix.de>, Frieder Schrempf <frieder.schrempf@kontron.de>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] arm64: dts: imx8mm: Reduce GPU to nominal speed Date: Tue, 28 Nov 2023 14:02:16 -0600 Message-Id: <20231128200219.226038-1-aford173@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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: <linux-kernel.vger.kernel.org> 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]); Tue, 28 Nov 2023 12:02:37 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783839352121152218 X-GMAIL-MSGID: 1783839352121152218 |
Series |
[1/3] arm64: dts: imx8mm: Reduce GPU to nominal speed
|
|
Commit Message
Adam Ford
Nov. 28, 2023, 8:02 p.m. UTC
When the GPU nodes were added, the GPU_PLL_OUT was configured
for 1000MHz, but this requires the SoC to run in overdrive mode
which requires an elevated voltage operating point.
Since this may run some boards out of spec, the default clock
should be set to 800MHz for nominal operating mode. Boards
that run at the higher voltage can update their clocks
accordingly.
Fixes: 4523be8e46be ("arm64: dts: imx8mm: Add GPU nodes for 2D and 3D core")
Signed-off-by: Adam Ford <aford173@gmail.com>
Comments
On Tue, Nov 28, 2023 at 02:02:16PM -0600, Adam Ford wrote: > When the GPU nodes were added, the GPU_PLL_OUT was configured > for 1000MHz, but this requires the SoC to run in overdrive mode > which requires an elevated voltage operating point. > > Since this may run some boards out of spec, the default clock > should be set to 800MHz for nominal operating mode. Boards > that run at the higher voltage can update their clocks > accordingly. > > Fixes: 4523be8e46be ("arm64: dts: imx8mm: Add GPU nodes for 2D and 3D core") > Signed-off-by: Adam Ford <aford173@gmail.com> Applied all, thanks!
diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 669fdd2c54e4..b33bc4855e5f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -1402,7 +1402,7 @@ gpu_3d: gpu@38000000 { assigned-clocks = <&clk IMX8MM_CLK_GPU3D_CORE>, <&clk IMX8MM_GPU_PLL_OUT>; assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>; - assigned-clock-rates = <0>, <1000000000>; + assigned-clock-rates = <0>, <800000000>; power-domains = <&pgc_gpu>; }; @@ -1417,7 +1417,7 @@ gpu_2d: gpu@38008000 { assigned-clocks = <&clk IMX8MM_CLK_GPU2D_CORE>, <&clk IMX8MM_GPU_PLL_OUT>; assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>; - assigned-clock-rates = <0>, <1000000000>; + assigned-clock-rates = <0>, <800000000>; power-domains = <&pgc_gpu>; };