From patchwork Tue Oct 1 07:19:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garrett Giordano X-Patchwork-Id: 13817571 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 8C3ACCE837A for ; Tue, 1 Oct 2024 07:22:38 +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:MIME-Version:Content-Type: Content-Transfer-Encoding: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=iA5JLsK0cSXQX/t5KOVtEaEJ5lhx2wfrOw0hmOlAgTg=; b=Ew2GmHJ8FCBn4OpnLhpMD6CUkr SLaSERkWsiQrwUXQpYzKhQiTHJRtqw4Qwshdiq0laHrvk4b87YALKuwvlQq4iWBBsXhmcX6ngxM+a UNCQznSOO8PekkisrD4W5Q6C0PhE4BeKTAP8l+5X+XZT30EyIybIm0yLtt78HkMtMfRBVNiUwCttL YMCG0UmoX5wG69d+ymJ/HPtUfRY0vcopCtoODSP4KxgyZTGudM3gvoBEVH48OVElWkG0UE205ONGQ FHFtwWOL5+2NzSAalsEUS3G5W3490tXtO7zNa/v0Mzbdsr9O3iZLU+LEKJnKPE411iQaQl+09OTY9 1QgdyzPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svXDE-00000001syw-45A1; Tue, 01 Oct 2024 07:22:24 +0000 Received: from mail-bn8nam12on2071c.outbound.protection.outlook.com ([2a01:111:f403:2418::71c] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svXAr-00000001scK-43C2 for linux-arm-kernel@lists.infradead.org; Tue, 01 Oct 2024 07:19:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JbMA/4l86hhC3WSwqYNnuE1De2SsOPNg5IU62AGoBhltK6o4V9BE/50uVxwpb4CTDkobhBngG2cgQHgNs3dWWqelHPy6dlrB+HDs3mOGZbKEgwnMOJr9zsfEzHfLHOHBNI1GWig/Ps2czs03hxq5/v4rpBBdqAN9VwDdrbFMgrlcDJgWQOfPmBbOCdsupZOuIYS+dBop1UzqvSMg3XA+nzdCGLRkMMKn6SGf0TQwugoaPDK+u5NNi4G0rHN7osonlQigWa92Yw4QJFzvb1jvFTgrpZ20/n+zW8sv4bvUaXtdkArG9Kx948e/kavUm4I9tleQLA26O6p7IJ2i8x+Ptw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=iA5JLsK0cSXQX/t5KOVtEaEJ5lhx2wfrOw0hmOlAgTg=; b=Q1u3V/vKf1LeLh34bFZpZP0CzqTqPVD1P8uXHPTYvJ9qnY8LuKajhsy3Ebk/T8nA4cB90J/VHvMrPzTPVJqLX7fgz0gOGV6L1Jb5fcQsTZuEH8FXD/uvdpkam7fNm4NZxMgvF11jzCBA63E+ApVb6+vfZv8eH7ecFiy2RR1V4gnmcDJAH7yFlhhVrmPBAihA+vmFrF0MV8EQhhZstgGFe7I4hm9LhJpCj9l4hd4Ow9OB52x4C90t73nQWXHgzIcoZqXoc3xnBXHU7W/2QQ6VEbAwVKT4Rn41bCH++fJCP43AgxXHd+46xMfJsmAEMWN4nJxF0kuwhuyXaV+FARUJfA== 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=iA5JLsK0cSXQX/t5KOVtEaEJ5lhx2wfrOw0hmOlAgTg=; b=E3bzzzEbRD9misMphNBxPN083I+YsIQX0ccI6h/U9zvHK1FJQjcg5pabjp58L487LvF0XmXV16hzj0jw8p5ZASsb/y2K1qSIHcPt+YU1bcO/rcB/HiDuUxNbKvZRXUc+m/LYmUg46uxcNgaeH28MUj4zGiBgi234qXJaQ5PLMEw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=phytec.com; Received: from SJ2PR22MB4354.namprd22.prod.outlook.com (2603:10b6:a03:537::8) by LV8PR22MB5551.namprd22.prod.outlook.com (2603:10b6:408:232::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.28; Tue, 1 Oct 2024 07:19:48 +0000 Received: from SJ2PR22MB4354.namprd22.prod.outlook.com ([fe80::789c:e41e:1367:383d]) by SJ2PR22MB4354.namprd22.prod.outlook.com ([fe80::789c:e41e:1367:383d%5]) with mapi id 15.20.8005.024; Tue, 1 Oct 2024 07:19:48 +0000 From: Garrett Giordano To: nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh@kernel.org, krzk+dt@kernel.org, w.egorov@phytec.de Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH v2 1/2] arm64: dts: ti: am62-phycore-som: Increase cpu frequency to 1.4 GHz Date: Tue, 1 Oct 2024 00:19:15 -0700 Message-Id: <20241001071916.1362213-2-ggiordano@phytec.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241001071916.1362213-1-ggiordano@phytec.com> References: <20241001071916.1362213-1-ggiordano@phytec.com> X-ClientProxiedBy: CH2PR05CA0069.namprd05.prod.outlook.com (2603:10b6:610:38::46) To SJ2PR22MB4354.namprd22.prod.outlook.com (2603:10b6:a03:537::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR22MB4354:EE_|LV8PR22MB5551:EE_ X-MS-Office365-Filtering-Correlation-Id: f54dd8cc-45a6-4dfc-d7e7-08dce1e96ed7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|7416014|52116014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: 5sMb0FmYu6sIUQrrsER8cMxp4oQ4Edeif3Fd4BqFrAvK6xa3lynFPtJpEnpThY6PYvTx3sIcJ3Fe1P0qJR2QmQY67zepxHf1bTRVKLywBzGYRBdLbNI/owLvSPyRYaM0IleyNYC+wQY4Fn0m1/L0IkFlnUbnnaf46jhZNxNG0WDHZC4/3pIUEOBDIqoXzmEd7S7R++1PF2HwR/O0/s61U2ByDNNC+gvlZL4yqg3TVU70VNxSYEAHo34TkpYP90eWTXIPDSarfsnkSGgHwayRM1gNyUOtcvM7uR/UWRmULgbq1SSA0U7qRYjxqjct5+VhR4c2BHY2SwJQAVS+rDaWMo3//3vqSjMbY88SfBLE/OorjH2P621ru1YePp2n+F1OsS7e7Ksc2m1O0tHqf0JC2FbJ/T8k0WnWnRqu7oKfnjD8aiJEr2FtSowRGeh1C5WdSmB9xhXICRB0c3iMYtQjUo5Duz399w1VqNvBNkRtuuk7nLrOXmImop8+4KXCSxjoqTj23W+uGgek3NNFkYLg0EX0intfRe6wRITeU+d18dXqayLdxw71jmsnfHurz3azQ50GfVUqi6GQeH3610nJBxSaiWX39MfjjmwyA5XI8wmeMAyMgj33K1FnUQhFPfT72YfgEosxDNvPjGW8q6a2DfdWFQ7NXM1PN+oDWJYCy24DrigExaYXLtjAY1gkGKGId2ipG2QqVV1l7yFXvyIhOI90CFyFEPggqPZC8qNbMLKFom0sCnZj+/5ErAtsk/0eIgYi+rX+emzzIBsv1BnMB/nKg/sKhi7cqmeDx8vUOH/4ht8WYQu25eSV4kgNOiaDIGs6xG9beRlha6PDUv7gERM5LzBNWtLSRjngnQNTbTvQClupEk8P+aa6tOaSnVHTPHayCZ9orc/bhQAYgHBCfd3UdGTIdPmKmDblvoHnvwNpNzWENIMYeX83rfSuAPrB1RpbyMTjKwKH3MnMjmeR/q4b96cmfoxAAfczak/2dKHrMHB/nPsym4IoEmLX61Ox2TVuHVDgxCoikO1UeOCMhC34I4B8jw2xEhpEvzmXSpbpWpHoQyUKGmFpc9VHIZi1cvn8nOkvcPj5qAeRj8CIXkGLqSUEOWLe0s0MNR6T6lXnPgeYUlI/Vv4Qhm8pmp9+vDdhBQ/AL2XJ65w+eTO8dT5vhjV3kojCH0AG6xZSmdw3UB4JYAenmNE9kdmLOqqul6XQemO+/R6cQYxWWAFK0mFM289vESOX94vv+tnIPtbzmDztYOT27Iy+e255ljIvRFQr8qZ5guBGh0sN4tuApDrGyKoBMQrLdTzn0VXOuccc0yzB78Jr1bpJR7SkBeU+EwyWV3P8B1BrcPP3NhzINg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ2PR22MB4354.namprd22.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(7416014)(52116014)(1800799024)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oh6364RJ9yZ7xHYY80vUkCb9E3Mf14cmY6nJft2dUD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reznMtrASstVK6Kal91GAhU/50J/LeLdCZjq5HgtsVHXw+9svIzWKm6R7paAtmxMwgjzzgKj1HQNPTyogWMGOgtrUUvSO/h1qvVbhbRoGByE68REmHeZOd8Y7uB3S+N1GLfbB10/ocW/jIDodHgFIMBS2fULcmgKbQHGN1BjLr/GnmeuAX1Ofk201+3kQ0YHSDVILbTnFadwihqbS1YVkjsGmsLDTOfVSbi3gPE9zEm3ZxSVofIzj3NQIEi/5KwnXWg8DS51v2vrU3GlSaO4qV4FvV8KbQCo1XIERkFndf7uV+C/8F1C3mAL/m4ygTkPpuUwclSlKqojM5JwjmdJBpnujFxzONVIyJBNEv5jAmdooCQK3kjgxRO7bsLBNJrIOGCP8Fjo5ZkcUV2+QdCaC9M+NULUu4vWfASrQgF/Eokj82xMhZfha7OYa7E8PXe8HzSV2E29Xb+nGXCu3HSYfb09StV3yuEe4P66cGyOv+6 X-OriginatorOrg: phytec.com X-MS-Exchange-CrossTenant-Network-Message-Id: f54dd8cc-45a6-4dfc-d7e7-08dce1e96ed7 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR22MB4354.namprd22.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2024 07:19:48.4650 (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: m27uweAlKHWc+3Nf3qajWfuPSFP1arrVX19dXpHRDFS8ycqVI/V/1KP9Oy82kEibg40iqx/2q3h14JJ6NJxkUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR22MB5551 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241001_001958_033873_62BAB8A8 X-CRM114-Status: GOOD ( 11.32 ) 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. Here we add a 1.4 GHz node to the a53_opp_table and increase the VDD_CORE voltage accordingly. Signed-off-by: Garrett Giordano Reviewed-by: Wadim Egorov --- arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi b/arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi index 43488cc8bcb1..236b94c0248c 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi @@ -173,6 +173,13 @@ AM62X_IOPAD(0x01f4, PIN_INPUT, 0) /* (D16) EXTINTn */ }; }; +&a53_opp_table { + opp-1400000000 { + opp-hz = /bits/ 64 <1400000000>; + opp-supported-hw = <0x01 0x0004>; + }; +}; + &cpsw3g { pinctrl-names = "default"; pinctrl-0 = <&main_rgmii1_pins_default>; @@ -226,8 +233,8 @@ pmic@30 { regulators { vdd_core: buck1 { regulator-name = "VDD_CORE"; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <750000>; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <850000>; regulator-boot-on; regulator-always-on; };