Received: by 10.223.185.116 with SMTP id b49csp3051876wrg; Mon, 5 Mar 2018 13:12:43 -0800 (PST) X-Google-Smtp-Source: AG47ELt/hA02/aPsg2a9VjCkGrOuvyAOKB0/6pLeD6nw6RRfZ4Wy5wBsk1oB7XOHHaKm6RqYzEWl X-Received: by 2002:a17:902:bcc5:: with SMTP id o5-v6mr13816687pls.86.1520284362932; Mon, 05 Mar 2018 13:12:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520284362; cv=none; d=google.com; s=arc-20160816; b=jICW47iFQfoqCLgUpdIjwxG0pMDUzDGzycd7vJiHtpyyqht8JRSukITeAVlipsSaU5 +ahL1ncDhZKlcqx50ug49faqQY89ECNGnqIqUvj19uJtQFeT+eeHSZEQ9/UuseR9rezt RrScTTEPsONVpvOKl7JQW189FnJ7VYic9R6nz1HgJRJwQIzCLu00e3b0VHABSKqzyOl7 ez6QvP2C1EjN3uc+z2nqQQ5Es+m/QU17dpDje8Z5NoxWu4zcXhvON4X+JTgHt2xRbGf+ YzXHDhsScHEVxv4zjQ4liAnqNuYaV85Gr5NXTdEsTuFYeejiDjUSBMWhtvx1rhNVUS6Y bpCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=Sl2C17fWvWhDh+K9jOact+kjWud8+7BmVozQ7oujuW8=; b=XV7eyS0WHkB8RyMo1bod+qHekHjy8rl7p6aQbQCbz6oZ/hXN/gm7K6BOBK+nCFYQmh edxHvuokc+wYY8r2uOv4GJe2tRH/hNOwDRQcO+WRlrURp5S7cJLDFv63DnXrOtLyfXXU pSz27u3gvx3iLb/mmUZ2Kq6Qt6fzoinYJcszkQNCGrG4KgiZw16wNkEnhTlvm6fc0pjF h0uWRoMC9Q33iMxFFvn/rjbzWMIk21rF3y0tJZOlx4USgOVZBd8AbU39veijG/thzz3X AaTVY52mAxZ8dj4TI3WWvwg6sx7ZT+xbQu5GEcqYO9ZUdETc+GF3yBrpCWsQj7QKqcWX mzYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C1MCf3Fn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6-v6si9900129plt.123.2018.03.05.13.12.28; Mon, 05 Mar 2018 13:12:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C1MCf3Fn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753168AbeCEVLT (ORCPT + 99 others); Mon, 5 Mar 2018 16:11:19 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33728 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753047AbeCEVLQ (ORCPT ); Mon, 5 Mar 2018 16:11:16 -0500 Received: by mail-wm0-f68.google.com with SMTP id s206so15028152wme.0 for ; Mon, 05 Mar 2018 13:11:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Sl2C17fWvWhDh+K9jOact+kjWud8+7BmVozQ7oujuW8=; b=C1MCf3FnHGUZjmfiZyhlkmA21gBRo1eSqOBVUh3X2GR4ySqTs6/tpBQyFPEitIqFmh 3Q68+t113RUpOtW+LeO7jcUp0XgGnTTdt3Nl+SIbdKEiyXqtlI0Eh8lM1Y4nEyKS0fpt bdX0KxEfRe4P93ZPwNlRWjfoAKaCEPtdwp/m4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Sl2C17fWvWhDh+K9jOact+kjWud8+7BmVozQ7oujuW8=; b=L+aMBKr7Dk9xRY1JSUVbOmlMop0dh+9vj7A1X324nDF/xwrfHuFjuOqA0QZhjrrBBU gmAK1AagUXa5yioKRQzj1Pq1lhwbXKT2jDBGdHyUnnFY9VkZXQoOMGXruCspuCfeERsT SbhraPADY4ce6BfzbJuaVDTd8v5ohg/U2BQ9A3el2nXoY1JhTOHAjNkNWmXXKZQ7QiiB /mKrKSpgDWS8ypIApLvneWy1vzzEwuSc50tjRS1KFQ7hZvfLguccF54LjzynyQe9vaVk UUW7wbI7ZPDTa3qJupqj/aMVuvP2pabvHW/oSWBLER1m6mpXIDhU7zWj0QmmWKNzoymd dWCQ== X-Gm-Message-State: AElRT7GS3anjcBqvJW3jokwLNYTugmNFd+HVGxz3pGOfyLH/Jf6oNgN6 InohIW/lPZ6xG8z6p9v0Yu4ucrOQxrk= X-Received: by 10.28.17.77 with SMTP id 74mr9326650wmr.67.1520284274920; Mon, 05 Mar 2018 13:11:14 -0800 (PST) Received: from ?IPv6:2001:41d0:fe90:b800:bc0a:c745:2060:73bd? ([2001:41d0:fe90:b800:bc0a:c745:2060:73bd]) by smtp.googlemail.com with ESMTPSA id m71sm8868858wmd.6.2018.03.05.13.11.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Mar 2018 13:11:14 -0800 (PST) Subject: Re: [PATCH] thermal: of: Allow selection of thermal governor in DT To: Amit Kucheria , devicetree@vger.kernel.org Cc: Ram Chandrasekar , ilina@codeaurora.org, Zhang Rui , Eduardo Valentin , Rob Herring , Mark Rutland , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: <3b80853abb45a9e067cf7a16754b07bb67712457.1520274879.git.amit.kucheria@linaro.org> From: Daniel Lezcano Message-ID: Date: Mon, 5 Mar 2018 22:11:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <3b80853abb45a9e067cf7a16754b07bb67712457.1520274879.git.amit.kucheria@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/03/2018 19:36, Amit Kucheria wrote: > From: Ram Chandrasekar > > There is currently no way for the governor to be selected for each thermal > zone in devicetree. This results in the default governor being used for all > thermal zones even though no such restriction exists in the core code. > > Add support for specifying the thermal governor to be used for a thermal > zone in the devicetree. The devicetree config should specify the governor > name as a string that matches any available governors. If not specified, we > maintain the current behaviour of using the default governor. > > Signed-off-by: Ram Chandrasekar > Signed-off-by: Amit Kucheria Why not create a kernel parameter (eg. thermal.governor=) ? So everyone can gain benefit of this feature. And in order to specify that from the DT, add the 'chosen' node and bootargs with the desired kernel parameter? -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog