From patchwork Thu Jul 5 05:09:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 141105 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1501698ljj; Wed, 4 Jul 2018 22:09:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfzclCNQuLjVxjeGdEFRqe5VOYqTmrjOV0/5v9JUTBSDuQJP1urO3d4JgWx8cC03+De3wMm X-Received: by 2002:a17:902:205:: with SMTP id 5-v6mr4573692plc.301.1530767372776; Wed, 04 Jul 2018 22:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530767372; cv=none; d=google.com; s=arc-20160816; b=fIsbP/sgXKK78h0DN0QeRHN/3egkUGfCd5h1IvYc3VmkPdDIFuj3DU3TwqduS7ta+J Ogl9ZJ4aAEr0/yLmit0qDazGnbZNlNZ/ELPGfodM0jR5ijfAvrL5iCrT3az51Maog06x CfCiBTn8mDKBd87r9F0+E8mRgT/ZwUXLjJsS5zoJdbQEspnt9BfeaJP6I9BuRzt1cxXm nnpBG6tA/O42kQ465OTl65y0b1bmdl0RT0Qyl8uJCVoWXQ3hn5Km2ZlT7cHM9ppr1mTz VjrxGgPgw1z9U5FIMwWeTC/2rpF5OJd/v85a5K2roz1liw9MoeTfCTw9bfhVQGmVLXw9 tPrA== 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 :dkim-signature:arc-authentication-results; bh=mK1HrrpZ//rm5gzdBXC3RXSTOSyDSZ0Gv3qyzGc2vFk=; b=ADtN7iheDFqQlGuHJ53pl2aQNJRm2IbEaVsy9Bjf1yOwEolMlOFC2Tl6vMMlfivw9n aldgvw8cC9VdIjoagtzs3vMvXWcxVn3yh+TSlxC4pbCrw9kQqJxwwQt7fHLrULPxGZy5 S6q8YbOqjzcjXHfgAcYTFQVmTwWlJANGKhszUMOyMh38KCJtbXmBzhaqCXG2dfsmoM2Q lWijFHdTA+GHamkIy7v84upqgVnjxKCDrTBzdtJjS/afyBeBtzNGcsjhXFztjZQZ0cfV OKhRbfRs2RArb/KZVlIJQdBq6HE/C0i/t2GMO7c771fjtRZvhKwIjFQ/TuSboBwX1kx2 YUVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=K038HPgm; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (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 b28-v6si3715432pgm.468.2018.07.04.22.09.31; Wed, 04 Jul 2018 22:09:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=K038HPgm; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751612AbeGEFJ3 (ORCPT + 5 others); Thu, 5 Jul 2018 01:09:29 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:42614 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750971AbeGEFJ3 (ORCPT ); Thu, 5 Jul 2018 01:09:29 -0400 Received: by mail-pf0-f196.google.com with SMTP id v9-v6so4324533pff.9 for ; Wed, 04 Jul 2018 22:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=xLLATyV3z36fvf4EY9Ds/QzGWUzJlAyW96zbGUyV69o=; b=K038HPgmmfADJ3eGsb90Cwqd1N1KjV859lkmEncUOobhYeBw2g5qloLw39kU/WCPbQ e+Fc4FFaTpBDsqPW6vsHzKKUgrruPlGN8x2rUr+wf2VqeFman68mqzNf28H8chbZv7tu uD1MdO0YBscg04jxXxVsNNmZ2C6ci/SauDt0M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xLLATyV3z36fvf4EY9Ds/QzGWUzJlAyW96zbGUyV69o=; b=lN2BxFghW8jJPxN9HMLyfkSHXPJzG20sCjyzQQ4eEgESE+IGEA9KHLDr/q5SkawVPD XH8n8PzraDqapVoJOKYujnzQvykHBqen1E13B7GD2orsPKXB2o944MJ5MHbSuTinyvBZ FmPYyATj2mFDZViaSLfndVzt6IKbP3EMOFxMVlkSR0iFGvG5GQ7vGwWgL8WwaLsjuZsv z+WzGpHr7lkQPWBtmONto1L9P5q/F/S5T2Yr4LmougfOEP44lfKeijJOCj0Ly8nPMLeC tigzUjqQvDzPlcUq1Ug0rRiyveyIxdz+SSW+iB1Ptg/PXTxLdhQ5bSB9a3rSwEN3MbSm EL+w== X-Gm-Message-State: APt69E0TOCtQK3Y9Ef1HuSodSdPoiTV0Ck1l27Jwfc05UXYyO+nXiuxb WBx0Qu6OCB7izyQSwGiNYRkKyA== X-Received: by 2002:a65:6086:: with SMTP id t6-v6mr4246603pgu.424.1530767368454; Wed, 04 Jul 2018 22:09:28 -0700 (PDT) Received: from localhost ([122.172.117.17]) by smtp.gmail.com with ESMTPSA id r87-v6sm3899972pfb.1.2018.07.04.22.09.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Jul 2018 22:09:27 -0700 (PDT) From: Viresh Kumar To: Zhang Rui , Eduardo Valentin , robh@kernel.org, Wei Xu Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Daniel Lezcano , devicetree@vger.kernel.org, olof@lixom.net, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] dt: thermal: Fix broken cooling-maps Date: Thu, 5 Jul 2018 10:39:22 +0530 Message-Id: X-Mailer: git-send-email 2.18.0.rc1.242.g61856ae69a2c Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, This is an attempt to fix the broken or partially defined DT bindings for cooling-maps. We should list every device that participates in cooling down at a certain trip point, instead of just the first in the list as that depends on certain ordering of events to work properly. The first patch extends the binding to allow a list of phandles in "cooling-device" property and the second patch fixes one of the platform's DT. This will be followed up by fixing all platform DT bindings that have these issues after this set is accepted. The kernel also requires some changes to handle the phandle list, but wouldn't break with these changes as it reads the first phandle in the list for now. We can update that separately. -- viresh Viresh Kumar (2): dt-bindings: thermal: Allow multiple devices to share cooling map arm64: dts: hi6220: Add all CPUs in cooling maps Documentation/devicetree/bindings/thermal/thermal.txt | 11 +++-------- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 ++++++++- 2 files changed, 11 insertions(+), 9 deletions(-) -- 2.18.0.rc1.242.g61856ae69a2c -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Rob Herring