From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [RFC] cpufreq: Add "dvfs-method" binding to probe cpufreq drivers Date: Mon, 1 Dec 2014 13:36:00 +0530 Message-ID: References: <596a6d49f2b3e2837aa9a54a3e1249161d3c9265.1416991009.git.viresh.kumar@linaro.org> <5476071B.1060705@arm.com> <5476F4ED.6040206@arm.com> <547707C8.3080108@arm.com> <547861C1.4040904@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-ob0-f174.google.com ([209.85.214.174]:53087 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752461AbaLAIGB (ORCPT ); Mon, 1 Dec 2014 03:06:01 -0500 Received: by mail-ob0-f174.google.com with SMTP id nt9so365833obb.33 for ; Mon, 01 Dec 2014 00:06:00 -0800 (PST) In-Reply-To: <547861C1.4040904@arm.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Sudeep Holla Cc: Rafael Wysocki , "rob.herring@linaro.org" , "linaro-kernel@lists.linaro.org" , "linux-pm@vger.kernel.org" , Nishanth Menon , Stephen Boyd , "devicetree@vger.kernel.org" , Santosh Shilimkar , Lorenzo Pieralisi , Arnd Bergmann , Mike Turquette , "grant.likely@linaro.org" , "kesavan.abhilash@gmail.com" , Catalin Marinas , "k.chander@samsung.com" , "olof@lixom.net" , "ta.omasab@gmail.com" On 28 November 2014 at 17:21, Sudeep Holla wrote: >> - Update those platforms to check if DT has "compatible" string in CPU >> node. >> If yes, don't create a device as this will be created by cpufreq-dt. >> > > This fixes how it will work with new DTs, how about old DTs ? > IMO we still need the blacklist kind of logic I sent before. Yes.. > I don't think this is something acceptable, why will someone want to > lose a working feature with new kernel. If some platform maintainers care for cleaner/simpler code instead of backward compatibility .. For example, exynos has just started to use cpufreq-dt. Probably in 3.18 or may be 19 as well.. So, they might not care about backward compatibility at all.. Let me see if I can come up with a solution that looks reasonably clean. -- viresh