Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp343290imm; Tue, 15 May 2018 02:30:58 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrbnBDDIeQrEymCG0OSUUubxKvwCt/YAba8dPXgh9VIiSRBPgk+YsxKKldRe7RatQ8fXMuT X-Received: by 2002:a63:a807:: with SMTP id o7-v6mr3321625pgf.445.1526376658297; Tue, 15 May 2018 02:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526376658; cv=none; d=google.com; s=arc-20160816; b=HyU1wx2hM5yoWd65L3tAKPerlxkhtitRZjb/1W5XrhvYBdkCrPLdRCSC+T3lggGoRJ DUvzHfLuVwc4vHvaJecIFMqvwjPVFioeI1J4HoV+FOt/ozqFlj7hZlUW/ZGIMKATN38T v65SwV3jsm0PGePo+Pudw+JIlhZIBEYVbWE+NMPKb1ClUJTrxPPk6rbNLFjp4t+5bttE YDQ6PPagcIxThYdUGCjNdnZVptu4ty5+mTlIMsk0UE3Mn1LfJ2FYyRyZ1iH0h0euOvPX N3WZO53zhOha6RIUj0daJrNhohdydbJbQsbYW1wgJpdPbc27K1IXEywobV1SbNZt964l 1DQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=4/FaeJ/6GBFu7ylnkkqf/pu78rzN9awHHu+p+aoXV+U=; b=C5zipSQDdT2vS7nl9CxIAdtHvXR8EMfLfWw+DrapgL+FMv1atpxpxGFn3/6EEdpPMp 0CvG5TiSenABFL8nRxE/6eV7MiHKD6o6Xv9dzzc+DM7InTl45C6Tr2Lt3o/Tj1KXXu10 WXUCDWm3muWmFJ7AQcifC51gPGEx7lBhMeDMc7PjH6avWdikvs1q1VkawVGj0zbnNeb1 dFCjdSdaSyV1NJrcBn2z+F7UBPle+RHovssGhUeiVDxDktH1f0UG5NCG8MxckYom8htH rUI7TB/SEoMdKwcdLASYpVw2g28wkeuIznALd4rMBPhoOcTIJ+YRU7Ok4UxgGuYfjgeR K+pg== 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 e37-v6si11801712plb.400.2018.05.15.02.30.42; Tue, 15 May 2018 02:30:58 -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; 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 S1752611AbeEOJ3X (ORCPT + 99 others); Tue, 15 May 2018 05:29:23 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:53439 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752313AbeEOJ3V (ORCPT ); Tue, 15 May 2018 05:29:21 -0400 Received: from 79.184.254.241.ipv4.supernova.orange.pl (79.184.254.241) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83) id dabcb2fbf0b18bda; Tue, 15 May 2018 11:29:19 +0200 From: "Rafael J. Wysocki" To: Viresh Kumar , Ilia Lin Cc: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, mark.rutland@arm.com, nm@ti.com, lgirdwood@gmail.com, broonie@kernel.org, andy.gross@linaro.org, david.brown@linaro.org, catalin.marinas@arm.com, will.deacon@arm.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rnayak@codeaurora.org, amit.kucheria@linaro.org, nicolas.dechesne@linaro.org, celster@codeaurora.org, tfinkel@codeaurora.org Subject: Re: [PATCH v7 12/14] cpufreq: Add Kryo CPU scaling driver Date: Tue, 15 May 2018 11:28:48 +0200 Message-ID: <2615751.ZtaStQGZr4@aspire.rjw.lan> In-Reply-To: <20180515091912.zhc2uo7js7ukjvl7@vireshk-i7> References: <1526375616-16904-1-git-send-email-ilialin@codeaurora.org> <1526375616-16904-13-git-send-email-ilialin@codeaurora.org> <20180515091912.zhc2uo7js7ukjvl7@vireshk-i7> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, May 15, 2018 11:19:12 AM CEST Viresh Kumar wrote: > On 15-05-18, 12:13, Ilia Lin wrote: > > In Certain QCOM SoCs like apq8096 and msm8996 that have KRYO processors, > > the CPU ferequencies subset and voltage value of each OPP varies > > based on the silicon variant in use. Qualcomm Process Voltage Scaling Tables > > defines the voltage and frequency value based on the msm-id in SMEM > > and speedbin blown in the efuse combination. > > The qcom-cpufreq-kryo driver reads the msm-id and efuse value from the SoC > > to provide the OPP framework with required information. > > This is used to determine the voltage and frequency value for each OPP of > > operating-points-v2 table when it is parsed by the OPP framework. > > > > Signed-off-by: Ilia Lin > > --- > > drivers/cpufreq/Kconfig.arm | 11 +++ > > drivers/cpufreq/Makefile | 1 + > > drivers/cpufreq/cpufreq-dt-platdev.c | 3 + > > drivers/cpufreq/qcom-cpufreq-kryo.c | 150 +++++++++++++++++++++++++++++++++++ > > 4 files changed, 165 insertions(+) > > create mode 100644 drivers/cpufreq/qcom-cpufreq-kryo.c > > Acked-by: Viresh Kumar OK, but I'm assuming that this will go in via arm-soc. Thanks, Rafael