Received: by 10.223.164.221 with SMTP id h29csp1773977wrb; Thu, 2 Nov 2017 00:16:31 -0700 (PDT) X-Google-Smtp-Source: ABhQp+T+HCYITMEeGHq00zAisZxntiN4SRCds3FehfQjk2K6pHZ+sAoDhjOZ9x0tOvkOKRVAyu+E X-Received: by 10.84.231.2 with SMTP id f2mr2208437plk.256.1509606991171; Thu, 02 Nov 2017 00:16:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509606991; cv=none; d=google.com; s=arc-20160816; b=nr18Yf8P88eWXU947VhT24ag6xwWIvi1smhB+bfIRPgqX2OJX4pOGOjKyFC7qo9+4p /uIz34/CxIkyXgysvhd/I0Un69/FpSqCGREnBb6Xb5xJtRBWvh0tS6cpBapSc2AWK+cA WeE4MkT/M493aZ185Q9uJceWGuF7oK1GF2K/11k2hK6USUd2rqNSjIBmjH0EioZm5aVM dbVvBBC5nbL5n0nHQngznYz5obdSSkEIJ+dZYpjPYWYdqA0XBYt9v/bDXrACmnVvRSHk /Kz/xuaA9qrZ/jPXPYkKUkrnY50G/PvCgxuJp2/nHWE1V9qsdAdE58ibWZ1Xz+QhWBnz Tfow== 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:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=qmm6DM6a32BWqsZVKBuGhhhaaqXEd+qEv9RyVDjRV6A=; b=Pf3GQ73HIfk2OnzEwv+K010D5QbTVuXDa2A1gXJgbfrJMHZc4RrBFDdNFPmd5bg/Sg vIrnaF2gcKBtnrQLweo2VugSfvDb/EyWD1NIkWI/XzG/n7OoLt5926tGl6WS4/WRUV9V kSfGhkyFw0oDNjY7mHs8neGCv5mAIhIF7sVxNYEe40BoKc+tOjmG4US0ZS5MdivnWM50 QtTePLjV5TafRE57tCoULHEoRrGt0R0Cp46b1ngbOsXfWNLkRp5AAupImZ37V/EJMxFL sfTq2Bbch6LDeeufo8PVMp1YPSJs4+37wMlE5jpxf1veBSzctPOZIyOejM8rwP/p5aiZ kUBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=boN+z6Mh; dkim=pass header.i=@codeaurora.org header.s=default header.b=FdHlg5mX; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9si2943623pgr.88.2017.11.02.00.16.17; Thu, 02 Nov 2017 00:16:31 -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=@codeaurora.org header.s=default header.b=boN+z6Mh; dkim=pass header.i=@codeaurora.org header.s=default header.b=FdHlg5mX; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755088AbdKBHPh (ORCPT + 99 others); Thu, 2 Nov 2017 03:15:37 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:52830 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750907AbdKBHPf (ORCPT ); Thu, 2 Nov 2017 03:15:35 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3E39F60112; Thu, 2 Nov 2017 07:15:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1509606935; bh=XAkbsdDY4unVkDxjBEueZonOzPMFEFlbktvd7gTiy9U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=boN+z6MhBy7/839zud7eOBV1RKWEzxFVTT4n3O0LCRG8q9/W5/3X0d1BCMrFRRGvN HOmIRhai7dwqr+UcgIsK08OLRGGuKd+UPuESLgp8r020IBOKIbek+OGvV9PwlCeEKZ jtjODc+u4BuAEXyYyQwVImrV6JcUXlO0m+yEtKHA= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from localhost (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0BBA860112; Thu, 2 Nov 2017 07:15:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1509606934; bh=XAkbsdDY4unVkDxjBEueZonOzPMFEFlbktvd7gTiy9U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FdHlg5mXKRuS5bxUvQ8XzEf5K7BOiTWjaSaZyPrGraZEeJjyUwMzp9/0jb3YzSaOi ik1eRkFDg/ASLq9MkLfK35hhYuSU0VGYWuh9jCVAVmLkp0DdBDvQ0Su1Zf+IvneWa9 /qz/MdnvLr2T+xi/+abmp7XK8r518fqxdABJHEXg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0BBA860112 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Thu, 2 Nov 2017 00:15:33 -0700 From: Stephen Boyd To: Viresh Kumar Cc: Rob Herring , Ulf Hansson , Kevin Hilman , Viresh Kumar , Nishanth Menon , Rafael Wysocki , "linux-pm@vger.kernel.org" , Vincent Guittot , Rajendra Nayak , Sudeep Holla , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC V7 2/2] OPP: Allow "opp-hz" and "opp-microvolt" to contain magic values Message-ID: <20171102071533.GM30645@codeaurora.org> References: <23ba51eaa6b52117458165dccc00a95cf8e86e1d.1509453284.git.viresh.kumar@linaro.org> <20171101214333.GG30645@codeaurora.org> <20171102045155.GX4240@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171102045155.GX4240@vireshk-i7> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/02, Viresh Kumar wrote: > On 01-11-17, 14:43, Stephen Boyd wrote: > > On 11/01, Rob Herring wrote: > > > On Tue, Oct 31, 2017 at 9:17 PM, Viresh Kumar wrote: > > > > On 31 October 2017 at 16:02, Rob Herring wrote: > > > >> Why not a new property for magic values? opp-magic? Don't we want to > > > >> know when we have magic values? > > > > > > > > I have kept a separate property since beginning (domain-performance-state) > > > > and moved to using these magic values in the existing field because of the > > > > suggestion Kevin gave earlier. > > > > > > > > https://marc.info/?l=linux-kernel&m=149306082218001&w=2 > > > > > > > > I am not sure what to do now :) > > > > > > Okay, I guess reusing the properties is fine. > > > > > > > We call them corners on qcom platforms. Any reason we can't keep > > using that name? I'd rather not have to keep telling people that > > these fake values in some misnamed property is actually a corner. > > Surely not "corners", as these are platform and OS independent > bindings we are talking about here. Even the kernel code shouldn't > generally do that. Though your platform specific genpd driver can :) > Sorry I'm not following. We're going to need to have platform specific code that understands platform specific bindings that aren't shoved into the generic OPP bindings. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project From 1582928621399583994@xxx Thu Nov 02 04:52:50 +0000 2017 X-GM-THRID: 1582777408429643294 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread