Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4107846rdh; Tue, 28 Nov 2023 12:02:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IGn2A4lUTP9ZeJJrGo6lEWhhur/jLi1BBiHSNU5KqM7kQCcuqW/VNckN9sbc+O4CMsbUQho X-Received: by 2002:a17:90b:4c88:b0:286:19a1:940e with SMTP id my8-20020a17090b4c8800b0028619a1940emr213267pjb.39.1701201766848; Tue, 28 Nov 2023 12:02:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701201766; cv=none; d=google.com; s=arc-20160816; b=djU9yAYXLzxP9JQNNySiXukzP8s+W/blDNn1Sv0JJRNXeIPXMEAodY4Q08fjKuJCS0 XXGGMeT8oZaOHeYqELU5h3lOWbM5rXZGjoc3/Xthby+Nj7ihtBUZZmjgZv7kzl5VNiOw nH9AuwylcXa748E2lI1+mfKe6/BhdzUSesgyugseCRsgOcIcWlKcpHEKxWWEBVptU2yz W27JS8IZAIzS4d/m2HnAr6PTggx7g7o0KJESQ4Dl5cjJ+GB7tQeYbCHRQ4wNk3kDgUeY Ir7hiqnNBACsPSkMvhy5BNKIwYicMVAv5ixwLqgEF2fPrSvTfP7sd3KEQu3k78/herCA gyTA== 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 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id e1-20020a17090a4a0100b0028024067027si13014547pjh.138.2023.11.28.12.02.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 12:02:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; 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 23.128.96.35 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 E248280A87C9; Tue, 28 Nov 2023 12:02:41 -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 + 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 ); 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 To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lucas Stach , Frieder Schrempf , 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: 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:42 -0800 (PST) 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 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>; }; -- 2.40.1