Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7427583ybi; Mon, 8 Jul 2019 21:46:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAH9GptOupNKmiYfAcPiKphH3Xrvoi+pnVw5N/z7kmfJ40AFijlSumqMry8t4bH7+MTgPB X-Received: by 2002:a17:90a:3548:: with SMTP id q66mr30543463pjb.17.1562647582670; Mon, 08 Jul 2019 21:46:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562647582; cv=none; d=google.com; s=arc-20160816; b=SwB0XF2lSR6Mz7POdAPj5cDLFXwqjercDaQK0agNGJbRPRFGTqW6S27kQtGbdc8ihr xpNN9mHjHr78SAenDueYH81Vwe2XgGQAl+CS/QllONgFoRnkF9vNG/v+WeiepMgGTKr1 toMJsFBzFoDM+sN5mQXNL53A7O2GCYPq/2FmXpPwV+hPuILzoPGhp6eh5h3h2gHjsOgM D9ZAlGJZJVgKMGyI/e1ismXJ2GNcc73VODYCZ+41l9NnglTPgtaG/XV0qDQyqF5Jz8G6 1F3EwmtHe2RJkOtLf8A4p4iCBrjkz+jkteytdP2u103t+7oKPNBcY2dhOAlSrrCk03rz 8uWw== 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=w8T1boIzFFoSOnmUYhW8pmkZUoG7ex2MB+rDKpzf8fs=; b=dRiS9zGiDCQQEYHOaiMqTxHM6ziN71kAsR3Rhepb59YnfZKqJT9FlDW4AmoIz7t+// H9jJ2DUmBWnfv62nNkgwv/e3PN6qgQR+OMJHcjOQDUIVyy+xbWVP+DPEu3EprMD5aVzD PrR04Y1hO0V3BNamTl/4OZ27QbmWq66ZBj/KyL7G3uYtUhiHhiicbcz/Z1KMQSvNYh0e VBaoI/tO5HS0L0aH4WFNpNXpbqM/fZtzqYz+q105b4oxngKMQ8kZ6uOKdiG2TC9sv1Us Xm9SNkok7e6obRtY3fOMn1+Y0wzB7zxtiuIb3hkRRz8oXMauCUmBN5rAjq/SBA4RCZgH icNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XfZKXd7g; 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 c17si7832406pgi.81.2019.07.08.21.46.06; Mon, 08 Jul 2019 21:46:22 -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=XfZKXd7g; 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 S1727619AbfGIEpL (ORCPT + 99 others); Tue, 9 Jul 2019 00:45:11 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46962 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727606AbfGIEpJ (ORCPT ); Tue, 9 Jul 2019 00:45:09 -0400 Received: by mail-pg1-f196.google.com with SMTP id i8so8753907pgm.13 for ; Mon, 08 Jul 2019 21:45:08 -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=w8T1boIzFFoSOnmUYhW8pmkZUoG7ex2MB+rDKpzf8fs=; b=XfZKXd7gmjz5FPaPLVypAzfMeQL7XUAQdYsunJCY3edTML1McnkNitbWb6ADc6SBhM Qo0eMq66Gu9Gv56plq3V0zoMDHhQApGnazKdIpO84Qk9i6oqX32jNLCetDrieaCdg+v8 EJrv1Cy3o3HIijQtdKVW1jbOnR62iGkmeLqCOrMOtR7lQwTf7qKtB6WW50HzQHvyaW6e w7Oiq41vBHBavgTsowi5sXY3Wm/rL+7C+KAK/1lwea//U4oQmdcylRmlpNm8diu/JF3+ M9vnE/7+ELnEwQikJXNppyxGHxZjtjIm3Nz+RMt9X0D6uI/jIQg0NYt6YEOV8gY8gTXt zIUw== 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=w8T1boIzFFoSOnmUYhW8pmkZUoG7ex2MB+rDKpzf8fs=; b=mqMpvpvfUYoKFcyUdP/9meFgkghVneUb0pyuQUo4mTNuz5CulwUL/mHwGb+QsmOwrp 7WTSDL5wrHTcq63iFY1Xzek3PA/W//JC35L/EDa8dIRYjZ6ew2iqR1PYkloqTfzAcXOe 9Qnosx9YpMKSS44xX8zvck1yPUlWNe8+xl9pRc5hOkVvCU5XlBwuIHlmAI3tMJQgtJig hChNpkjuaDypMex7w1I/U3/3V+EwG98JsgweWlOhBaF7htAWDK2Ky3SM4S59uxGJjhiY 1+gTjIlmyXtPcZnFjlNh8S34n04K4geDS7OI7zMmx2qOl8pDeu0Tsb2STz1ouAg/Ndim wvBA== X-Gm-Message-State: APjAAAX2aSOW5j0i42V4aHGXwihQqowJMiPWJ4YjXwDSahWTO7TNYH8x S7228kLnshWAbBFt3uoXvXMERg== X-Received: by 2002:a63:e953:: with SMTP id q19mr28343284pgj.313.1562647508410; Mon, 08 Jul 2019 21:45:08 -0700 (PDT) Received: from localhost ([122.172.28.117]) by smtp.gmail.com with ESMTPSA id 14sm38828425pfj.36.2019.07.08.21.45.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jul 2019 21:45:06 -0700 (PDT) Date: Tue, 9 Jul 2019 10:15:04 +0530 From: Viresh Kumar To: Anson Huang Cc: Leonard Crestez , "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 Message-ID: <20190709044504.gyljwwnxdt5niur5@vireshk-i7> References: <20190704061403.8249-1-Anson.Huang@nxp.com> <20190704061403.8249-2-Anson.Huang@nxp.com> <20190708082511.py7gnjbqyp7bnhqx@vireshk-i7> <20190708084957.waiwdun327pgvfv4@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 08-07-19, 08:54, Anson Huang wrote: > Each OPP has "opp-supported-hw" property as below, the first value needs to be > checked with speed grading fuse, and the second one needs to be checked with > market segment fuse, ONLY both of them passed, then this OPP is supported. It > calls dev_pm_opp_set_supported_hw() to tell OPP framework to parse the OPP > table, this is my understanding. > > opp-supported-hw = <0x8>, <0x3>; Right, so that's what I was expecting. One thing we can do is change the binding of OPP core a bit to allow multiple OPP nodes to contain the "opp-suspend" property and select the one finally with the highest frequency. That would be a better as a generic solution IMO. And then a small OPP core patch will fix it. -- viresh