From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752234AbdLKIjL (ORCPT ); Mon, 11 Dec 2017 03:39:11 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:39408 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751281AbdLKIjH (ORCPT ); Mon, 11 Dec 2017 03:39:07 -0500 X-Google-Smtp-Source: AGs4zMa4a8RX/Dso5zSTHfGc11GpS3gL9zVuE0R6JNBnGfzxuoKmd3gOvBW0OzQMHbmaG7ADuswkvQ== Date: Mon, 11 Dec 2017 14:09:05 +0530 From: Viresh Kumar To: Sricharan R Cc: mturquette@baylibre.com, sboyd@codeaurora.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 11/12] cpufreq: Add module to register cpufreq on Krait CPUs Message-ID: <20171211083905.GF25177@vireshk-i7> References: <1512726150-7204-1-git-send-email-sricharan@codeaurora.org> <1512726150-7204-12-git-send-email-sricharan@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1512726150-7204-12-git-send-email-sricharan@codeaurora.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08-12-17, 15:12, Sricharan R wrote: > From: Stephen Boyd > > Register a cpufreq-generic device whenever we detect that a > "qcom,krait" compatible CPU is present in DT. > > Cc: > Signed-off-by: Stephen Boyd > --- > .../devicetree/bindings/arm/msm/qcom,pvs.txt | 38 ++++ > drivers/cpufreq/Kconfig.arm | 9 + > drivers/cpufreq/Makefile | 1 + > drivers/cpufreq/qcom-cpufreq.c | 204 +++++++++++++++++++++ > 4 files changed, 252 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,pvs.txt > create mode 100644 drivers/cpufreq/qcom-cpufreq.c This must be done differently as we have enhanced OPP core to support such hardware. Look at: dev_pm_opp_set_prop_name() and the binding around it (opp-microvolt-). Talk to Stephen, he was part of all those discussions. -- viresh