Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753574AbdDKGfy (ORCPT ); Tue, 11 Apr 2017 02:35:54 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:33697 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752728AbdDKGfw (ORCPT ); Tue, 11 Apr 2017 02:35:52 -0400 Date: Tue, 11 Apr 2017 12:05:48 +0530 From: Viresh Kumar To: Mikko Perttunen Cc: rjw@rjwysocki.net, thierry.reding@gmail.com, jonathanh@nvidia.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH v2 1/3] cpufreq: Add Tegra186 cpufreq driver Message-ID: <20170411063548.GD3670@vireshk-i7> References: <1491313417-25085-1-git-send-email-mperttunen@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1491313417-25085-1-git-send-email-mperttunen@nvidia.com> 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 Content-Length: 1137 Lines: 32 On 04-04-17, 16:43, Mikko Perttunen wrote: > Add a new cpufreq driver for Tegra186 (and likely later). > The CPUs are organized into two clusters, Denver and A57, > with two and four cores respectively. CPU frequency can be > adjusted by writing the desired rate divisor and a voltage > hint to a special per-core register. > > The frequency of each core can be set individually; however, > this is just a hint as all CPUs in a cluster will run at > the maximum rate of non-idle CPUs in the cluster. > > Signed-off-by: Mikko Perttunen > --- > v2: > - Many cosmetic / restructuring changes > - Only one aperture read from DT now, with a new > structure containing the offset among other details > per cluster. > - Don't enable the driver by default. > > drivers/cpufreq/Kconfig.arm | 6 + > drivers/cpufreq/Makefile | 1 + > drivers/cpufreq/tegra186-cpufreq.c | 275 +++++++++++++++++++++++++++++++++++++ > 3 files changed, 282 insertions(+) > create mode 100644 drivers/cpufreq/tegra186-cpufreq.c For all three patches. Acked-by: Viresh Kumar -- viresh