mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Varshini Rajendran <varshini.rajendran@microchip.com>
To: Jonathan Cameron <jic23@kernel.org>,
	Srinivas Kandagatla <srini@kernel.org>,
	Claudiu Beznea <claudiu.beznea@tuxon.dev>
Cc: "Eugen Hristev" <ehristev@kernel.org>,
	"David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Nicolas Ferre" <nicolas.ferre@microchip.com>,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, varshini.rajendran@microchip.com
Subject: [PATCH v7 12/18] ARM: dts: microchip: sama7d65: add cpu opps
Date: Wed, 2 Dec 2026 12:34:50 +0530	[thread overview]
Message-ID: <20261202070458.87970-13-varshini.rajendran@microchip.com> (raw)
In-Reply-To: <20261202070458.87970-1-varshini.rajendran@microchip.com>

Add CPU OPPs table for SAMA7D65.

Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
---
 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 ec200848c153..dfac17e34e65 100644
--- a/arch/arm/boot/dts/microchip/sama7d65.dtsi
+++ b/arch/arm/boot/dts/microchip/sama7d65.dtsi
@@ -35,6 +35,7 @@ cpu0: cpu@0 {
 			d-cache-size = <0x8000>;	// L1, 32 KB
 			i-cache-size = <0x8000>;	// L1, 32 KB
 			next-level-cache = <&L2>;
+			operating-points-v2 = <&cpu_opp_table>;
 
 			L2: l2-cache {
 				compatible = "cache";
@@ -45,6 +46,41 @@ L2: l2-cache {
 		};
 	};
 
+	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>;
+		};
+	};
+
 	clocks {
 		main_xtal: clock-mainxtal {
 			compatible = "fixed-clock";
-- 
2.43.0


  parent reply	other threads:[~2026-12-02  7:06 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  7:04 [PATCH v7 00/18] Add thermal management support for sama7d65 Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 01/18] dt-bindings: iio: adc: at91-sama5d2: document sama7d65 Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 02/18] dt-bindings: iio: adc: at91-sama5d2: document nvmem-cells Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 03/18] nvmem: add DEFINE_FREE for nvmem_cell_put cleanup Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 04/18] iio: adc: at91-sama5d2_adc: use cleanup.h for NVMEM buffer Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 05/18] iio: adc: at91-sama5d2_adc: rework temp calibration layout handling Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 06/18] iio: adc: at91-sama5d2_adc: add condition to validate calibration data Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 07/18] iio: adc: at91-sama5d2_adc: remove unnecessary casts in of_device_id Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 08/18] iio: adc: at91-sama5d2_adc: adapt the driver for sama7d65 Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 09/18] dt-bindings: nvmem: microchip,sama7g5-otpc: add sama7d65 and dt node example Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 10/18] nvmem: microchip-otpc: add tag-based packet lookup Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 11/18] nvmem: microchip-otpc: add emulation mode and OTP access validation Varshini Rajendran
2026-12-02  7:04 ` Varshini Rajendran [this message]
2026-12-02  7:04 ` [PATCH v7 13/18] ARM: dts: microchip: sama7d65: Add ADC node Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 14/18] ARM: dts: microchip: sama7d65_curiosity: Enable ADC, DVFS Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 15/18] ARM: dts: microchip: sama7d65: add otpc node Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 16/18] ARM: dts: microchip: sama7d65: add cells for temperature calibration Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 17/18] ARM: dts: microchip: sama7d65: add temperature sensor Varshini Rajendran
2026-12-02  7:04 ` [PATCH v7 18/18] ARM: dts: microchip: sama7d65: add thermal zones node Varshini Rajendran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261202070458.87970-13-varshini.rajendran@microchip.com \
    --to=varshini.rajendran@microchip.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=andy@kernel.org \
    --cc=claudiu.beznea@tuxon.dev \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=ehristev@kernel.org \
    --cc=jic23@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nicolas.ferre@microchip.com \
    --cc=nuno.sa@analog.com \
    --cc=robh@kernel.org \
    --cc=srini@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®