Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp854136ybp; Wed, 9 Oct 2019 05:22:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxM9cChh4RlIYrpPXEXdIed7Jt4qNMn5MjsqLRKHx/9bmkCoyycIMTIWGIb/3m8kwpQoijP X-Received: by 2002:aa7:d842:: with SMTP id f2mr2683720eds.27.1570623744770; Wed, 09 Oct 2019 05:22:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570623744; cv=none; d=google.com; s=arc-20160816; b=qWvWBBjFVOLRhxES8OyMKmYjANeYkQHv//ALokwFU/dUAwPTH5g8QuawuK5tWI4unr kJhWjkVMgM4cbdebm6dI2pGJOuM8yWJy+inHTF8dQB4M/qpa5k3l2ixDKB+yYiAbbeYj WKKkPNywN+GkEfVumAB/gI6ZTOrn+ZrZFd8H1TlKIX8pV7KXbZb+AyTduejX3+tNh5cD 03rPo390ZQMRQ010ewoFNOMf9t2lvMjLxbmMwNA23vQrMXzI+dwl22Ppz2S5DGegysqe RPyxdDbH1l6PtYk2zg4OmA+mGvVLeLiofvJXbV4dgSd2elzFNDORQ0qAvk57Fj7t4Ntg rbwQ== 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=W0eFvkxC6/6v6MGd/x6emnhmXUqGXpfFvPc0fr695gI=; b=YQnadDxY9UUU5R9Lv3ugzmw2FAjWWKf3Hc45jyrIiqoDf+o0mssxTUMEX0Pl3tKzZX nreOFYUNMK1WfZ6I9+Xu+kL06W9Wvmvf2xr13fNUx3Po5xbABQwPDosb0sxc9Cq1mVYT +E6dVChnF8aAL7b3qmw8AG8NJAbR4CKI5om4RJ2lGuD60uuyKwMBRkwjYBNG+vaSHMWI fBmP+xPVV/MSbyiGY2o2BWjHseH9+AVeBPYO0z+jnjcQc344+LVSxNzHuFmcANcINx3V fwPdfNOrEJsGMIN+DYljHw7Dg3E87tzlzZlO6d6WBPlvZoqJmSqzqrjI3OTHYIinbMEC AMiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nAz6Fdi2; 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 fk4si1082476ejb.161.2019.10.09.05.21.59; Wed, 09 Oct 2019 05:22:24 -0700 (PDT) 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=nAz6Fdi2; 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 S1730629AbfJIMSU (ORCPT + 99 others); Wed, 9 Oct 2019 08:18:20 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:33113 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729883AbfJIMSU (ORCPT ); Wed, 9 Oct 2019 08:18:20 -0400 Received: by mail-qk1-f196.google.com with SMTP id x134so1997185qkb.0 for ; Wed, 09 Oct 2019 05:18:19 -0700 (PDT) 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=W0eFvkxC6/6v6MGd/x6emnhmXUqGXpfFvPc0fr695gI=; b=nAz6Fdi2dhW3cQpy72UZ2Ed+BztZuCu7D3ldtxo3tDn3TZK6+A3HPBEFye8+Ynfrw8 nLuvsgdeP/rP+wVGHGDMjFHZzzTMvP8l7R0Hvk6eUf/N9HJUmZSgz7Gpq+iI9dvKNemg Fo8ctp5jSdqrM2XQoFcgNwtO0ps05sOSYIfTC6Bbe1uSDjthSyRVK5KTS9cWkVKD6fCG sKwHMW7qhSb0YKVcrGx19xZbJin+sRGCQTZcb3A65qEh35/fTHTQLpHWzFiApofiJZCw E4f0KTOMvh+ScMmaX3UkAZc7AOUpTRx5oXHfzpfcfX1LR6O1KiXeL5MfQg9wFstEKWil m2+Q== 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=W0eFvkxC6/6v6MGd/x6emnhmXUqGXpfFvPc0fr695gI=; b=ajMnLpGvrfNZtzA0ghfWVnwRZP8JQnBMZpE0lDaGPIeX3lKXt/kzva9ZefldvYGjg2 Oe9iYH4xxf1MG89mpZlr1TYpKfkNljDLSMAy/VG3yqHPLFTna4egzEd8VlPI+WYzik7Y IHGEg2GBsIFpDxGank7HjFpAe7C3VoLjz1mxxlYdDJTTtd9hM0QOGaC439kk1agNTalE JOrjLjXQCaHWc+5ldR6DFeynT83bnAtpwn+tS/+0HnD9tgNaTAqIgNWHbfSWA5OcV5EH LBWmRBo7rVN6D5MdffilcDofoslCflLwn01/mJkKnW7VmPpYn60zDgEQDHlZuMhLUYbp Sanw== X-Gm-Message-State: APjAAAVCNq18tByTkhcU7GRPjC8kCFr0kmRQ+01AYNJoVOlvlfOFlDqf gFm9stk9xcK5FBYb87nF7WG5pxoKi67WOg== X-Received: by 2002:a37:f61d:: with SMTP id y29mr3184876qkj.338.1570623498260; Wed, 09 Oct 2019 05:18:18 -0700 (PDT) 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 c8sm806133qko.102.2019.10.09.05.18.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Oct 2019 05:18:17 -0700 (PDT) Subject: Re: [PATCH 3/5] dt-bindings: thermal: Add generic power domain warming device binding To: Rob Herring References: <1568135676-9328-1-git-send-email-thara.gopinath@linaro.org> <1568135676-9328-4-git-send-email-thara.gopinath@linaro.org> <20190930144205.GA11539@bogus> Cc: edubezval@gmail.com, rui.zhang@intel.com, ulf.hansson@linaro.org, daniel.lezcano@linaro.org, bjorn.andersson@linaro.org, agross@kernel.org, amit.kucheria@verdurent.com, mark.rutland@arm.com, rjw@rjwysocki.net, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org From: Thara Gopinath Message-ID: <5D9DD006.8010809@linaro.org> Date: Wed, 9 Oct 2019 08:18:14 -0400 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: <20190930144205.GA11539@bogus> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Thanks for the review On 09/30/2019 10:42 AM, Rob Herring wrote: > On Tue, Sep 10, 2019 at 01:14:34PM -0400, Thara Gopinath wrote: >> Add binding to define power domains as thermal warming >> devices. >> >> Signed-off-by: Thara Gopinath >> --- >> .../bindings/thermal/pwr-domain-warming.txt | 32 ++++++++++++++++++++++ >> 1 file changed, 32 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/thermal/pwr-domain-warming.txt >> >> diff --git a/Documentation/devicetree/bindings/thermal/pwr-domain-warming.txt b/Documentation/devicetree/bindings/thermal/pwr-domain-warming.txt >> new file mode 100644 >> index 0000000..25fc568 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/thermal/pwr-domain-warming.txt >> @@ -0,0 +1,32 @@ >> +* Generic power domain based thermal warming device. >> + >> +This binding describes the power domains that can be used as a >> +thermal warming device. > > This looks like just a gathering of properties and way to instantiate > some driver. > > I think this all belongs in the power domain provider. Make it a cooling > device and you should know which domains are relevant based on the > compatible (though perhaps we could consider a list in DT). If you want > to instantiate a separate driver to handle this, then make the power > domain driver do that. This sounds fine. A list in DT might be needed though. I have a separate driver. I should be able to get the genpd provider driver call into it. I had asked this to Ulf and he seemed to be fine with it as well > > Rob > > -- Regards Thara