Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1571703ybl; Tue, 3 Dec 2019 09:12:07 -0800 (PST) X-Google-Smtp-Source: APXvYqyQNkI0R+btob+weO5X+3MaLjjVSoltyF8qevSgbz3hwjw9+du50K6dvA5qdA0sNuUgnsHT X-Received: by 2002:aca:d7d4:: with SMTP id o203mr4133908oig.119.1575393127335; Tue, 03 Dec 2019 09:12:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575393127; cv=none; d=google.com; s=arc-20160816; b=lpkY2cYHMOdkkRPtp41spGqtwpPpEbUvNYPWq8S7zQbeeU4MDVY8jrwS6LDcLWfHIg UJznA+H9tTXkdZ9ivdnAztdR9ORppdwOYWGxTZDDi0V2vhfz5yKHoMtlSa8rZXrbw7lT JELeVCqDloV1vYO/MRuhFektdS02o1B/DN4Ol2Y6yeFxV4S/AEtx7ahuX1kL7/9pChTH f8R/Z1Df3bLNUIFAOpam7gVJ8zu5JRJJRU2gSlZ8kaPHkTfsbdyOr7YM5G962p4GHEt2 YiFT9BYMVW7atMBOK3uTaYF5ekO+fLJFmEqpMa/RF1zi/TdZ7DcQYPlQIzD5I2Kg4xg1 Xu1w== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature; bh=01XTZm3AS7koka7w5jivDQ2JG2pQ51gmspKmJxBqM1Q=; b=LVDv9k92elUdhkgBl93+7SDFgz6F0WeH8WKhMboPKQN5JZ56H6PtXyDxiavwNu+rid H7R3LMLeULYdxrpqonuh1OVtmbvcrp4e56oxcpbi+csUAJn2d+Tb3ED2dDQZTBqmQFJc LU6nkOEWsVZw6wcXaNTbyH7WU+9zd4StLzxOAIY3s6fhWjU+ZhQHgm5SrSXqo8BjbMSX bn+hD6QhbrpaBy+cKcAlhrd/pybDLQyQ6Sll5VnQJ+NmXqPOqv3fYewieBzRvvLq8xVQ JQwDOj14fDv/NNGEU4bn+hfSGuuYVykM1EBq1aE8So7fjA8xo7rZz1/ONDX1x77t9z0P HluQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zJPRWJCQ; 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 l65si1511137oif.11.2019.12.03.09.11.53; Tue, 03 Dec 2019 09:12:07 -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=zJPRWJCQ; 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 S1726819AbfLCRJv (ORCPT + 99 others); Tue, 3 Dec 2019 12:09:51 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:38225 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726492AbfLCRJu (ORCPT ); Tue, 3 Dec 2019 12:09:50 -0500 Received: by mail-qt1-f195.google.com with SMTP id 14so4513811qtf.5 for ; Tue, 03 Dec 2019 09:09:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=01XTZm3AS7koka7w5jivDQ2JG2pQ51gmspKmJxBqM1Q=; b=zJPRWJCQ9gSKKHtNoQkPpkVhPb6G6MprpMmhaSzr6kW4vteKLinPQTkgn9416FJR69 5lV9+1PlE7XPHwUgdc3JuwuwuZvFSTrGcqQjeYO4B2EHn5o42yH79D91//r/DHMnYHjE p0sxOGpehEgghxcN3sWqp0qnnfvr8q1HOAsQNWL3Ni4U0Q27bRl6xGlxGD22EBtadzDN njofEhekijY8AqIt+naPajyVpehpTo7eElacvXb636tGr/odwDcpVtXcCIxFcDZs7Sj8 zd9+xfqnP5ZIfrnOs0Ra4M6KZM1gVOuXjIayqFfAmY0W2fkycELAp2a4uSvbtYRbdMxN v8OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=01XTZm3AS7koka7w5jivDQ2JG2pQ51gmspKmJxBqM1Q=; b=lum+osVlDD6cl/KtaOWpk2v0+EZvwO1iLTrm4B2pyc4AtBZS2+TGi+HsyeWOD4uc7j duH+leqZ8cEQoLhTNyx3uI4R3xUETIa6cZUHtQQmAaSwQypggBA5qClsOEZ2Z4gCgjca LXcZR4IT2vYjejeXUrIX58oKPG+mI+sUvYMxkepFmfsQ4P94gKu4ayIBF32cO9+31jHl HSIAD8AuJb6vmKdNTBmrxuiiL19wG0fumXpCf1OankDppIuRNv5rTQAWHFgrlrPeAtcY 3gCxO3J8JXfppFTTLfwjevEZEj8vVpO1CsihRZRq7Kib62/QicOGvqh3tbbZvngwGc5X JumQ== X-Gm-Message-State: APjAAAXQcSmZHV02uH91HFNvzkBuCl0/PdB6ilprU9q20yHe9yNCPLoX WXYIQPBRv5JGQnEFVAc+fMNqXS442Wk= X-Received: by 2002:ac8:47cc:: with SMTP id d12mr5995726qtr.246.1575392988911; Tue, 03 Dec 2019 09:09:48 -0800 (PST) Received: from [192.168.1.169] (pool-71-255-246-27.washdc.fios.verizon.net. [71.255.246.27]) by smtp.gmail.com with ESMTPSA id s189sm2058727qke.41.2019.12.03.09.09.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Dec 2019 09:09:48 -0800 (PST) Subject: Re: [PATCH v3 3/7] thermal: core: Add late init hook to cooling device ops To: Amit Kucheria References: <1571254641-13626-1-git-send-email-thara.gopinath@linaro.org> <1571254641-13626-4-git-send-email-thara.gopinath@linaro.org> Cc: Eduardo Valentin , Zhang Rui , Ulf Hansson , Daniel Lezcano , Bjorn Andersson , Andy Gross , Mark Rutland , "Rafael J. Wysocki" , Linux PM list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-msm , LKML From: Thara Gopinath Message-ID: <5DE696DB.7020308@linaro.org> Date: Tue, 3 Dec 2019 12:09:47 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/03/2019 12:04 PM, Amit Kucheria wrote: > On Thu, Oct 17, 2019 at 1:07 AM Thara Gopinath > wrote: >> >> Add a hook in thermal_cooling_device_ops to be called after >> the cooling device has been initialized and registered >> but before binding it to a thermal zone. >> >> In this patch series it is used to hook up a power domain >> to the device pointer of cooling device. >> >> It can be used for any other relevant late initializations >> of a cooling device as well. > > Please describe WHY this hook is needed. Hi Amit, Thanks for the review. This patch is no longer relevant. I had posted a v4 of this series based on other review comments[1] 1. https://lkml.org/lkml/2019/11/20/355 -- Warm Regards Thara