Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7587453ybi; Tue, 9 Jul 2019 00:52:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxn5+sCUzr7g8byKb8pw0R65oJuOKsfJam2F54IAa1RvuFs/I7/eZXR5u+Ms23Ye1LOqxlq X-Received: by 2002:a65:6454:: with SMTP id s20mr28918284pgv.15.1562658762970; Tue, 09 Jul 2019 00:52:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562658762; cv=none; d=google.com; s=arc-20160816; b=wEHCO6OgkL7meneSV1sJFyIa0A+HMEv9hKqFUDfrilBM6fbEQn5kPG6udKYrrc3/6o KUYYq2S2WNIQNBysTmyCBtj+JIncOsz3nFqcKxVmbZcsC/GCbU2ssbwVvK6oWXBpn55F LVTvJX8npgvNkpxoaEhcQZha3AnnPdMQcIThjhjl9PK2cVkCNSX7sgq4t+fnl+sxq05Y BAd3XFbAXqVto+ebwvN5CHJvBdN2wOmoPKTv+eyoDGoHL0qR/VH3SVYDbLy+GswVzvo3 p0FFZb4Iwzulxo4h8QdvWX6DaughSnSvLuwmx2hC6I9vd+cRwJ2qVeK7UgViXhHhMoQM uu6Q== 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=Smrq/vDbxcQl6KW/Rh/T3b+nDUYxB6msX/ZOzbcRi2U=; b=lLhUtf7Lh4NN6Bf/JMgcAukbzKFCAcLtiYIdKBxUVkhoIIJuXZ+BMaomUMQPZPEtht 5LomGKUQNY3FvcqMhFdYDPnXbUneBT16U8Lyd5xk2A+IFqQ2ACukr8kwB7of8fOkp6T0 00s4fb1hfJSl5EvTgC/hj+M53FceIlpllXYFkYn95+ISPk8D2VJ876nNl7+S3rCWVUG3 oJS4qQQe75pUV+ldfJ8QQBhiJ1MWmiOdBpGMlcYoayJueozlMBkp2PJKguuySNFM5H8R PrXVL9HMn1oeI+aE2wgMQWXA6lJFVinAUaiunuspQXrVbAjnb7vXuFwvginYV4ofLTkX jSlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fNEDVX0H; 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 az12si17508543plb.5.2019.07.09.00.52.27; Tue, 09 Jul 2019 00:52:42 -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=fNEDVX0H; 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 S1726541AbfGIHvc (ORCPT + 99 others); Tue, 9 Jul 2019 03:51:32 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:43323 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725965AbfGIHvb (ORCPT ); Tue, 9 Jul 2019 03:51:31 -0400 Received: by mail-pl1-f194.google.com with SMTP id cl9so9627361plb.10 for ; Tue, 09 Jul 2019 00:51:31 -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=Smrq/vDbxcQl6KW/Rh/T3b+nDUYxB6msX/ZOzbcRi2U=; b=fNEDVX0HL7EI/I6m5GdoAodJt4iCk6yzm4tuOh8ajweaBLKmh9prOUVmdOdhKNPrl/ dF3nyni3L1tkHubOOl5yp+pZHwYmI6cZ1c3rOLgyQyUyMlHl/uO3Y8rQUElrUmbk4b/E s3cRHEU3henZjAe+fTlvzeiQrrhtUSUBrqQ9jp67liLLgUB7XiuawxR83WCDpO5YTeIt JTLzoOs1VfiHTiiaVAcLZKR7PrE9gOkt7Y0/jN1HQSKYAeTxJ2E1przF39kV1CKPCCFm rFc04TDY3RgryFc0c4/s+B1NzXD/tC82rN9nwc7Bpq3ybzaqCUVXRn1lzKeWeLOVbX7i xT6g== 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=Smrq/vDbxcQl6KW/Rh/T3b+nDUYxB6msX/ZOzbcRi2U=; b=QNXCbO95cvYI53OJt456V7JGD/tShq2fEOJX6xGcywEIgLx5ek4WjynZXFHcj7KEiA zHUOQjs2pA44nQ4HKh/5BdbJzk+H8Nm4+85u0qeICHqe8VozWCq48xiY/OBg0X58yENZ GtSmDKgLaX5NHLiy/sfYOUR2QgoygXS3F8p4bA+n4cC3hXhMJixJJgp8yl/XXvflWP3t sq97CKBeNwvqF2Q6+DH6tK4joQ/m+seZh4WVxKQ3IFf0fPCnnFSWKmMCNyqripFZbk7o Kw+3BfwIX5RGHxHjkIBWkQpevInfBHQIXJpgAVNoboJHlFUev5xvWEELfItzrdXfbtEC xQ4Q== X-Gm-Message-State: APjAAAVvktKYLN/+HltM5z4W6ypMU1ZlEoZs2K4XJ+k7BIYGONyqYKHj qio87+S95fk5fabPlZ83lJQXmg== X-Received: by 2002:a17:902:9041:: with SMTP id w1mr30857440plz.132.1562658691215; Tue, 09 Jul 2019 00:51:31 -0700 (PDT) Received: from localhost ([122.172.28.117]) by smtp.gmail.com with ESMTPSA id p68sm32770294pfb.80.2019.07.09.00.51.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jul 2019 00:51:21 -0700 (PDT) Date: Tue, 9 Jul 2019 13:21:19 +0530 From: Viresh Kumar To: Anson.Huang@nxp.com Cc: 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, Linux-imx@nxp.com Subject: Re: [PATCH 1/3] opp: of: Support multiple suspend OPPs defined in DT Message-ID: <20190709075119.rg6ktsg7nwdadsmd@vireshk-i7> References: <20190709071056.26361-1-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190709071056.26361-1-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, 15:10, 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 > --- > drivers/opp/of.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) Please update the DT bindings first. FWIW, all three patches look fine otherwise. -- viresh