From mboxrd@z Thu Jan 1 00:00:00 1970 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 71755C87FCB for ; Mon, 4 Aug 2025 10:08:26 +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:Content-Type: Content-Transfer-Encoding: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=tvWhDGXW9esgprI72kiJWerEMdVbOf+W0aGe62bm7QI=; b=Zcjk0IOmFxdEXM/7aLEgtvMM4V cwbJxMZl3geieLf3op1X1nVegbyK5hif+QkJw3srgg41jIl8aIupSZy6VotWoHLAIZPkqKH+y2Plb BMuY3gylrSk74PbbQ95sY/nRY0Pfx1g2LMc3qtNLDit9M6YkfMNMA2KxaUZD+F/pgyNLL914dyz2S /i6TAqkuo17te+h1ZjsN8lO+5VEZ7b7ODDzgldKIDdUWQkRw7Mluwyqexi+a+OdL0XVT5mxf2zs9/ PlM8FZXqK/ZPv7SDQ9+6v10AZt3MNlRTwWCF6ds+mZtZSIlV8DzR2fknt99fvu0+SJ8kKc/oK8197 cOhVb/vw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uis7A-0000000A9q2-1NPu; Mon, 04 Aug 2025 10:08:20 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uis24-0000000A8od-0WJz for linux-arm-kernel@lists.infradead.org; Mon, 04 Aug 2025 10:03:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1754301785; x=1785837785; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jytvHH7pK4odHqJphfEsoL0awbTySk4LSYxI1IQpDEg=; b=S/GyM/2THXmHYTqROSni9ONMSkN9lHD9fV31XMNzTMZlRYPqUlcy5uP8 EjNDv2+ckPnpD7qmMXIMOPFbjEwncRMxNZYq6vRVc6pMT8iqtOOXqxOQi KllKcwCzL9j2TCZw37/TJa20qiDc5Xgez0byIs4y4coBPcfPC3i+rEOR/ xVByL8q4vpiFGxsyIJCQ/yqobDKmfbogsNtxJQk4e7n8oJFYZajOKggYW zAHoyMUTiNWENnK6wpTFDaCc7zBO91hjQ8kXXqTL44BykQfnYHO1K3rfn KSyFNwBs00z2SnfNAcJtZx2/AlzevPN996bLMUC9URtYg20jrAqbvY4VC g==; X-CSE-ConnectionGUID: GJeNwV3dT46CHM5uTLCa7g== X-CSE-MsgGUID: 0WIZkIRqSsCoCqFafFaFwQ== X-IronPort-AV: E=Sophos;i="6.17,258,1747724400"; d="scan'208";a="276166362" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 04 Aug 2025 03:03:00 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Mon, 4 Aug 2025 03:02:34 -0700 Received: from che-ll-i67070.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.44 via Frontend Transport; Mon, 4 Aug 2025 03:02:28 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , , , CC: Subject: [PATCH 01/15] ARM: dts: microchip: sama7d65: add cpu opps Date: Mon, 4 Aug 2025 15:32:05 +0530 Message-ID: <20250804100219.63325-2-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250804100219.63325-1-varshini.rajendran@microchip.com> References: <20250804100219.63325-1-varshini.rajendran@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250804_030304_168238_EE64F8CC X-CRM114-Status: UNSURE ( 8.85 ) 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 Add CPU OPPs table for SAMA7D65. Signed-off-by: Varshini Rajendran --- arch/arm/boot/dts/microchip/sama7d65.dtsi | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/microchip/sama7d65.dtsi b/arch/arm/boot/dts/microchip/sama7d65.dtsi index d08d773b1cc5..2e20a7532c03 100644 --- a/arch/arm/boot/dts/microchip/sama7d65.dtsi +++ b/arch/arm/boot/dts/microchip/sama7d65.dtsi @@ -32,6 +32,42 @@ cpu0: cpu@0 { device_type = "cpu"; clocks = <&pmc PMC_TYPE_CORE PMC_CPUPLL>; clock-names = "cpu"; + operating-points-v2 = <&cpu_opp_table>; + }; + }; + + cpu_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-90000000 { + opp-hz = /bits/ 64 <90000000>; + opp-microvolt = <1050000 1050000 1225000>; + clock-latency-ns = <320000>; + }; + + opp-250000000 { + opp-hz = /bits/ 64 <250000000>; + opp-microvolt = <1050000 1050000 1225000>; + clock-latency-ns = <320000>; + }; + + opp-600000000 { + opp-hz = /bits/ 64 <600000000>; + opp-microvolt = <1050000 1050000 1225000>; + clock-latency-ns = <320000>; + opp-suspend; + }; + + opp-800000000 { + opp-hz = /bits/ 64 <800000000>; + opp-microvolt = <1150000 1125000 1225000>; + clock-latency-ns = <320000>; + }; + + opp-1000000002 { + opp-hz = /bits/ 64 <1000000002>; + opp-microvolt = <1250000 1225000 1300000>; + clock-latency-ns = <320000>; }; }; -- 2.34.1