Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751807AbaGRER1 (ORCPT ); Fri, 18 Jul 2014 00:17:27 -0400 Received: from mail-oa0-f54.google.com ([209.85.219.54]:56874 "EHLO mail-oa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbaGRERZ (ORCPT ); Fri, 18 Jul 2014 00:17:25 -0400 MIME-Version: 1.0 In-Reply-To: <2399813.Puj1SZWhCh@vostro.rjw.lan> References: <20140717093518.486ac244@free-electrons.com> <2399813.Puj1SZWhCh@vostro.rjw.lan> Date: Fri, 18 Jul 2014 09:47:24 +0530 Message-ID: Subject: Re: [PATCH 00/14] cpufreq: cpu0: Extend support beyond CPU0, V2 From: Viresh Kumar To: "Rafael J. Wysocki" , Stephen Boyd , Rob Herring , Mike Turquette Cc: Thomas Petazzoni , Nishanth Menon , "devicetree@vger.kernel.org" , Lists linaro-kernel , Simon Horman , "linux-pm@vger.kernel.org" , Tomasz Figa , Linux Kernel Mailing List , Thomas P Abraham , "linux-arm-msm@vger.kernel.org" , Kukjin Kim , Arvind Chauhan , Sachin Kamat , Michal Simek Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18 July 2014 06:32, Rafael J. Wysocki wrote: >> > only support the following cases: >> > >> > * One clock for all CPUs >> > * One clock for each CPU >> >> Yeah, so I also proposed this yesterday that we stick to only these >> two implementations for now. And was looking at how would the >> cpufreq-generic driver come to know about this. >> >> So, one way out now is to see if "clocks" property is defined in >> multiple cpu nodes, if yes don't compare them and consider separate >> clocks for each cpu. We don't have to try matching that to any other >> node, as that's a very bad idea. Mike was already very upset with that :) >> >> @Stephen/Rafael: Does that sound any better? Ofcourse the final thing >> is to get bindings to figure out relations between CPUs.. > > Before I apply anything in this area, I need a clear statement from the ARM > people as a group on what the approach is going to be. Thanks for your response Rafael. Mike/Rob/Stephen: I believe Atleast three of you should express your views now :) So, this is what I propose: - I will start another thread with a new DT binding, something like: "clocks-ganged" = <&cpu0> and then we can decide on naming/etc .. - I will drop the patch which matches clock nodes from DT and introduce another one that will just check if "clocks" is mentioned in more than one CPU. If yes, then we behave as if all CPUs have separate clock lines. That will work for Krait/mvebu and all existing users. Does that sound good? -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/