Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933830AbbHKJHo (ORCPT ); Tue, 11 Aug 2015 05:07:44 -0400 Received: from foss.arm.com ([217.140.101.70]:52544 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933763AbbHKJHh (ORCPT ); Tue, 11 Aug 2015 05:07:37 -0400 Message-ID: <55C9BB53.1090001@arm.com> Date: Tue, 11 Aug 2015 10:07:31 +0100 From: Sudeep Holla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Javi Merino , =?UTF-8?B?IkNodW5nLVlpaCBXYW5nICjnjos=?= =?UTF-8?B?5bSH5oe/KSI=?= , Zhang Rui , Eduardo Valentin CC: Sudeep Holla , Mark Rutland , "linux-kernel@vger.kernel.org" , Rob Herring , Pawel Moll , Ian Campbell , Kumar Gala , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" Subject: Re: [PATCH] thermal: of: Introduce governor selection in dts References: <20150807103121.GC7646@leverpostej> <20150810174723.GC2747@e104805> In-Reply-To: <20150810174723.GC2747@e104805> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1259 Lines: 30 On 10/08/15 18:47, Javi Merino wrote: > On Mon, Aug 10, 2015 at 09:00:49AM +0100, Chung-Yih Wang (王崇懿) wrote: >> This patch was originally introduced when we made power_allocator the >> default governor where we had issues in binding a thermal zone w/o >> parameters to. Then we came out this facility for binding a specific >> governor to a thermal zone in dts instead of the default governor. >> Javi seems like this idea much. > > While I can understand why this is not suitable for devicetree, we > should have a way in the kernel to configure different governors for > different thermal zones defined in device tree. Thermal zones defined > from platform code can choose the thermal governor when they are > registered. > > If this information can't go in device tree, where can we put it? As > an additional parameter to thermal_zone_of_sensor_register()? > Why can't it be via sysfs allowing users to select their choice of governor ? (like cpuidle/freq or even devfreq I assume) Regards, Sudeep -- 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/