Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1209571imm; Wed, 18 Jul 2018 19:42:19 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf0i+gmLELiyhLFPv2qz1ScT/MENEU8Dw20158XGO34tzin8ZGyxqxULaHixTRrdBfZwPTe X-Received: by 2002:a63:fa48:: with SMTP id g8-v6mr8168476pgk.224.1531968139876; Wed, 18 Jul 2018 19:42:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531968139; cv=none; d=google.com; s=arc-20160816; b=dEf5PnAKB/5h4btzTnpWy8Aw+NXRr8cpi1VLCa2jwCwZCOO6jaTAI9mlPL2SFivEqc eX3OFq95X0foWgl519LxkPOq/PtH/23qtHzk062kVUQXbDauSrBFsZL7DmZz6t9UoIMY ltdfxu9brzDUrpxdhxGsbhX11blwnjTBrFNJws9Z0hOiNMX89DlgwZUlvKPizH0J3EzY BCjyxT+iEVDIE4ZXeC/laD1eYOPhgdftP8C+azHtPRcHe8aqkdQXmtrmjqWlwLUjDNRq ZVhhm2dqvBiBO7FeMdb1p4QvZYOvoK7u6ID1i63wYCo5BzHOvf025DOFZFvJfw8nHI3z DfPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=5jux5lG9GO/5upVklzCiE1SivQxEdyzu+CHTJ5LJ1Go=; b=sed0yJIL9OyVFBJHAz48AgMkciKEqzHwrgevx7Wck+wqDMgrHVuy0prYVtDh1eQA8w 7joWzQhVkrcNBCXeTltL3s1vjwRdDCmNayT58FJFJYhSY3CMSJ0PWszta5pnp9pLfjlQ P+OKbAc80LftKiFnYw+ler1YDKDGMCzYP7VcQznQD9CwcJJh3l/usEP00TADpbdl1nW7 8GOi74vxLKC11PKAuHpW7yJzJmJ8OC9kdF83IHjQMOJUrL0tL72lGc8Wwv4ezktFACaq qujdhCBUDc7hpMbRkrGpy/6RV19vueWzz7kzq9KqghsOT8Yx1PU+WFNXe0MJCQ0yfaca NTxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RHIEdSrO; 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 9-v6si4647732pgm.659.2018.07.18.19.42.04; Wed, 18 Jul 2018 19:42:19 -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=RHIEdSrO; 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 S1731412AbeGSDVV (ORCPT + 99 others); Wed, 18 Jul 2018 23:21:21 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:46241 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731336AbeGSDVV (ORCPT ); Wed, 18 Jul 2018 23:21:21 -0400 Received: by mail-pg1-f195.google.com with SMTP id p23-v6so2866768pgv.13 for ; Wed, 18 Jul 2018 19:40:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=5jux5lG9GO/5upVklzCiE1SivQxEdyzu+CHTJ5LJ1Go=; b=RHIEdSrOe8lfWC2cGEG7taRnjw6je0I+h+zgGam+rgUAxwFMQoySSmiwzJgknGCfOb 7XU0np2UVqv2jzRjeDaF/1gcb2cxIzOlEaa0nt+OGIdcPEyp5ZyVlqhje8g1EurSyBQv c0a3RSmC6FqR9oJ/NbgN535aeesZ8pdaFGgCI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5jux5lG9GO/5upVklzCiE1SivQxEdyzu+CHTJ5LJ1Go=; b=o0FHQqSSvQEo6B95YZmXsTH7VzTURxkvu/yn+aZSJvnmS5WtGRylt5BjDfSFFWMF/H f6iJdIEzpgvuP0nkoJh/5AidyMcLnufs4/khgwAGdpuZE3wYPWMBh8BIydXGGqhPep0t bhYO+ZoLPiGjo9Tz7VTyeBz+Nu6Us2XAZEfMEJgJKIvz4gzjl+0tO3VntloQE7hSDnoR e8fd82T4vFo1xACxk/j+qu7jG2jlWMeCpurrQfb+5UpwffKwK20opuC78Dd5XHhj3iUL aAgaoCPvTNBqnT8iXaDRcCfU+yzxB5/QV882kqm53IoKIADxdN7dQ8uqmU1WUO/S8AYa aFZw== X-Gm-Message-State: AOUpUlHNXgVG6iO3jkz5l6RXJohuyEYTiV8/yuUx1H4NcHvbmhzYz+1C jB10rER8PPrbtdHQ3ydVddLkZg== X-Received: by 2002:a63:be4a:: with SMTP id g10-v6mr7988027pgo.378.1531968033313; Wed, 18 Jul 2018 19:40:33 -0700 (PDT) Received: from localhost ([122.171.235.75]) by smtp.gmail.com with ESMTPSA id h24-v6sm11078684pfk.113.2018.07.18.19.40.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jul 2018 19:40:32 -0700 (PDT) Date: Thu, 19 Jul 2018 08:10:28 +0530 From: Viresh Kumar To: Wei Xu Cc: Zhang Rui , Eduardo Valentin , robh@kernel.org, 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: Re: [PATCH 0/2] dt: thermal: Fix broken cooling-maps Message-ID: <20180719024028.vudrlpgxiz6accky@vireshk-i7> References: <5B4F5E00.5050800@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5B4F5E00.5050800@hisilicon.com> User-Agent: NeoMutt/20180323-120-3dd1ac Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18-07-18, 16:34, Wei Xu wrote: > Hi Viresh, > > On 2018/7/5 6:09, Viresh Kumar wrote: > > 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(-) > > > > Thanks! > Applied both to the hisilicon dt tree. Hi Wei, I expected the first patch to go via the thermal tree as it is for the thermal core maintainers. Second patch can very well go from your tree, but only after the 1st one is applied by thermal maintainers. -- viresh