Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp364712yba; Wed, 15 May 2019 02:46:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxk2WvjgrvV4WxGWHwbFyYhU8kDWhdtqvAIZcMVR4TwkCC5ldyFQ9vp1qw23plaEDepczxz X-Received: by 2002:a65:6282:: with SMTP id f2mr42983450pgv.152.1557913583264; Wed, 15 May 2019 02:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557913583; cv=none; d=google.com; s=arc-20160816; b=MLJyypLJY+Eh2g7AamllcvDLDcyqh1/RBiA65+GYhoOzTRiqwbme18lnfii7+cRzrh 3oyG9GbERPB8gZGVKZFDEKijYNindKramfbLG8QuHXvmQz+OoSBs+K3EgTG+2xOGPoeU 0vb+eO6migls/9ZP5IAaIlvx5HRsDcS9XzgUwOwKzRCXcPQEcjjnyoK6BlGOpXgcos5d tnJ2j6sSslRO4+2jTLA6dJ3/1Ty4BYKPk4B/4WetknyHOnC6RScM9nrGMrbGRzx8dydS e34vyunan7TKoIWDzUM9kGrcV6yAo8OXwLTVGuohueajckcxxvpN4gLyEODbh4W2l1xW a7pw== 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=hc4tR8g2OY9tVzoxyf/7aaeFV7sOTbZjBXeoOqHp8bY=; b=sp7fh+hC8t8UIJquhT4K3i0hpXBsAnWPGSYSMurK/uKv0C4E4N0+wmYSh2/AT8daaL 4sJimXBWQ2mfs8o3IycTmtx/QR+2ri5zLFiOgY1xuNFJhMoMMvdSO+CENd2Z6FNO4FV3 vqgxvvEXlj6omNJEyf9U9HmSpAnh6vWZ4W45isD5HyII6lPK+rGZUypTNXKbbcEdMDff ig6DlBJMWcT72ZUqQOF3Q9Q9blsAtQrHpT5+SQw5AGTl9aVwWe9oeYW+EaaylnkXP4G/ +eaIldpWsfaC+CJOJNJ/yr9RSjsP8gx6+9R6CggFOh16MShAECrNJmim0JfwGMVO9yGa Y4IA== 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 s23si1424126pgm.56.2019.05.15.02.46.08; Wed, 15 May 2019 02:46:23 -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 S1726387AbfEOJoq (ORCPT + 99 others); Wed, 15 May 2019 05:44:46 -0400 Received: from inva021.nxp.com ([92.121.34.21]:36558 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725912AbfEOJop (ORCPT ); Wed, 15 May 2019 05:44:45 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id CD93E2000CC; Wed, 15 May 2019 11:44:43 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id AEC19200175; Wed, 15 May 2019 11:44:39 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 4811E4029A; Wed, 15 May 2019 17:44:34 +0800 (SGT) From: Yuantian Tang To: rui.zhang@intel.com, edubezval@gmail.com Cc: robh+dt@kernel.org, daniel.lezcano@linaro.org, mark.rutland@arm.com, 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: Wed, 15 May 2019 17:36:47 +0800 Message-Id: <20190515093647.47656-1-andy.tang@nxp.com> X-Mailer: git-send-email 2.14.1 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 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. Signed-off-by: Yuantian Tang --- .../devicetree/bindings/thermal/thermal.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/thermal.txt b/Documentation/devicetree/bindings/thermal/thermal.txt index ca14ba9..694e834 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. -- 1.7.1