From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH 02/14] clk: Create of_clk_shared_by_cpus() Date: Wed, 9 Jul 2014 20:50:53 +0530 Message-ID: References: <5f7164d789e87c62d722b575980c92dfd0504334.1404231535.git.viresh.kumar@linaro.org> <53BD53EA.8050708@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-ob0-f169.google.com ([209.85.214.169]:59012 "EHLO mail-ob0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756122AbaGIPUx (ORCPT ); Wed, 9 Jul 2014 11:20:53 -0400 Received: by mail-ob0-f169.google.com with SMTP id nu7so1235750obb.0 for ; Wed, 09 Jul 2014 08:20:53 -0700 (PDT) In-Reply-To: <53BD53EA.8050708@ti.com> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Santosh Shilimkar Cc: "Rafael J. Wysocki" , Shawn Guo , Nishanth Menon , Lists linaro-kernel , "linux-pm@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , Tomasz Figa , Stephen Boyd , Linux Kernel Mailing List , Thomas P Abraham , Arvind Chauhan , Sachin Kamat , Lorenzo Pieralisi On 9 July 2014 20:08, Santosh Shilimkar wrote: > I might be wrong but this API seems to bit short cited. We should probably > handle it bit better since there are more cases instead of just checking CPU > tuple. More than two CPUs may share the clock so discovering that in one iteration > is better. I also think this is closely related to CPU topology. > > - CPUs part of 'a cluster' shares same clock. > - Multiple clusters may share same clock > - Every CPU might be clocked from separate PLL. All these configurations are currently supported by this series.