Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp350284ybh; Thu, 12 Mar 2020 03:14:19 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtZsNMJtRKtfzn1TKJoj6BduzhzK4CD3Rn98jfv6DdEeK1rGcZDas1tG2/+kIRXCNZzAfTe X-Received: by 2002:a05:6808:b30:: with SMTP id t16mr2051724oij.117.1584008059064; Thu, 12 Mar 2020 03:14:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584008059; cv=none; d=google.com; s=arc-20160816; b=BmsryTZ1BX+MaVLh8r8JpOmyoRmE4CFlGkUCmJeAr0My1WKGJHFLWCBMwpYVhgufMA uM5IB1jqUjdz2ZOPA3wfVPzMK0rhghNLquZRCRbIDjzkkBZzNxMnYfL5iyH6HFKYEbP7 qCVp0VQZ2Hg+hEugdQ1pQJ0vK+Tb8tNmqZxgpFi/kppNQtQvz3Jx1MzxNvJYbEZD2Lpp y3azrA9FsthiwCnWRWVWVtGrzwjut6QKioO3BPXn0YEwPotiHEqmo6jnePir6Q9xS6Gc Y90uuZ53ff+pt/BEhZtHFmzO/YoqqwhD4GEZ1f/t8g9OJSdJtDyuN0M34IJGGpOjJPy1 d6nQ== 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=g2ic8RCgE8xfXSotQsLJPMX+SIIxXdgAWghsG0UmqWY=; b=mDAYp2csqmx/8F+ytDem7hlQRc8wWdtygy8hzCAb//Ff7ZF8px+qO/uZ0nuJ9tYQdf Hp3rWVu2Ko8fKBd7EVIgndhpf9usoY4EGR1+7j6XrjNCTc29yroExSBnCOmtrlq+5hm4 qzqNKoe+tr1Ds5YlvDQmNPaeTPsJY4N5swBcrJmBzpiL/LJsYbUqJ0ofILVywEpDxHVz EGz+dm96FYc4B792+hf7LI8nGwpnpIYABBOgVnQQYZRAPy2YM/ZytrM2UL3xGyH4dfOt O08ZDXLVV/di05vju94vQaly/pjDbaeROoMBh0z2d0ybrZ/6ptqpawSfMYIy4iFCFcEC SjXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G+UNAh6w; 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 t3si2484439oth.247.2020.03.12.03.14.05; Thu, 12 Mar 2020 03:14:19 -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=G+UNAh6w; 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 S1726558AbgCLKMo (ORCPT + 99 others); Thu, 12 Mar 2020 06:12:44 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:39154 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726385AbgCLKMn (ORCPT ); Thu, 12 Mar 2020 06:12:43 -0400 Received: by mail-pf1-f195.google.com with SMTP id w65so3030262pfb.6 for ; Thu, 12 Mar 2020 03:12:41 -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=g2ic8RCgE8xfXSotQsLJPMX+SIIxXdgAWghsG0UmqWY=; b=G+UNAh6wj/c0SGz5GhPSr+VYq88055m5ZZtvU0lGNrZyPFoDBu4p2FqlJVbHL/0EUl 6ARFETg2dQqDIZvvCsZcC4vZgzQ/u3QoEqcHtqMHvJUDVrmr3IDXqXgtNF8Jk2zJj0Bo SkAT9oTLszdsWdZwcJ1HgX6P1ICWSXNQdtu/iGNnBZyYFIPlEeqB33DuXHZ9T1e6nCNm qsdslFvy+BKwlPpw7fWakLpmb321bPsUvyvoOvrkrCz7G/hpLnLamMC3W3UN4XnrgEoL SJ/l+N9kwwd6BEVVF+n3HteQBjQY1arEZRxvnFSreA83IHR9Q9hU6IEvl6EZDs+yDaji uUcg== 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=g2ic8RCgE8xfXSotQsLJPMX+SIIxXdgAWghsG0UmqWY=; b=NZTFZc6OER7eOMq9FXH0TVXd+1Dmlgs3sqtWVyrEj1STMvCHXqxSfum1Dlm7FWv62g 31RsNrMbbNeJLg5IEbpnu3ys13QAOGTvq7McfpJc+SWY0ypWkGPvW0WerzDLA+xkJMEo N/6dHZofoBLWUD+yybUWdrziflqW0GYBmf98A/zwy3g6ND4q7/NkoOMHxT0H7sPDq4eE DJR6hU0JQIOMTLim+fhYjzfy5kHPBPYvaryOCPyjazDAgoEj9KC+Ydva1UdV44ATMq9q ZN6c7XzRhKiFBv+YWlD26JXhIklwNIbw2FcB6Kgrbsc/AMYF+NPcTi6p7QWkXbIR/yoK /ILQ== X-Gm-Message-State: ANhLgQ0JIBtjzTMH55Tt34z6hnjCm59v1XFoCCpDQTkwy5YCzxKHbUCw 6RnbLKjBDnccoBtvfiiE6yLueg== X-Received: by 2002:a63:b216:: with SMTP id x22mr6869446pge.198.1584007960467; Thu, 12 Mar 2020 03:12:40 -0700 (PDT) Received: from localhost ([122.171.122.128]) by smtp.gmail.com with ESMTPSA id k5sm8173410pju.29.2020.03.12.03.12.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Mar 2020 03:12:39 -0700 (PDT) Date: Thu, 12 Mar 2020 15:42:32 +0530 From: Viresh Kumar To: Ansuel Smith Cc: Sricharan R , Andy Gross , Bjorn Andersson , Ilia Lin , Viresh Kumar , Nishanth Menon , Stephen Boyd , Rob Herring , Mark Rutland , "Rafael J. Wysocki" , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cpufreq: qcom: Add support for krait based socs Message-ID: <20200312101232.fmjs3zjl3gud5myh@vireshk-i7> References: <20200219205546.6800-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200219205546.6800-1-ansuelsmth@gmail.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 19-02-20, 21:55, Ansuel Smith wrote: > In Certain QCOM SoCs like ipq8064, apq8064, msm8960, msm8974 > that has KRAIT processors the voltage/current value of each OPP > varies based on the silicon variant in use. > > The required OPP related data is determined based on > the efuse value. This is similar to the existing code for > kryo cores. So adding support for krait cores here. > > Signed-off-by: Sricharan R > Signed-off-by: Ansuel Smith > --- > .../bindings/opp/qcom-nvmem-cpufreq.txt | 3 +- > drivers/cpufreq/Kconfig.arm | 2 +- > drivers/cpufreq/cpufreq-dt-platdev.c | 5 + > drivers/cpufreq/qcom-cpufreq-nvmem.c | 181 ++++++++++++++++-- > 4 files changed, 173 insertions(+), 18 deletions(-) Can someone from Qcom team review this ? -- viresh