From patchwork Tue Nov 28 20:02:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13471657 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 100CEC4167B for ; Tue, 28 Nov 2023 20:02:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=z6oTr/17jK3G7Obw4/ipJIO3rWB8GA76cLhG2dlQBsc=; b=WZlQE6097GNesr ZvpiPqnHPp6D1Mydlu6KssYIvbJ7SEwr+1LxCvBvPaYG4RXOKYTzigDyK9MudbKB9BW0SmTbxv3AO guNA1a3cNGVFgvXmz0Z9SNZwITy6nSVc5iHb/2ZpwrQCsNMhsPMF0pBM7f/mXrzFufycgBHzD5X74 oz1ZZDE0/8C6n9JFMqHuLvVyUpHO/jj+vBG7Tu2O3fEp6LeNb/MApHOHhbIG4+/6t4cAeC5us9oma /PawkjnttExT8F7VbwT3mlJvyk/9L+R56dH9gU/vlVsAcavhWTPisHdwEnRJ++l07hJTRBY1wSsz1 1m1UwpJOXPjER8ElCgsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r84Hz-006CMG-0v; Tue, 28 Nov 2023 20:02:35 +0000 Received: from mail-il1-x135.google.com ([2607:f8b0:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r84Hv-006CL7-3A for linux-arm-kernel@lists.infradead.org; Tue, 28 Nov 2023 20:02:33 +0000 Received: by mail-il1-x135.google.com with SMTP id e9e14a558f8ab-35c7971a374so12578175ab.2 for ; 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=lists.infradead.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=EbS9qE6CWiwId4RpqeLtOe2rOHSQ4hV2HwObc4UR2gnCIc6cuw9LGfe2xTbJZLJM2+ exbPycIo0ADJPFTjPN7lSXBlgCOpDXr/9hvB0lnLvKAQQtofRLBhzIGaUFoUqNf2lN88 2JqgBw3atz1vemPulgO5pPukVYBD6mC41DuTzQiq1ig8hlKbd0bY3PqWDh/nVahNjWon wd+iXfkalbkLHpvKcOsWlNEZupidFciA5sYKKuJL0Tg6lJ82ts9cWdcZRS/H0WMOas24 lGHpxjoUE5uLPlB/1WpjPhbTj70IpBUQM7YA+VqDZHNnZpMlWELZvcGtfsEoZdJMUZf6 tl2w== 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=pRYteRW7PTUqY40s5MuAsyXcAoizc6K4Glna7K87wmTalWtMNcz8d1jeq7iZtg0QVi I890aJx7NLysMwc6xE1GdU6DkD1dOmWgMgQyx3DvIIejA/tyTeS5zDynOPwimiuoXCFw yvjbS5Zj7uobgufjfB6ejmVLo8F9fGBu0tHpZ+js0F6wihMtigc6cgOLPysRCVLG8590 fqHfvnHUBBq6OFr3qL5ZhVdkmt5FL6m51O+V5O8QcY54utlrxJIkdqA/VLrL+CGMeFdv RLtUk1zZhtOqR9aBol9zfiu0OOux2hCx10K5yv/4w0QMHfLglOfPL+wLTaayY+Wlsyr2 Y1bA== X-Gm-Message-State: AOJu0YwWUd/4xw06gSC295jppTwT/AxMOtIFUafn1rfCR1GoV1w2FrLS cBwfkdL1frRA7BnrRB7VyY6KogUUNz6zyQ== X-Google-Smtp-Source: AGHT+IHZGj5ke3/R+tG8VEDQtV0E80pXplfDmCyK5iq+kenlAQB37h7HH9a2y/L1fxlfGBTbIpPowg== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231128_120232_019777_E6B0A30D X-CRM114-Status: GOOD ( 10.68 ) 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 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>; }; From patchwork Tue Nov 28 20:02:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13471658 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 62E4DC4167B for ; Tue, 28 Nov 2023 20:03:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=EHfd5EV+A3AgYoYrwJdDv7y6QksiSNZIw0NYy3xGcko=; b=cl6TzcMSWhw/L3 R459w8N7p+C6GyZ8pb11QXbTOcqZ3NBy7M5mvSWNKkq/fI4+C93j5TlhbLuLh7NK2MuI1f/Z6CtoL 0/Yc8131NBWGDfFyruuJBwbzcZwAN1Jfm3g0G4ES+JFAR1NEvOjWQ2ISLriGYmT+5W5aO5h97Zbei kWfacqOZM1JT6yjMGINwoQ1Z1a4Ho34yre64VFrGLTt3GNZbDHoSduIAuWffG6R099QcyoVp6pybs UUe3UBh3RqWcLwvCN27hAYhYVEcRBXaKFFtPvvA+43ZbLynBQKeLuKfb9CD8B1FCQ2sC3gx0SnOxe g41iHg3G2QQvXC623rTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r84I6-006COJ-08; Tue, 28 Nov 2023 20:02:42 +0000 Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r84Hx-006CLR-1j for linux-arm-kernel@lists.infradead.org; Tue, 28 Nov 2023 20:02:34 +0000 Received: by mail-il1-x133.google.com with SMTP id e9e14a558f8ab-35cda5d68f5so8127615ab.1 for ; Tue, 28 Nov 2023 12:02:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701201752; x=1701806552; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XL70M8adFcOLLCGpHkIPZ0fFtu8Pki6s4ZjZx6Yvqu4=; b=ibzIW2IEd/Bz3VRfBKNZBdOQVQXJAJa9WM5U2RsPefrBTh42OA6cI+3YFB8Hw9dgY4 FgJZtyPme5rlxSgtunyu0QLb/91GkZAMXGIHWh3J9ny0v8zMcd3fmBTX+LNWzng34Mct yYuSEduFQTrW3HG5DwrTtHb2BYMO8Tb/O5SOsJ0Lz39NzdM/qCQQ6/Ms/bm2cyaC0lGa lO3CDr0FCLyPovhnIqjW1Wzt8C58B5iG6O4A/QPtLX8UyGlCRTUfvzQodfKG+E6H1xfX BSZvfbQn1J9cJhpMP+3ouz8KUVFBOisRUibgAasnJC0X0nix77oveAkmw841Dlg6FFZT zUGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701201752; x=1701806552; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XL70M8adFcOLLCGpHkIPZ0fFtu8Pki6s4ZjZx6Yvqu4=; b=H0UCS6owlEud1d3bIYsPLW/d0GMJwSeehuTGKzrqXgLEjVIC9W8MT/nf0dYdg5X3DS p5OR00owtFCLchWqYxJJqYkAaQoflfp1MeWfCeE3htwvw+RiGvARe5/Fdh6yYlQ/lSmH KQHV0vs5sygdeOwJxlK6R7W59Jux/la0atunEdXUcD5Rlmp8hSdE1bD1E3vjRdGUhWBE jtHBwq8+j4oPXm9UgSomdcmrN4fu+GkZBHAP1LqaOb7F/XQlAbVFOs3NQY62kflcvY5k itaBuEXFSlNVmnHftSJTm+lkypBfWHh8wQsL6nuE8BVtFGLiyo84r95I2IhzLw/bLI+U 6hdg== X-Gm-Message-State: AOJu0YyPDFRF37vhovSAxJ56+lLujKpCQYjoUv4znbAn+iQVeA0gBmkJ 9eajekAjB8mMH1VC9bzpeat0RDoCxiIsjQ== X-Google-Smtp-Source: AGHT+IEGeJdSVdfMenIfjs/XLyzvGUcDgc4QUTjM2yrzkgjJHalUKlctJKCJEhc/NEiqWHYeWdm07w== X-Received: by 2002:a92:d809:0:b0:35c:ae44:1766 with SMTP id y9-20020a92d809000000b0035cae441766mr11706874ilm.4.1701201752153; Tue, 28 Nov 2023 12:02:32 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 12:02:31 -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 , Frieder Schrempf , Lucas Stach , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: imx8mm: Add optional overdrive DTSI Date: Tue, 28 Nov 2023 14:02:17 -0600 Message-Id: <20231128200219.226038-2-aford173@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231128200219.226038-1-aford173@gmail.com> References: <20231128200219.226038-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231128_120233_575002_232CB1D9 X-CRM114-Status: GOOD ( 11.80 ) 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 For boards who run their SoC at a higher voltage than nominal, the boards can run several clocks at an overdrive rate for better performance. Add an optional DTSI file which can be included by various boards to run in overdrive mode. This raises the GPU PLL to 1000MHz, and the VPU PLL to 700MHz while moving VPU_G1 and VPU_H1 to the SYS_PLL3_OUT which runs at 750MHz. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm-overdrive.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-overdrive.dtsi new file mode 100644 index 000000000000..b31436b5e9b7 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-overdrive.dtsi @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +&gpu_2d { + 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>; +}; + +&gpu_3d { + 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>; +}; + +&vpu_blk_ctrl { + assigned-clocks = <&clk IMX8MM_CLK_VPU_G1>, + <&clk IMX8MM_CLK_VPU_G2>, + <&clk IMX8MM_CLK_VPU_H1>, + <&clk IMX8MM_VPU_PLL_OUT>; + assigned-clock-parents = <&clk IMX8MM_SYS_PLL3_OUT>, + <&clk IMX8MM_VPU_PLL_OUT>, + <&clk IMX8MM_SYS_PLL3_OUT>; + assigned-clock-rates = <750000000>, + <700000000>, + <750000000>, + <700000000>; +}; From patchwork Tue Nov 28 20:02:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13471659 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 00FD2C4167B for ; Tue, 28 Nov 2023 20:03:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=q16+JjpiWsI5h+Z39Igp6D07mvN/5URMHSoAJVJWjuI=; b=fXfRtTTMBodNCQ LP0ZyHZSPBAQp3QNVPm7G4OyPP5Hhf26zq19ySrrIJvW1pD4jXbw+hkkmWAIAt2wOOwP5SkJjEESU OLEuq6sYNFqMj6FKB5ii9z5z6RmwOPeXO/Zvd95iXkFsvj81bWDW6XrO8QzxPEfOPDiKC2oFVVNVd n+21fohhpJHNrsfrtDA9/Sf7WrfZ4/SlMYSTWg0GjhK+usctsjUYLdXOt9NQDzjBW+3wRI3BnVW2j 4gSo8L/fKuibYvkSHEkPALo7O+WoFi+krXgqjH4jxYwB/JezSwCklXaq6YIhB2gPIuwtHCvBxIRmV 64YqxO92krtxqnlRL1PA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r84I6-006CP5-1r; Tue, 28 Nov 2023 20:02:42 +0000 Received: from mail-il1-x136.google.com ([2607:f8b0:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r84I0-006CM0-0J for linux-arm-kernel@lists.infradead.org; Tue, 28 Nov 2023 20:02:37 +0000 Received: by mail-il1-x136.google.com with SMTP id e9e14a558f8ab-35cb5b21c41so10610845ab.1 for ; Tue, 28 Nov 2023 12:02:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701201754; x=1701806554; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5tnM12/4j0Y+uLQFwEGrW8QMTCft1ueWMRxbG+QvaFE=; b=Edwf3QfXqdjR40QsOtAHF7jY520mvk/A4hE6x340cEN6b9b359DkhK8t7D17QSC71K rSSOkgX7SRJAtzb0+r7eVHDm8fl8FuypJTtKAu4K/3XcnQEeW6h+kcd/uQJ8ODM+3Xdz BL9mAB2OOwUyArt97FuzdIZzoQm1UnDWUAFsB4DBHXJjxx5OujGNxu8lrkfRb0kBD4v0 Hh/VHM8L830ko2rfdNLc3NpYg8irIDl9k0qv6c1F9f1AXTxyMwbFiD7OXEq4wCzjKQkz 8+b8CJH8vwQNKW0Zjuc+9xilkWyNFHTUu9hJ1PryjAhOuZyjJPuHACrbg8QrgDhZVZCk 1/pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701201754; x=1701806554; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5tnM12/4j0Y+uLQFwEGrW8QMTCft1ueWMRxbG+QvaFE=; b=VZEGMiDDvDyCyIT4C8rtbPK2CE4lW/iq+hiVsoSMD2hAdH7WaJFxgyGKf3qWifvE8O M40r+8QSBqn+bXEeNTFybTnwgfBc29uFzNP+e6VkTlc56GGB6jgCxQAurmBMXrPpTg1z +hCFyromgQ2pb0159J+cXw/4Fk0682lZYdH3JeMVsC7wMmMg7bHoRDkus4rwcyHH/h68 5d8weWXfhWOv+9KjuUDaF2CaOFehF77Chq6o/Xtu0UK9S1WKUKR3rogmaw6fUfiOg5Vt l8rmylc8+5M7ETTgQuetn4YCapE+rpB9eop4ibfmW22EUH74KgBUkMvEAYXE3Y5In7Sw krsg== X-Gm-Message-State: AOJu0YwMEWQLKHp6RxUPt7zzZmRaZ4A8sqeThfSWIVJQ1qTN6i3crRWX 6RhWpOfn85ASzYR3em+00k7q9jurGU8TjA== X-Google-Smtp-Source: AGHT+IHgeNNuAfEhRJ3eVYTVUQa6XM8bmE4W2LGAdkFF6E4X78yV+YYvMT2WkHVR9HQXxIrgA0hD1A== X-Received: by 2002:a92:ca0d:0:b0:35b:c7a:cdc5 with SMTP id j13-20020a92ca0d000000b0035b0c7acdc5mr26703331ils.26.1701201753991; Tue, 28 Nov 2023 12:02:33 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 12:02:33 -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 , Frieder Schrempf , Lucas Stach , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: imx8mm-beacon: Enable overdrive mode Date: Tue, 28 Nov 2023 14:02:18 -0600 Message-Id: <20231128200219.226038-3-aford173@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231128200219.226038-1-aford173@gmail.com> References: <20231128200219.226038-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231128_120236_136961_E38DD7B1 X-CRM114-Status: UNSURE ( 9.05 ) X-CRM114-Notice: Please train this message. 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 The SoC runs at a high enough voltage to support overdrive mode, so include the imx8mm-overdrive.dtsi file to increase the VPU and GPU clocks to their overdrive speeds. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi index f264102bdb27..62ed64663f49 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi @@ -3,6 +3,8 @@ * Copyright 2020 Compass Electronics Group, LLC */ +#include "imx8mm-overdrive.dtsi" + / { aliases { rtc0 = &rtc;