From patchwork Thu Apr 25 22:19:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Morrisson X-Patchwork-Id: 13643992 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 52F2DC10F15 for ; Thu, 25 Apr 2024 22:20:09 +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=eg7Z4tRe2wo1Ug5OmiHfsW60nFCI6YiKEIYYYDFIdrU=; b=tNNQ9MsmYYCAX5 ak0WvZbhta7IepKILMVa3ppbIuKDU5TBqcSjQd+1lD15ZvOIyidRKJ0P0DvLij/7NscGN+SZXRu2k OIrReb1s1pAnxNN5f81YNBVmV8Txh3OlAB3rYA4rgeyZa3jx2bNCeYE+Y5i6jKnMU4NUAkdL1KLzC G5xsZUnioQNjuUBsC5TV6ujtcbfWpu90eyCEUCeyPEvcFd8Jg6vlOFXsJ5s1UanQ4lvaqYARZKQSF 1zF/K8Xz3XxFfpbyseqzYxvl1YJGhyRqYpkJByZ4uFPY+tvZ7V0LKv0919zRFYf+qo9ayzlcra3my MvN9LvfFfPqWzLKjeRuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s07Rb-0000000ASTr-1mhL; Thu, 25 Apr 2024 22:19:55 +0000 Received: from mail-mw2nam12on20701.outbound.protection.outlook.com ([2a01:111:f403:200a::701] helo=NAM12-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s07RZ-0000000ASSM-0qos for linux-arm-kernel@lists.infradead.org; Thu, 25 Apr 2024 22:19:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z/mPAU7XM9f8V9F/HfN8lnhT5CrE9Gp0+25YU7+ZfKu/RJRHfZeOWIAeTRqFipvVGl+eE3K0qSeK4kJKh3SXdPsJCZqw8LTVGUjOyiy6JC4KHlnDHt8RRapoosTfiPIR7MGlfpMVdDBiuq7ImYksGWuwRInp8x3H8CALG4drzKi24artk2+y/32EihH5LvEyPUqHvNhMM+tyoU1sc3and0tddJD4/l+JfhLen5m0O1SzWv+mwMdpXc3LrcLNfyJw0K2B+8RiWWOI+dSFTmyJfzHYCXN4JNJgAzX2vQQgUVbma67Nxe7LuY72/G5L1OGTbVASGva3b0lzcUlTITpZfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wxBKqmei/HDOeVuE4OSifdei5QFeAwvtF0/M26I+N/U=; b=kGrd4ynRpq9ftCB/kq0s9ujYShEwjYsE/Fn8eswEKfTe9hJtjuqUJPwC1uhXUFwnARUoHqXRE9S2O1xH1fA3KuFK3ntU0D9U/JyfDQjgeJKcOgPYhLK9HwigqS2rf/BzxZCBNWw5ME7fffnQu+PAdAJH/nDIac+BApVdqxs2ADy4IfYt1I6jSs7u2SywNZUdI5JlNPRiL1l0VvlB12NG8HrYiZe6mi5XKU7Wz935jt5eQteRQBkfVG2Pw4yjdWJ8o1q+tTw/EiF/ZgxQeiKVPD9fs+qxevHvZWxAFzCsPbNcUctf2GlblQXF8HURLau4kMJElN4hEC55IzswkoRyRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=phytec.com; dmarc=pass action=none header.from=phytec.com; dkim=pass header.d=phytec.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phytec.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wxBKqmei/HDOeVuE4OSifdei5QFeAwvtF0/M26I+N/U=; b=EqeJgbq3GQdgpAuclgkX0mPMjsl6PoL1Y+RuLs9wF5CmATRyAOWJVW7MeaA8bpW4U+Vm8tV+LfMBmdj6HvfPxfnpF9TkvVt0QSRhfbcb5V6gXMdQ5vyjR1Xe2X7dga4QkNEihb8oUfqJSLMj2cwOG2JGNgTXWkJ9mE6DKDdLNpM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=phytec.com; Received: from SA1PR22MB5636.namprd22.prod.outlook.com (2603:10b6:806:3e2::15) by LV8PR22MB5889.namprd22.prod.outlook.com (2603:10b6:408:25d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Thu, 25 Apr 2024 22:19:41 +0000 Received: from SA1PR22MB5636.namprd22.prod.outlook.com ([fe80::e6c9:dbd4:f002:212f]) by SA1PR22MB5636.namprd22.prod.outlook.com ([fe80::e6c9:dbd4:f002:212f%7]) with mapi id 15.20.7519.021; Thu, 25 Apr 2024 22:19:41 +0000 From: Nathan Morrisson To: nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de, w.egorov@phytec.de Subject: [PATCH] arm64: dts: ti: am62-phyboard-lyra: Add overlay to increase cpu frequency to 1.4 GHz Date: Thu, 25 Apr 2024 15:19:25 -0700 Message-Id: <20240425221925.1781226-1-nmorrisson@phytec.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: CH2PR07CA0015.namprd07.prod.outlook.com (2603:10b6:610:20::28) To SA1PR22MB5636.namprd22.prod.outlook.com (2603:10b6:806:3e2::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA1PR22MB5636:EE_|LV8PR22MB5889:EE_ X-MS-Office365-Filtering-Correlation-Id: e1acca03-90a0-4b81-f435-08dc6575cdaa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GK5B4jSp5HcivChgw9Yv3ApCE6+CBIfEy77lIHH4fMFiOoGYu7xGoll92bqnTB848ePqEUy7iDg9ajm0h5b0ARAN5EsuLLnnyp7b0HTpB4QMWLP8x0YpYrZHjz+JlusvxCJCtZ9Nbao4XQcIin5Iw1pOG5ZG7ohv5tsdSOV7pmCdhxLcPfJpcMgspcqtwyhj0F4/733FMbPD7wZNMCTfSzyDmmOVWxEJ9mDkpKGZehgzI4t5ktySayiMAwkxR0ZD0vspfYCdLn9b2gatF9rIJ+Ymz+mobtOTCPmLNOUwYU4eknMfRss/7IdlzojKHKSudWvP5gEzEBoYVlRCITAWntwcsjl19DaMLF8WZqmYUVpp5UMSI2MWd5+nctgfIurpnzwMoxxrn0JEZN7RIuJvprVaQSHY2wXVcHVUHhoMZBfBWbJd1zfmhi9mWkPifdux6fZcQS1DL5nCG3/BTyoV12p1g9pqbVhtPaz9nB6CnRNRrkOh/y7V7WJOTCyryDSyB9R7Hv7JOtjtK32x+IAGGyhLK7pfBsJOi7a4OiNGDIhg6z1/MzX0phR4Xt7l85NOOsRbS8/HRGM5wQHMt0g68BT8SF/pThZ9I6NPoY4lZZIFI7vLM1qrKQMpCEyiumwG9/F9S02lL4pqbhOzMWLQahhs50v/pDpeC9iM0MFiMNCZ7CT7s9SInQetfVo01ydv1yIZAHYtJ060wz4DxaKh8XeOjNlXqvlxbWn0q/enbFEG3kLPaD/EPpnnBR5h62N9LGrq3Eftvv2Cth3s9cLEk3KQVqRN5t18v6PMVp8XlJNH1nf9MYYnyrGcuVDKwGygNDDpFK2INFyAxm1pYe+JvndaHeNxi1Hv+p5ROWZCoA8GiCWaK53ePh5j3VdVnZqPvm01Vh5WgOoo+8RBAlh0OTRfyxciGi75vFzzc4cqZEM70z6lZhbf5Sdrwe0Zl/mH+P3MT9ip1TYlUP4FI2BA9jTUX6i3UT0DHTVb4ExJjNEHCkIcBPzk6ScUF270P23pZB2DPAiNpk3Qn2MnHJq2PMnsg0BYdhg30IU5D/iTa+uCis0iARK9FvjFq9oL3BG83/nQxbxhQS8nr7uJPBBpEUsPNCOsy4H6Y5iZY7xxya7CwXGppkHSDcIt8alVRMGBEDlBNnKfSUc44sRoPGvXlhV5Ep2xNEb6cpcUjES1cfEDCXA5guc4hffckv9fljtnCopFRQ0kkqZtTqYL7bo/dGqNMj6hJjvuf6N8dsZPesnO46I2hgh1sfcS90SAKwPWNOkOybyCveRcQ66q76sRInjIP35nyfCoNkM8PJhc2S/W414sdqqYFwa8aXx9raBYkYQRF1R6mEhbuPR8/9UfUw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR22MB5636.namprd22.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(366007)(52116005)(1800799015)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qKpPyhwNZqPHnndBFn72PavyIpbGBKus3VgX5qYL7nYtU+HtuwsaHLcvmmKJDjZ5pIwMVKWV2FWGAMTnhkedBM9S197LUr4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WEJoqqNZ+Ho1nGtq9aUiXr5sNIZ6uFhtE2JQdNz1LwV09iEAWLqsKmqo2NXiVDbhYVVPBR1pbDMJflv/kfWT1rSJrBk0s1KdHrMlP/++L2H6W13DCP4hGFZxzDEkC+ZYJ3iTJxSgSKiWrnphDy2kYISyZwOtrg40pmfVVDHTuqi2/uwyWGWWAmBPgAcOmeDWeqR0YzgAIy5fUm5/Ld9y7yNCufpD3L8sq8tuiU4RV9TNMKAgN+lvMxqbTNIWW9jbJ+pSQc19Fh3o6k12vtO7SA55kRM+Tz2D/9Wty1m270hzT8szn5pKO0JAFjtIZ9eSTsavKcAlL39ImgQqGkZ9Qqw+fLNRndbHj2dT4adNRcZmJnCNKQwoIJ9pSU2uQ3PGeFClavFkpPNZ0Ajwj7xrQwvjS1xzv8fo1SITT41y5wH0 X-OriginatorOrg: phytec.com X-MS-Exchange-CrossTenant-Network-Message-Id: e1acca03-90a0-4b81-f435-08dc6575cdaa X-MS-Exchange-CrossTenant-AuthSource: SA1PR22MB5636.namprd22.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2024 22:19:41.7742 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 67bcab1a-5db0-4ee8-86f4-1533d0b4b5c7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fwmDOXEkaRamHn50WCJO/PXNegjdrqBVyuH+q8e6Cm7llf6CN6VeOGHXhyvS2uLm32s0kY65hwl/k+IZwHDWXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR22MB5889 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240425_151953_348762_A913698D X-CRM114-Status: GOOD ( 13.67 ) 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 am625 is capable of running at 1.4 GHz when VDD_CORE is increased from 0.75V to 0.85V. Increasing the voltage while the AM625 is running has not been validated by TI, so we provide an overlay so that people may choose to run at 1.4 GHz if they need the additional performance. Signed-off-by: Nathan Morrisson --- arch/arm64/boot/dts/ti/Makefile | 3 +++ .../k3-am625-phyboard-lyra-1-4-ghz-opp.dtso | 20 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtso diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index 9a722c2473fb..725f7e44f76d 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -22,6 +22,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dahlia.dtb dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dev.dtb dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-mallow.dtb dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-yavia.dtb +dtb-$(CONFIG_ARCH_K3) += k3-am625-phyboard-lyra-1-4-ghz-opp.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am62x-phyboard-lyra-gpio-fan.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk.dtb @@ -106,6 +107,8 @@ k3-am625-beagleplay-csi2-ov5640-dtbs := k3-am625-beagleplay.dtb \ k3-am625-beagleplay-csi2-ov5640.dtbo k3-am625-beagleplay-csi2-tevi-ov5640-dtbs := k3-am625-beagleplay.dtb \ k3-am625-beagleplay-csi2-tevi-ov5640.dtbo +k3-am625-phyboard-lyra-1-4-ghz-opp.dtbs := k3-am625-phyboard-lyra-rdk.dtb \ + k3-am625-phyboard-lyra-1-4-ghz-opp.dtbo k3-am625-phyboard-lyra-gpio-fan-dtbs := k3-am625-phyboard-lyra-rdk.dtb \ k3-am62x-phyboard-lyra-gpio-fan.dtbo k3-am625-sk-csi2-imx219-dtbs := k3-am625-sk.dtb \ diff --git a/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtso b/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtso new file mode 100644 index 000000000000..6ec6d57ec49c --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtso @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2024 PHYTEC America LLC + * Author: Nathan Morrisson + */ + +/dts-v1/; +/plugin/; + +&vdd_core { + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <850000>; +}; + +&a53_opp_table { + opp-1400000000 { + opp-hz = /bits/ 64 <1400000000>; + opp-supported-hw = <0x01 0x0004>; + }; +};