Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7560896ybi; Tue, 9 Jul 2019 00:21:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyiVwKvvQwZTfGCks9KbWGQrDOUgceJ/bsUxjoerpewSxR4q+ylXbb516aFmziXu2fMr7iY X-Received: by 2002:a17:90a:bf0e:: with SMTP id c14mr29688448pjs.55.1562656905125; Tue, 09 Jul 2019 00:21:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562656905; cv=none; d=google.com; s=arc-20160816; b=KG79aVEDAPtKAqGMkDvnXebPn9v0DnME9HEh5Iz1yXfLcogjfm1GjICis4bEehwSsW QPa793J1hGcVnKbGrEeFfMTngKOXFXJj16fMbLiJ0hsKXq38wduD4O3Fv7okttORE3zd zGuE2Z4I+epUtN0E+h+M6Pkazjw2W4joCCJi13hgK8ceLloOG9HPWVkaMLq0cdWnLZPe TMX2KnFei4tUfR4xnj1QtaeXZtzzXpLCTmCs53Z+oDmWfQ5DlmqbdsTphgmdIeC4yNnK fmxb/D3bTL5p8L0n3+T/ZIlFMjgk67sBbrQaikKRVzubU3DJOr8UkiWafuOJLobEF9TV 3q+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=52BfTlikzTRlP7dwDIKmF0aKNIuZNUQwcJ30wfSxX/Y=; b=fC32EyPLAlgmxF5Tpig0F6OyjPveIoKHHOWuc8RSiB45O4BjeCa+uGmwhCrWO+JY9K 9la2x8LYlV5EuTzDYEH3ONyPBvAnJf2m117dZLhErYWtmh8yfCzyvOIxsR5DgM757RXZ Gob7XtsM3GLzp762jO6YhYcU5HiiTEVbRw2JZDFDnoIGy18iykf4ozaJaqAb+fdZ9lnO HeZEsyi1QFr7GJgcABOdi79eDoYgN0K5vmIskc3CZBc4eD7qUCh7xn7U8FG3l1UjxN9u Tlgy2rhH2jYQQvNkDXf2GQ69np0TCHVktg/DO5v5b0TzRzU4Q5fbjWAwNcNrwSn4qgnN qKtg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si15586011plf.368.2019.07.09.00.21.29; Tue, 09 Jul 2019 00:21:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726346AbfGIHU0 (ORCPT + 99 others); Tue, 9 Jul 2019 03:20:26 -0400 Received: from inva021.nxp.com ([92.121.34.21]:44082 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725886AbfGIHUZ (ORCPT ); Tue, 9 Jul 2019 03:20:25 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 406A3200540; Tue, 9 Jul 2019 09:20:23 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3C36B20054F; Tue, 9 Jul 2019 09:20:10 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id F258B4030B; Tue, 9 Jul 2019 15:19:56 +0800 (SGT) From: Anson.Huang@nxp.com To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, vireshk@kernel.org, nm@ti.com, sboyd@kernel.org, leonard.crestez@nxp.com, aisheng.dong@nxp.com, daniel.baluta@nxp.com, ping.bai@nxp.com, l.stach@pengutronix.de, abel.vesa@nxp.com, ccaione@baylibre.com, angus@akkea.ca, andrew.smirnov@gmail.com, agx@sigxcpu.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 2/3] arm64: dts: imx8mq: Add opp-suspend property to OPP table Date: Tue, 9 Jul 2019 15:10:55 +0800 Message-Id: <20190709071056.26361-2-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190709071056.26361-1-Anson.Huang@nxp.com> References: <20190709071056.26361-1-Anson.Huang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anson Huang Add opp-suspend property to each OPP, the of opp core will select the OPP HW supported and with highest rate to be suspend opp, it will speed up the suspend/resume process. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 58f66cb..4ba6a25f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -156,6 +156,7 @@ /* Industrial only */ opp-supported-hw = <0xf>, <0x4>; clock-latency-ns = <150000>; + opp-suspend; }; opp-1000000000 { @@ -164,6 +165,7 @@ /* Consumer only */ opp-supported-hw = <0xe>, <0x3>; clock-latency-ns = <150000>; + opp-suspend; }; opp-1300000000 { @@ -171,6 +173,7 @@ opp-microvolt = <1000000>; opp-supported-hw = <0xc>, <0x4>; clock-latency-ns = <150000>; + opp-suspend; }; opp-1500000000 { @@ -178,6 +181,7 @@ opp-microvolt = <1000000>; opp-supported-hw = <0x8>, <0x3>; clock-latency-ns = <150000>; + opp-suspend; }; }; -- 2.7.4