From patchwork Fri Aug 23 21:54:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Brattlof X-Patchwork-Id: 13776056 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 AFA88C5321D for ; Fri, 23 Aug 2024 21:58:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:CC:To:In-Reply-To:References :Message-ID:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GRJC9SyS9QLJUTZdr4vYma9xz4pt8hEyFK2dYDEhi5k=; b=OAYGupl6uSK8JSehVFe2EBA8S4 WSSgLNSCBqflkqpkqkdoPwhCOsX16s6rGZOcnP/tOJI/4EPbEQOnngsnXkTKF1tW9Cdz8yWKirCUu WUQ14gI9z6oigSNs99QD/BgQnH+fddaKhVjMpnxnUlqF7pz6P8/IP0gPkoSnVJMMlIHJMCQIJ/BN3 I2BVnbBRAzq3Z9HlrxpD8CNI+sZzAFK+q3ZL7pb1eWQFL2gtcd5rbIGvX6LYwsHkhXs3pQLL95uxf qsnCmn9oe+GMknhkibs7jKgBo2oD8SbDsN6Adkz9rzWa2S+iHUcZBPzH+6Os0x5nI1QKjjiJVK+PB AHM3PTkA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shcIp-00000000ma8-3SEa; Fri, 23 Aug 2024 21:58:39 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shcF5-00000000le3-1Xss for linux-arm-kernel@lists.infradead.org; Fri, 23 Aug 2024 21:54:50 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 47NLsarR036083; Fri, 23 Aug 2024 16:54:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1724450076; bh=GRJC9SyS9QLJUTZdr4vYma9xz4pt8hEyFK2dYDEhi5k=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=GQzB6KVb2oxapzUCWfcLa1x+rXAbwlDWgRQmW/r6xR2sHTegHNgAahD5z7Q+g4Y6E CGd1bGROW6UmcSLT+vlNUjb3GP9CNOqnKIZyyU1vmKsLqoAWPpw66U1xmVapIVXSo7 46N4XCXSS3gDsG3qWYNAwkwzhdOJqw/Cst7DrpO4= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 47NLsa2q000571 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 23 Aug 2024 16:54:36 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 23 Aug 2024 16:54:35 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 23 Aug 2024 16:54:36 -0500 Received: from localhost (bb.dhcp.ti.com [128.247.81.12]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 47NLsaSN112989; Fri, 23 Aug 2024 16:54:36 -0500 From: Bryan Brattlof Date: Fri, 23 Aug 2024 16:54:31 -0500 Subject: [PATCH v2 4/4] arm64: dts: ti: k3-am62p5-sk: add 1.4ghz opp entry MIME-Version: 1.0 Message-ID: <20240823-opp-v2-4-e2f67b37c299@ti.com> References: <20240823-opp-v2-0-e2f67b37c299@ti.com> In-Reply-To: <20240823-opp-v2-0-e2f67b37c299@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Bryan Brattlof X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1016; i=bb@ti.com; h=from:subject:message-id; bh=bXpWBOVIv7fMozer63kJ8yepA9QERXkOsgPC03Pw0Ec=; b=owNCWmg5MUFZJlNZ3AXP6wAAYX///vbbH/X1rj/e8OXv38Hitv2+V3//De+n/L6r9jfX98WwA RswIepkAZNDRoepoADRoDQ00NAAAMjTRoAaGTQBoaNNGjRoMhppp6RoaaPQmT0mMmog0DINGmmg 0xNNDQGh6EMGkaGjIaAaBoeo0ME0wCGJo0AGjAgYhpkAAAHIaMmmRppoaYQbU0DTTRpgEAGmRoP UDI0GQGJiGmARiAAaMEAAABoaYGDTAlFI48gLEgS3ciBclt4dvjQBfEEgQASG2OBhkSRAJN9AVh Jg1qMDN7wufW6mWTjA+IKUsEPuzr2iLS4LHntxlD6IMVGwCdH5wKifAVLg2vEgtIlpNeQb44Zcb ePvNUEKcD/4HRXdcDm/N4Hlu5Amd1yVW3TYwYPnWURMrCtU7a98AFIwBHpyDDpwMJAsXMO4PMUi BCDSz4E06eIW53bGRHCIrtSjnnhycCWYs/JKpv1iTYOrCPhDJtgTMsmIPFsKPlf2M8pyyemFh5Q YXpx0AASS0JNkvjpm2qt2ds/RGWW2TIR00kTrVLwpmek2weZU4QOxUYIcE/KZDhtXNPppMEz/b9 uipUAgxThgLQyh/9IojQrkVXl+D+ZA5TPX8HhS0YPFvUjcOAhyDJIYUfDTUNUXCIQIocZcX4wN2 B/D1v+LuSKcKEhuAuf1gA== X-Developer-Key: i=bb@ti.com; a=openpgp; fpr=D3D177E40A38DF4D1853FEEF41B90D5D71D56CE0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240823_145447_558556_22E52714 X-CRM114-Status: GOOD ( 10.31 ) 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 AM62Px reference board is capable of supplying 0v85 to the VDD_CORE which allows the Cortex-A53s to operate at 1.4GHz according to chapter 6.6 of the SoC's data sheet[0] . Append the 1.4Ghz entry to the OPP table to enable this frequency [0] https://www.ti.com/lit/ds/symlink/am62p-q1.pdf Signed-off-by: Bryan Brattlof --- arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts index ff65955551a32..ab5d7a5fc6118 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts @@ -128,6 +128,15 @@ led-0 { }; }; + opp-table { + /* Requires VDD_CORE at 0v85 */ + opp-1400000000 { + opp-hz = /bits/ 64 <1400000000>; + opp-supported-hw = <0x01 0x0004>; + clock-latency-ns = <6000000>; + }; + }; + tlv320_mclk: clk-0 { #clock-cells = <0>; compatible = "fixed-clock";