Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1859023ybi; Thu, 4 Jul 2019 00:49:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFkgAFYHyigbRI2ha7Lk/OBw2JhIDxJiKgwn9djYFiRk4JHDPtLAXKpmLrROFZpQL6fb89 X-Received: by 2002:a17:90a:33c4:: with SMTP id n62mr18620690pjb.28.1562226591828; Thu, 04 Jul 2019 00:49:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562226591; cv=none; d=google.com; s=arc-20160816; b=0OuXsIB+zY41yC7iRN2zCGIawZgDLbQe9mfYDID52hJDgqTEjTH8g9XpgJVqeiuXFe jv5u7YT+Sw+Lofl9HMxvaaStYgc6xm3lylXbm7xwJDtaHMag5u9htW+LyZR18nVsXznT 9D/jK7AerxFvuXHpwM13+W5JDF40GHs3AQXEAoYRibhD68SQ4Hw5QlVVx9I9jFziyvkI H30z709/3vuxOiDvLNg7a43WMT7oXMDfbxfDsNXcBBChBZ1KjU6q6/vd9h/H/lcf4X38 86BkE9HxsOE0mKR+PHBoxFxjpfWgOcASBjuNNIcWsGCpZfdxo74BpsedsDw/cJYd5Otv lBgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=bg3YVZyZix9ibFcYWOAmR1P6Nh6H6haGJXEGrezCKN0=; b=Sd8z2n+5SRFqvBIDGUZB5f8JdS/DcGqMdQon5FbIK8MNUc4F5TOSS/4hkGhT1ex8j1 iju0/EEhE8kAq6LlCF1aIw0AN/ep7PtY3jUh2W6DZX4o8SmtV+FzilkAsWvLzdbzLBNj lKhHxdgDu6Aw5tt6KsYIWuyDxyKIq5HSxuXtQiMUMRtZN3ohFWVvSwBWGfLe3mrFN1cv VJtaRcyhMDOVM0H7AgHNWMqm/7FXdFM1NF/jwXOnlrRUWNdRu1GoFtcQ+c8xT1rvyPs5 dVqVQwtbdIOLx7QMD4jdzu3kxMTvzctWqKUS0cJ1QoQ7qeUcm56eQNrFZMJ8PbZoGNjV 2DOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=MNlvGOO1; 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=pass (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 p19si4791029pgk.309.2019.07.04.00.49.36; Thu, 04 Jul 2019 00:49:51 -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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=MNlvGOO1; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727262AbfGDHtL (ORCPT + 99 others); Thu, 4 Jul 2019 03:49:11 -0400 Received: from mail-eopbgr60045.outbound.protection.outlook.com ([40.107.6.45]:45390 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725945AbfGDHtL (ORCPT ); Thu, 4 Jul 2019 03:49:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bg3YVZyZix9ibFcYWOAmR1P6Nh6H6haGJXEGrezCKN0=; b=MNlvGOO1bE3gwqoiyFfMX5odP8T+TWf78MbA83x0OAD/GJt9aK4yiMkabyBGFRCZ1Wtv4OHc0r4HwAg6lsU+phZs4bX5n99clwnjuGwiMzfMaoQboWr9WzKV0rsyRHrFoy/bzsEU0+ModE6TGHFKOzC1r7FX4uiD3tYO2ipyPfU= Received: from DB7PR04MB5051.eurprd04.prod.outlook.com (20.176.234.223) by DB7PR04MB4185.eurprd04.prod.outlook.com (52.134.111.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.16; Thu, 4 Jul 2019 07:49:07 +0000 Received: from DB7PR04MB5051.eurprd04.prod.outlook.com ([fe80::6c98:1416:8221:bdfc]) by DB7PR04MB5051.eurprd04.prod.outlook.com ([fe80::6c98:1416:8221:bdfc%4]) with mapi id 15.20.2052.010; Thu, 4 Jul 2019 07:49:07 +0000 From: Leonard Crestez To: Anson Huang , "viresh.kumar@linaro.org" CC: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , Jacky Bai , Daniel Baluta , "l.stach@pengutronix.de" , Abel Vesa , "andrew.smirnov@gmail.com" , "ccaione@baylibre.com" , "angus@akkea.ca" , "agx@sigxcpu.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH 2/2] arm64: dts: imx8mm: Assign highest opp as suspend opp Thread-Topic: [PATCH 2/2] arm64: dts: imx8mm: Assign highest opp as suspend opp Thread-Index: AQHVMjEDVn995bhE70i5OsdReRFRhA== Date: Thu, 4 Jul 2019 07:49:07 +0000 Message-ID: References: <20190704061403.8249-1-Anson.Huang@nxp.com> <20190704061403.8249-2-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; x-originating-ip: [82.144.34.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f05be104-3873-4909-9548-08d700541803 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB7PR04MB4185; x-ms-traffictypediagnostic: DB7PR04MB4185: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2399; x-forefront-prvs: 0088C92887 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(346002)(39860400002)(376002)(366004)(396003)(199004)(189003)(33656002)(9686003)(71190400001)(81156014)(81166006)(102836004)(26005)(229853002)(446003)(55016002)(53936002)(6116002)(8936002)(316002)(54906003)(71200400001)(186003)(110136005)(476003)(44832011)(486006)(3846002)(91956017)(6436002)(7416002)(478600001)(68736007)(76116006)(73956011)(6506007)(15650500001)(6246003)(4744005)(7736002)(66946007)(305945005)(64756008)(66446008)(66556008)(66476007)(86362001)(14444005)(256004)(5660300002)(4326008)(2501003)(99286004)(53546011)(52536014)(76176011)(66066001)(74316002)(25786009)(7696005)(14454004)(8676002)(2906002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB4185;H:DB7PR04MB5051.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: PRJDAL7OvTH5whHzKkeF/40C9fZaeEpPHcI9fzXDbyWGVTmzg8YmFbx9mWBlwatAcZFEn9dpR6rdKRucH83HyO0+3kgnGgKWgdA8UThJaaPeLQC46dIcAAxA5wmYxgS/Y7N4sMlXg1h2avH58VK0EA91JNC5ZVIarVFqwCR84jep+WVFoEdU5x+1+9iKgih0U6rpSYtyPRA9SSH2A1H8kwjvGqFDrSgdx81wCfqWUGKbQO4DdR+h5/ngmOMgqQ/AW7k8+pMxXc1sC5LVg5XyjTtrZKTJ9pNVh8M3M6B8980hKuu9HcE93utaqZvKIoy9hCpHEf3tbc6S4sg28Rx1F3ktv6e4ukziKdAHWxjFpU/X2XzjdikA6H9sc8pJyhyOUeBpnxS/2oDiNvdyVXQzuvxq8eUgOIElCuqHotIz4jk= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f05be104-3873-4909-9548-08d700541803 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2019 07:49:07.5136 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: leonard.crestez@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4185 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/4/2019 9:23 AM, Anson.Huang@nxp.com wrote:=0A= > From: Anson Huang =0A= > =0A= > Assign highest OPP as suspend OPP to reduce suspend/resume=0A= > latency on i.MX8MM.=0A= > =0A= > Signed-off-by: Anson Huang =0A= > ---=0A= > arch/arm64/boot/dts/freescale/imx8mm.dtsi | 1 +=0A= > 1 file changed, 1 insertion(+)=0A= > =0A= > diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/= dts/freescale/imx8mm.dtsi=0A= > index b11fc5e..3a62407 100644=0A= > --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi=0A= > +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi=0A= > @@ -136,6 +136,7 @@=0A= > opp-microvolt =3D <1000000>;=0A= > opp-supported-hw =3D <0x8>, <0x3>;=0A= > clock-latency-ns =3D <150000>;=0A= > + opp-suspend;=0A= > };=0A= > };=0A= =0A= What if the highest OPP is unavailable due to speed grading? Ideally we =0A= should find a way to suspend at the highest *supported* OPP.=0A= =0A= Maybe the opp-suspend marking could be assigned from imx-cpufreq-dt =0A= driver code?=0A= =0A= --=0A= Regards,=0A= Leonard=0A= =0A=