Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10418105ybi; Wed, 24 Jul 2019 22:52:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXbiUB0LCggta5Zi8IwkZRcQ9W2SNgoHWUtU32yYAquc7gxK46OiziHnSSHEgKmhjMzTdt X-Received: by 2002:a17:902:d715:: with SMTP id w21mr50686869ply.261.1564033931169; Wed, 24 Jul 2019 22:52:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564033931; cv=none; d=google.com; s=arc-20160816; b=CnupzX4B5RvqYiY03co3brrPsr3twm8JI5+foc2E2Z+UD6cVnlDpZOXEbcqYS0JPwj 2kkp7Os1cIPSYMLdzB5DNqWQz299JJw6CXmGKKlo3wYb5hrVE+/JDSctrj3cck9/+3S4 RZt1718E7sm6znfTzbWtCiiBR8mG0228jLjW4ZgHKZaKqGjRVT+t6zpPi6IGztu8Au/z bUB0HA1faZggsSESjBjOxvghp6PpavEXyU8eOyj0frqBmXcgdgawfj0flNeyOUtxByw7 /KO0ARW4AqPAVoDYuZmOzc06/2dbt9vOi15pjvtYExzXdLrrRJSxObLwRQlgEI2Luzco qdIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lrZNwnZZDnzjES6SEI5e3v0h9KCl3zyfb3LQV1fN1NY=; b=ivSbj03NcK9SZPdkcj6/RJ8rz0LprCAKJPp59uCsBlgRX5BovbJ198denVIPz0kZqe KmqtPrj4W5o3/y1PsXVOab5gY/21Tt18ifu2Me++2z2u9PWLfKDST3Ir2FnacyE3akC/ WGtsvN7BgEUwJEG8ZOqt36l/rrYpYfEGh5VMKKVtyGuC2U25zOn17V4vZc9k0OD29+70 7a1DuZpV6HNqjigAjt2xC2vVw3P+g7GBF7FTflX5PJfkBL3LLYWqXl6RDkV9rMDPomih sL9M3FnHSlPY6DFh067WwKZfaPsj761P1NG3XcgzxNmbBxbMtPGUuuOX8b7dHhKTqCk9 Bqbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fPPUjV33; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8si14377646plt.273.2019.07.24.22.51.56; Wed, 24 Jul 2019 22:52:11 -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=@linaro.org header.s=google header.b=fPPUjV33; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389117AbfGYC01 (ORCPT + 99 others); Wed, 24 Jul 2019 22:26:27 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:34649 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389085AbfGYC00 (ORCPT ); Wed, 24 Jul 2019 22:26:26 -0400 Received: by mail-pf1-f195.google.com with SMTP id b13so21894227pfo.1 for ; Wed, 24 Jul 2019 19:26:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=lrZNwnZZDnzjES6SEI5e3v0h9KCl3zyfb3LQV1fN1NY=; b=fPPUjV33twSI6jWM3NalnygQKLY88z0AMl5ULNzbzt2vA8vcf6Cwkv2M7PPr8skYJz ek6z2Lq7mXEQAPfhOqEo2GEqExdwTxFcI0S3EPRB9mApFV0JE/dk/PfdGOvtAEQAMF9t O5HUxpAQziE1Pv0GN5B/TK5LsiQZEhU34Qmx5qF1Nd72JdJgv6UjpFVUogCVyoL3127z W67taQ2WJWOIEnWyX/tV970/OeWr6zxgz/OsZ3gksZ3nAdkezpDzq2de1EgElszcS/Sa ACEfZi+qe0hMmn2+7pH1k4wSr8R8DmGsiF30O1M753bzVlQeZTSLFvzQijsmCZcr7nU9 eunQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=lrZNwnZZDnzjES6SEI5e3v0h9KCl3zyfb3LQV1fN1NY=; b=D/4tryr28fJHbINhq9H7ok/wRLYrEOhAHLWvUendOJkt1KvLTTlTrF1atZKe2MU6AS zxNtnZbcy/hpImE1S7sGQhkFfLwwR1+Ev44d3bBO0X2SS6cvu1Rzui5Ejkkm3yt49TiZ /mDrWLY7gjTRF9JaqECq4ILOV17VcKf9La+WkGYP2J84LiUmJf4jMEZIM4bucThn9f9/ SBsW5RxrCQeCh7BGIyyXo+OC2h6SPRdyJaEozbpI9+W4LMRHHOyUOZ2TunJsBzdbqWp0 RtXwTB14q+2wRZo4WEuxWW9SJAMOYPL0aorUAiPmisUbsQl4yUdI8Iip9xRcWh6C+2dq P9zA== X-Gm-Message-State: APjAAAUFbU786USVy6Fq3ndx8tW+URdKVoxWmS31iUMY+ySQ4QlQrpcC i66GlSAWXviiDad6kGtS31gb0w== X-Received: by 2002:a62:642:: with SMTP id 63mr14374079pfg.257.1564021585985; Wed, 24 Jul 2019 19:26:25 -0700 (PDT) Received: from localhost ([122.172.28.117]) by smtp.gmail.com with ESMTPSA id g4sm61046934pfo.93.2019.07.24.19.26.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jul 2019 19:26:25 -0700 (PDT) Date: Thu, 25 Jul 2019 07:56:23 +0530 From: Viresh Kumar To: Anson.Huang@nxp.com Cc: vireshk@kernel.org, nm@ti.com, sboyd@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, leonard.crestez@nxp.com, p.zabel@pengutronix.de, ping.bai@nxp.com, daniel.baluta@nxp.com, l.stach@pengutronix.de, abel.vesa@nxp.com, angus@akkea.ca, andrew.smirnov@gmail.com, ccaione@baylibre.com, agx@sigxcpu.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux-imx@nxp.com Subject: Re: [PATCH V2 2/4] opp: of: Support multiple suspend OPPs defined in DT Message-ID: <20190725022623.jzrlsxkppa35kljz@vireshk-i7> References: <20190709080015.43442-1-Anson.Huang@nxp.com> <20190709080015.43442-2-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190709080015.43442-2-Anson.Huang@nxp.com> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09-07-19, 16:00, Anson.Huang@nxp.com wrote: > From: Anson Huang > > With property "opp-supported-hw" introduced, the OPP table > in DT could be a large OPP table and ONLY a subset of OPPs > are available, based on the version of the hardware running > on. That introduces restriction of using "opp-suspend" > property to define the suspend OPP, as we are NOT sure if the > OPP containing "opp-suspend" property is available for the > hardware running on, and the of opp core does NOT allow multiple > suspend OPPs defined in DT OPP table. > > To eliminate this restrition, make of opp core allow multiple > suspend OPPs defined in DT, and pick the OPP with highest rate > and with "opp-suspend" property present to be suspend OPP, it > can speed up the suspend/resume process. > > Signed-off-by: Anson Huang > --- > No changes. > --- > drivers/opp/of.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) Applied. Thanks. -- viresh