Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp393863imu; Mon, 5 Nov 2018 02:40:27 -0800 (PST) X-Google-Smtp-Source: AJdET5f7q8VxEFGhCIzrzth/SC8WLfwK3iHIJAydGqpxVYF6nRxIG8LxWDMPBujk4dXJOJwL8COj X-Received: by 2002:a17:902:b093:: with SMTP id p19-v6mr16198207plr.107.1541414427646; Mon, 05 Nov 2018 02:40:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541414427; cv=none; d=google.com; s=arc-20160816; b=g7ULCaarG6UowgcHFSkjaSB8Vp7z5ogHPi/JOU/DdAO+ugmR9FitWatTGJ04mB9gJI JkAk6Gce9rccj1cW2qedT3C5BnW94YQaASy7waK17yss8MziJ1Kk+ENZyGjJNpU6KRxI BsEuSbD9uoHU7Qo0MEDe0sKbnzIRdcn6tUQAueYTgwvsUdrA+/EgkrrV1eRel7oox+ks 8J1MYKolBN9CV1WPD82TCFceJPEv/6Wn+Mvxn1kG+XEFGIstL19Pl6WH50AjytDrAInA 7G7OSFu98CeRDPAduN2+jWfY56LLyCAN3nJGyQXy2YBRH2IqF++tqJ3ey7wnyOOfk0Aw el4Q== 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; bh=770bkuA9cYg8b4aj+WaS+FDf/LizEB2QthsnYfJ8NJI=; b=VjSA1N/4Eng0jbE8Xq8HlNw5tTHiQwT/TyHqHz9mDl3grKlrR2CLcY0R0YGgBC9cfd Q0AbTzwAdPPG+fZezfMBi9zrJfCoNsDr/p4HgpCruieR98nx0nraEvRKJQ1M7WmfyJwX 0twZEvYGj+Tb369qwZWb7fIk2fLmXSNV374nqOoFLu05vIrYMiySlD8E88XGBtCBqN8v h5GYzTQaLxx63gzlRLM1ocWpxMq/hevz6ZsACfHd95uTWJKIOF0BsT6DJOesNDCkWcL3 R3J+H9HrDiL5m+X+Sj5C+Xx424C/8JKCfD5ibEjTV4wrJRg4smc1pTi5Ody7Ne8xpsaz dHOw== ARC-Authentication-Results: i=1; mx.google.com; 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 o195-v6si7620774pfg.79.2018.11.05.02.40.12; Mon, 05 Nov 2018 02:40:27 -0800 (PST) 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; 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 S1729390AbeKET5U (ORCPT + 99 others); Mon, 5 Nov 2018 14:57:20 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:40352 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729349AbeKET5U (ORCPT ); Mon, 5 Nov 2018 14:57:20 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 484EBEBD; Mon, 5 Nov 2018 02:38:17 -0800 (PST) Received: from e107155-lin (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E3D7C3F5BD; Mon, 5 Nov 2018 02:38:14 -0800 (PST) Date: Mon, 5 Nov 2018 10:38:07 +0000 From: Sudeep Holla To: Taniya Das Cc: Stephen Boyd , "Rafael J. Wysocki" , Viresh Kumar , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Rajendra Nayak , devicetree@vger.kernel.org, robh@kernel.org, skannan@codeaurora.org, linux-arm-msm@vger.kernel.org, amit.kucheria@linaro.org, evgreen@google.com, Sudeep Holla Subject: Re: [PATCH 2/2] cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver Message-ID: <20181105103807.GA12647@e107155-lin> References: <1539257761-23023-1-git-send-email-tdas@codeaurora.org> <1539257761-23023-3-git-send-email-tdas@codeaurora.org> <153981915373.5275.15971019914218464179@swboyd.mtv.corp.google.com> <0c51a12e-38d3-2df5-4f5f-6a687727e9bf@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0c51a12e-38d3-2df5-4f5f-6a687727e9bf@codeaurora.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 03, 2018 at 08:36:00AM +0530, Taniya Das wrote: > Hello Stephen, > > On 10/18/2018 5:02 AM, Stephen Boyd wrote: > > Quoting Taniya Das (2018-10-11 04:36:01) > > > --- a/drivers/cpufreq/Kconfig.arm > > > +++ b/drivers/cpufreq/Kconfig.arm [...] > > > +static const u16 cpufreq_qcom_std_offsets[REG_ARRAY_SIZE] = { > > > > Is this going to change in the future? > > > > Yes, they could change and that was the reason to introduce the offsets. > This was discussed earlier too with Sudeep and was to add them. Sorry, I didn't like these registers to be coming from DT and I had the same question: will this keep changing ? And IIRC, the answer was yes. But I agree with Stephen, if and when we see the change, you can introduce the array and keep it simple until then. -- Regards, Sudeep