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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 027AFC433F5 for ; Thu, 24 Feb 2022 14:59:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235702AbiBXPAF (ORCPT ); Thu, 24 Feb 2022 10:00:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234948AbiBXPAD (ORCPT ); Thu, 24 Feb 2022 10:00:03 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D243426834C; Thu, 24 Feb 2022 06:59:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1645714769; x=1677250769; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=ORDMBlKCGSdSfHM8GA+311LvkiZtIfohu3XDDYVXTUo=; b=avyvOQmmF4BPcZcaesDapZhEzVsXUXhtWe2l+KWfsHByG3VsWz/xiho9 orMS5UNJokPWBNN1qxwpmasgdMXkoH6EcnL3PlNCLCxppWsvDnCzJiAW1 7hMlI60fhpXPG1L7lT6TIfoIwxm3W7sjc9/fdhtK3ssUsHpjvrM3ErPA9 /nJAxxD7vdf9MHdnRAUScamy7Cd0wMQHccULa8hLsiyvjYKKUQ5gTAiK1 gPMhgBhbo+VqII3LS/ENTDXCQ0dy7NbhFskK8WzIecVmd0RaC2Oex7j3f Xw7dIIiCPVdcf6G6Rs5r8hcQe1OILPdufaeX10/UXR5YNJ1Sw2lkNRUID w==; X-IronPort-AV: E=Sophos;i="5.90,134,1643698800"; d="scan'208";a="154765321" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Feb 2022 07:59:29 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 24 Feb 2022 07:59:29 -0700 Received: from [10.12.73.51] (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 24 Feb 2022 07:59:26 -0700 Message-ID: Date: Thu, 24 Feb 2022 15:59:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 6/8] ARM: dts: at91: sama7g5: add opps Content-Language: en-US To: Claudiu Beznea , , , , , , CC: , , , References: <20211216141338.35144-1-claudiu.beznea@microchip.com> <20211216141338.35144-7-claudiu.beznea@microchip.com> From: Nicolas Ferre Organization: microchip In-Reply-To: <20211216141338.35144-7-claudiu.beznea@microchip.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/12/2021 at 15:13, Claudiu Beznea wrote: > Add OPPs for SAMA7G5 along with clock for CPU. > > Signed-off-by: Claudiu Beznea Acked-by: Nicolas Ferre Queued in at91-dt branch. Regards, Nicolas > --- > arch/arm/boot/dts/sama7g5.dtsi | 37 ++++++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > > diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi > index 7039311bf678..22352ef5bc72 100644 > --- a/arch/arm/boot/dts/sama7g5.dtsi > +++ b/arch/arm/boot/dts/sama7g5.dtsi > @@ -30,6 +30,43 @@ cpu0: cpu@0 { > device_type = "cpu"; > compatible = "arm,cortex-a7"; > reg = <0x0>; > + 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-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>; > }; > }; > -- Nicolas Ferre 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 F030EC433F5 for ; Thu, 24 Feb 2022 15:00:39 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xRzs2vJulQg19SSeKNlhsJ7QlOvfZSf2ZIfn5vxCxqU=; b=e4F/QD0OmgoDcO fYPfZt8XnUNbsZdVfiabqaW6QG8LqS1rQw3oFJLSS9Tfv4e7+T4/c1ydVa07pLLdrbl5SbTmSfFkW HkR32tppgsgV3wMFygZUP96UdsQRlrrMCFrLI6+VpP3/+wD3QgLCjOShWPLqvuFbXjWMc/Hr8oU6W sQgwbCU3UqdS1xQslhVIcBW+F45gIgzSazhSnZnU3QXkD11eyDB1WzRYUd2MVAnb3xhpuDhIkryp4 XTaIwcLhI7c1NZiJkJ1JvPdCwYoLO/YF5Acfwy4KG4koetwLG/OykIPM6Dz2K65l2uraq8Ekkb6TJ Odn4BRgBvuCf6JpcwzlA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNFae-001Big-DN; Thu, 24 Feb 2022 14:59:32 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNFab-001Bhz-UK for linux-arm-kernel@lists.infradead.org; Thu, 24 Feb 2022 14:59:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1645714769; x=1677250769; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=ORDMBlKCGSdSfHM8GA+311LvkiZtIfohu3XDDYVXTUo=; b=avyvOQmmF4BPcZcaesDapZhEzVsXUXhtWe2l+KWfsHByG3VsWz/xiho9 orMS5UNJokPWBNN1qxwpmasgdMXkoH6EcnL3PlNCLCxppWsvDnCzJiAW1 7hMlI60fhpXPG1L7lT6TIfoIwxm3W7sjc9/fdhtK3ssUsHpjvrM3ErPA9 /nJAxxD7vdf9MHdnRAUScamy7Cd0wMQHccULa8hLsiyvjYKKUQ5gTAiK1 gPMhgBhbo+VqII3LS/ENTDXCQ0dy7NbhFskK8WzIecVmd0RaC2Oex7j3f Xw7dIIiCPVdcf6G6Rs5r8hcQe1OILPdufaeX10/UXR5YNJ1Sw2lkNRUID w==; X-IronPort-AV: E=Sophos;i="5.90,134,1643698800"; d="scan'208";a="154765321" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Feb 2022 07:59:29 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 24 Feb 2022 07:59:29 -0700 Received: from [10.12.73.51] (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 24 Feb 2022 07:59:26 -0700 Message-ID: Date: Thu, 24 Feb 2022 15:59:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 6/8] ARM: dts: at91: sama7g5: add opps Content-Language: en-US To: Claudiu Beznea , , , , , , CC: , , , References: <20211216141338.35144-1-claudiu.beznea@microchip.com> <20211216141338.35144-7-claudiu.beznea@microchip.com> From: Nicolas Ferre Organization: microchip In-Reply-To: <20211216141338.35144-7-claudiu.beznea@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220224_065930_025880_18A9CAE7 X-CRM114-Status: GOOD ( 12.63 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 16/12/2021 at 15:13, Claudiu Beznea wrote: > Add OPPs for SAMA7G5 along with clock for CPU. > > Signed-off-by: Claudiu Beznea Acked-by: Nicolas Ferre Queued in at91-dt branch. Regards, Nicolas > --- > arch/arm/boot/dts/sama7g5.dtsi | 37 ++++++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > > diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi > index 7039311bf678..22352ef5bc72 100644 > --- a/arch/arm/boot/dts/sama7g5.dtsi > +++ b/arch/arm/boot/dts/sama7g5.dtsi > @@ -30,6 +30,43 @@ cpu0: cpu@0 { > device_type = "cpu"; > compatible = "arm,cortex-a7"; > reg = <0x0>; > + 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-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>; > }; > }; > -- Nicolas Ferre _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel