Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4155074rdh; Tue, 28 Nov 2023 13:26:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IHN4muTnPtzqeLqi/Qw0h8kRALJsi/Xj1TVHOYdMcY9MD5/e4BiG/AhHp79mmjez54F3fa2 X-Received: by 2002:a05:6a20:8e10:b0:18b:a1a2:854f with SMTP id y16-20020a056a208e1000b0018ba1a2854fmr14809224pzj.49.1701206778020; Tue, 28 Nov 2023 13:26:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701206778; cv=none; d=google.com; s=arc-20160816; b=lYataJAb2ogbdjR8/Md9EOo/lNeSGn5iyrNdyU/a1vHS0m0Ob1i4c7seRU7CWidSa2 UFVfAUYEKiaTS55FdrHYMFpn+7k+wLk3lWWB6+3IX8p9tI76EYXRWUn8f0LqPP7L5gNp kAG8azbeO/kfHx6BhH4KomPcLjl9TqzhVSZPjU+duia/XyGD/T9HesYwVyvXFWDuwxrQ gOXkf7hc9gUrrpW4VGTdLFbgT7wSMejud37FRF/F1lbwH3bajN/p2fjOYW0J1CVN9H9O +wNG0P5MbluXCK4hzaUMWuXNYRFwTJQl/uWN9WuUntTtlUjrZ1Zdq94gGdTUfKJkyZTc wTAA== 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=UL4SChusK1lb/YwOQOEddQGq0wDopSfaIQXyfIQ8Eac=; fh=gC1cZmlOWiS1CLlwE/YNZ24shETpOEvzCi+90KMez2U=; b=XQsxFFFqWMaEKuDICCOBPvh+X3e4RW7Qs+c8nta6oMuSPu8xBZNtPM8FlaGqkxxLK0 lAi6omnk4kDr1kvqi6+XiWfVo+WiAQRz0Pzckyr1JB7fMTRdQrWIukPtRPnnyGX9cSXw zYefsBDLHRuaAMr+PT6PcO3NI0geNdF5JTFie8UuDSjig41g73M1FyzHGtGBQUIK75xg sL8lwXKeuBsdTLd97s1ByGwWP+eoOJTKnqA2iXztHfb9Cb3+CtQSGvX6uS/a7ZJxY8FM mmmGzsilsHwerVSQKlT55yHM21zWgDAXl9TBIZLeCcm3HwMbwM8/0fU/ip6cioOrXbMW ZtpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=masbeh8U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id p9-20020a63fe09000000b005c5fe04e4edsi559167pgh.78.2023.11.28.13.26.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:26:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=masbeh8U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 887F98048C1C; Tue, 28 Nov 2023 13:26:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346267AbjK1V0C (ORCPT + 99 others); Tue, 28 Nov 2023 16:26:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235016AbjK1VZl (ORCPT ); Tue, 28 Nov 2023 16:25:41 -0500 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B859C7D84; Tue, 28 Nov 2023 13:18:41 -0800 (PST) Received: by mail-il1-x133.google.com with SMTP id e9e14a558f8ab-35ca9a9719cso10908175ab.1; Tue, 28 Nov 2023 13:18:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701206321; x=1701811121; 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=UL4SChusK1lb/YwOQOEddQGq0wDopSfaIQXyfIQ8Eac=; b=masbeh8U9VmFJHd2cs1cAfXkTnc1KLpYf8TgJR5u7xXxQlY2QzeeXthtb7SZPRHBrA W0L7slCw1xuyDnJtcbsRL0R62sKFixgd4AQKL7ryBF/C2fiJ67kzwrgBqYTkq7e0L3hE WbR8wGvLURtRqUYLHecp6J7q1aZmrbgNP2FI5bujFexraVEyJ0aKY2SE6ovl3cvBgeCb 977NZj4x8+edMDncJS1QXv0i9fW2AhCxua+6LCTyIzQEbrw7G2ghNNXvNtNv3WuVOWOt y15raKYRUvm2kLT0V9XmcQ5oijlidCiCsmPiJkpYUkaCMxpnviaE2nkoahmTTm1o144u 4YkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701206321; x=1701811121; 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=UL4SChusK1lb/YwOQOEddQGq0wDopSfaIQXyfIQ8Eac=; b=SvRKIkX1bCS7l8c0SGKz/gU1lbG12VoFvOfCaoN3Jn8YeYIMmC1F6hXKT5i8pkEblV GgxE6e2lkjEfEgeZzfOxKTfT5TBx3o4ruqhZGxjZAIbQh3ABoXlFSYUK5Bm69UiOKAKC YTAIDduRrtAqdY6liroPwg1CjkQsTXi9xzKsqTWQRkICLqEitWQbfv2SaVuvURTk0b1B r//JwJyPIle29AQgGcdU7bUjIOwFtfDDmTcHXXJiCm4ODOVx7mz3hsnftIuyHtKgMd+J OYUrqGQEc5QJES/nt6rcF/ZIey4dwGzNyVRS3rxI1NgI1/RNk8rlPOsPFGJ88vTrVpxn Zwfw== X-Gm-Message-State: AOJu0YwWop7CjocomSVXdg17at/OG2lNHDjTEuLx/PKIfOcxUGPz3zEL sBU+CmK/1c8ldeEVlcXXFqA= X-Received: by 2002:a05:6e02:96f:b0:35c:ece0:75bd with SMTP id q15-20020a056e02096f00b0035cece075bdmr6507603ilt.26.1701206321002; Tue, 28 Nov 2023 13:18:41 -0800 (PST) Received: from aford-System-Version.lan ([2601:447:d002:5be:9cf:804b:3499:a67b]) by smtp.gmail.com with ESMTPSA id f15-20020a056e020b4f00b0035cb9b85123sm299991ilu.46.2023.11.28.13.18.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:18:40 -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 , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: imx8mn: Enable Overdrive mode Date: Tue, 28 Nov 2023 15:18:31 -0600 Message-Id: <20231128211832.313544-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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 28 Nov 2023 13:26:15 -0800 (PST) The i.MX8M Nano supports and overdrive mode if the SoC is given the proper voltage. Add imx8mn-overdrive.dtsi file which can be included by boards who support the voltage necessary to handle the faster clocks. This increases the GPU clocks from 400MHz to 600MHz. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn-overdrive.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-overdrive.dtsi new file mode 100644 index 000000000000..5d03fb893e90 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mn-overdrive.dtsi @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +&gpu { + assigned-clocks = <&clk IMX8MN_CLK_GPU_CORE>, + <&clk IMX8MN_CLK_GPU_SHADER>, + <&clk IMX8MN_CLK_GPU_AXI>, + <&clk IMX8MN_CLK_GPU_AHB>, + <&clk IMX8MN_GPU_PLL>; + assigned-clock-parents = <&clk IMX8MN_GPU_PLL_OUT>, + <&clk IMX8MN_GPU_PLL_OUT>, + <&clk IMX8MN_SYS_PLL1_800M>, + <&clk IMX8MN_SYS_PLL1_800M>; + assigned-clock-rates = <600000000>, + <600000000>, + <800000000>, + <400000000>, + <1200000000>; +}; -- 2.40.1