Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2764812ybh; Mon, 16 Mar 2020 09:16:16 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsGny78KYqedST1PEV5nWkn7OrmCPSuL4WhbAAdLk+bkrhzPnOULNPYhiaW/pzVqaJs6XTh X-Received: by 2002:a9d:4b98:: with SMTP id k24mr79467otf.26.1584375376291; Mon, 16 Mar 2020 09:16:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584375376; cv=none; d=google.com; s=arc-20160816; b=CkA6NDj/W03PmKAKLIW3aymVmkPF1MZoT5iXi6ecXNPRdoeXx0PmXG3Ct7/hNVt21O xgrCC3MC6jkdLI8XFaQVhQS3wHCBw+TPWfyJjMXUqV1xzLK+Ot2dksHGyIar1Xn+JJXA MsKyCf8V/9pX4s4nn9jwIiNZABYRIjm6rakd4s8vaGNSEvbOE8+5evunewfhNhN97Hdz cjdZv33/UKgafe9KQorQ2aDzjmgsr1E75gtYzLRavc7DLpvwd9oPan3rEvEs7D3n5+Aj ArLNlNrWSc/Snk5GKR2re1oVnsqCEby5do1ikAkVBAEQXwr/HtLYZzVc6nzNmN6BhUKo Mf2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=bBDCtFmVlmwok8vUzi26MlGBbPcfcb7XMIsVTqNi9do=; b=TszzhMNyZSQDb9i163W8J2atHCWZGpolGESwhsspDY0Zhx7qPOBR/E/LmFegjGdKqk 3RcZKPhJUTjChxFuZx+9i9ATNtsZg77LUpmF1JbrOBh2TQkx7YzY/PKwH3/MEOTHSUz4 bnmYXrqG0j5wvIpJqvNS3PyDu6cvlS4PAJeyJk7gyDMxJvVphkhccDGsp1razpKcOGO6 RhrIvQlDJtUiDdl0Gn2LWtansQUbTqxhpBxHMUIph5nBPra6jeA9UfS7bLfIRUbxr6bt caLRwc50iEWEslK4j3LLAl17wAMl0ylc/DHX2M6g6G7N3wxrrlJ5Ng85dPgiFurMFvXS ByLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FuH75nUp; 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 k24si214465otf.213.2020.03.16.09.16.03; Mon, 16 Mar 2020 09:16:16 -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=FuH75nUp; 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 S1732073AbgCPQON (ORCPT + 99 others); Mon, 16 Mar 2020 12:14:13 -0400 Received: from mail-vs1-f66.google.com ([209.85.217.66]:34604 "EHLO mail-vs1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732040AbgCPQOM (ORCPT ); Mon, 16 Mar 2020 12:14:12 -0400 Received: by mail-vs1-f66.google.com with SMTP id t10so11678241vsp.1 for ; Mon, 16 Mar 2020 09:14:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bBDCtFmVlmwok8vUzi26MlGBbPcfcb7XMIsVTqNi9do=; b=FuH75nUp8oKLA+mUqWbx6oFCErjjg+2KD+mAVoj6DUeH1D9WGGPmT6ionb0S+43XxJ 8LPzfjMNU2tfB5CGcGqQ/iIbHV2+E2dFFIMjY7vOdzX4a4jWs6XlEErT1+tFM4dndAZB tPBDur11ZisT8rmfI3RWzJHnq64KiuPD24AOyKz0v+b0aQoEigUVcsdp6nQHB0AT9yf3 r950MhLEK/ySxhdgpuohVDmsw2+MoIn7kaQsAUTpJnXAu+nIGhPfTKFh5RxLAV7QTlmr 9WqNrAsGpOItTVL4PoMpuFCUUe3KBo2Yo295TFO8Vm6OsMFyHRL7YOymzG54+mcVzrpv ppTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bBDCtFmVlmwok8vUzi26MlGBbPcfcb7XMIsVTqNi9do=; b=Drvg3W197DxGMAP4DXosJVqBiOhWR6hu47amlGLyQennMdRZeICddtYC/17rl+rWd9 gizzFOPb1p4PwTGxt2m4/O1cSND3TIuw/6pDOjqnbx+OEohvML2TlTr7WRMtpHKaKgUP 5WJ594YLf5aAQJJWSBEKLFS29wkohco6DDSHWZ93PSzCSVezgc5lh/tV1nDVSIBNXOdr RZ6FfSXfq1gMB8uox19DlpG78cX6dvR4w45++LIlOY7BpNQPtECfV2Iu6lxXTzSybNeD jC8fX+GBhTFNLEEZPwjlvoMNeHg1c651+vsQMejRzXkQVBk08szxTVBqaiRwII8SI/BY 535w== X-Gm-Message-State: ANhLgQ2YDY7e1UDSxmlKTWBkpR3tmfDgI+HRyVSj8TVmiZsGzdUHxtPa vmfzIDzwloEnPX00y5o+fQpIFswsZ4dkAydUQqLMFQ== X-Received: by 2002:a05:6102:104b:: with SMTP id h11mr369017vsq.182.1584375249809; Mon, 16 Mar 2020 09:14:09 -0700 (PDT) MIME-Version: 1.0 References: <20200309045411.21859-1-andy.tang@nxp.com> <18c58e1b-583c-2308-ee60-a8923c2027ee@linaro.org> In-Reply-To: <18c58e1b-583c-2308-ee60-a8923c2027ee@linaro.org> From: Amit Kucheria Date: Mon, 16 Mar 2020 21:43:58 +0530 Message-ID: Subject: Re: [PATCH] dt-bindings: thermal: make cooling-maps property optional To: Daniel Lezcano Cc: Yuantian Tang , Eduardo Valentin , Zhang Rui , Linux PM list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 16, 2020 at 8:22 PM Daniel Lezcano wrote: > > On 09/03/2020 05:54, andy.tang@nxp.com wrote: > > From: Yuantian Tang > > > > Cooling-maps doesn't have to be a required property because there may > > be no cooling device on system, or there are no enough cooling devices for > > each thermal zone in multiple thermal zone cases since cooling devices > > can't be shared. > > So make this property optional to remove such limitations. > > > > For thermal zones with no cooling-maps, there could be critic trips > > that can trigger CPU reset or shutdown. So they still can take actions. > > > > Signed-off-by: Yuantian Tang Reviewed-by: Amit Kucheria > > Amit, I'm about to pick this patch, it will collide with the yaml > conversion changes. Thanks for the headsup. I can fixup v3 when I respin. However, I've always interpreted this binding as follows: - cooling-maps should be mandatory for active and passive trip types otherwise there will be no cooling - cooling-maps make no sense for critical trip type since we're invoking system shutdown - cooling-maps are optional for hot trip types. Is this your understanding too? We should be able to enforce this in YAML. Regards, Amit