Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2100140ybh; Sun, 8 Mar 2020 22:08:22 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuZRC3pzf+mOneJramkIyQkfSl56hOBMLqRqF6kI2ErBmb9PZ5g7aSmC61x4deRS76zyWuV X-Received: by 2002:aca:c7c5:: with SMTP id x188mr10430851oif.130.1583730502087; Sun, 08 Mar 2020 22:08:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583730502; cv=none; d=google.com; s=arc-20160816; b=eR2II9IERZSlJQxp/6wM004A5F3AS+iUPw4qHAFug1PFHhk2MnW40hF9glmx6lNpDg v1SxCtoC8tzf5jS6zzml11z6d2p4ZoJ0jS05UbUP3fnvOfdxzGMpJbZq+wMfhc6f6KRw 32B3YFsliKLGmI4w/1/AAb7CA3VEYIFFIrK6Q3TJX82ln66b40RtqVJbrgDR8KA0UrI+ 8qTUV1mRVFu/nGn4hQaDajuSzxZzbu1AlHkDnt9Z7jG9vunHSnBTHD6n7cpoP9oMrw0N EMkM8YwL+8IsmMcaD6m/6J9jUtTYaobHkhmVr0Ky8gypuAm4oZbjeLtrNPlATwGhSJ7B WkcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=s8ssUus91ki15vkCBALhmDDBa5Ssry/vds+B8TNeq0g=; b=FEMP66o0ZWmSJ1khYus88uopgsWUpD5dRKlZQaw+3hqD6VxWt1SgjJGyozIMcBFnm+ tohI0eX/7UmRV3es/H2t0fQYBwij8aPvtIFiZ4ZXdvgPqLdZw/R5cq1KWs/4dXwsQvOK wyXwRAMsfu7C7OYMEKxG39zFGPhvcZmMiRQtacAkdNy1KJvJ/za+q++EhvNKeWXb/6Bj K/cPRDMOMzTevEJICdlXGNIsRqpQWq7W0jqycajISK2UcyG5xwtO7kQvkGeSlMOxt8I0 gGDYHkDN61y9ex8RpJ/SFTmDlF/vyJ+AHORQNJ2+dlbFyrqnA6RNzHbA7z1rJE1hnr6Y OXRg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r12si3274917oic.246.2020.03.08.22.08.09; Sun, 08 Mar 2020 22:08:22 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726215AbgCIFHy (ORCPT + 99 others); Mon, 9 Mar 2020 01:07:54 -0400 Received: from inva020.nxp.com ([92.121.34.13]:33032 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725796AbgCIFHx (ORCPT ); Mon, 9 Mar 2020 01:07:53 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id ABE431A0153; Mon, 9 Mar 2020 06:07:51 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id C0F671A00E9; Mon, 9 Mar 2020 06:07:47 +0100 (CET) Received: from titan.ap.freescale.net (titan.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id AA5BB402C1; Mon, 9 Mar 2020 13:07:42 +0800 (SGT) From: andy.tang@nxp.com To: daniel.lezcano@linaro.org, edubezval@gmail.com, rui.zhang@intel.com Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Yuantian Tang Subject: [PATCH] dt-bindings: thermal: make cooling-maps property optional Date: Mon, 9 Mar 2020 12:54:11 +0800 Message-Id: <20200309045411.21859-1-andy.tang@nxp.com> X-Mailer: git-send-email 2.9.5 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Documentation/devicetree/bindings/thermal/thermal.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/thermal.txt b/Documentation/devicetree/bindings/thermal/thermal.txt index ca14ba959e0d..f78bec19ca35 100644 --- a/Documentation/devicetree/bindings/thermal/thermal.txt +++ b/Documentation/devicetree/bindings/thermal/thermal.txt @@ -142,11 +142,11 @@ Required properties: - trips: A sub-node which is a container of only trip point nodes Type: sub-node required to describe the thermal zone. +Optional property: - cooling-maps: A sub-node which is a container of only cooling device Type: sub-node map nodes, used to describe the relation between trips and cooling devices. -Optional property: - coefficients: An array of integers (one signed cell) containing Type: array coefficients to compose a linear relation between Elem size: one cell the sensors listed in the thermal-sensors property. -- 2.17.1