Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp663744imm; Wed, 18 Jul 2018 08:36:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfVH2uGLSU+kJZ/GxoH6wW1aVYBbz6B6Xzh7/5WNBoy9rtQbBqJZthIja6s639lP54rtkPA X-Received: by 2002:a17:902:ab90:: with SMTP id f16-v6mr6578573plr.182.1531928193457; Wed, 18 Jul 2018 08:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531928193; cv=none; d=google.com; s=arc-20160816; b=bzrWOr1t5O6DaCg9eHDU7VNcG/Z/nBxPpfh8hqTC83nIJ/V7kwsRVCLp4vHPLiUo7E 2DLaMU45evgZFB7Dkrduz9S2o4NZqtkUgWgL+u7Ox2BQd7oLdWRRHrlqpEzUVxDzFPC6 JR1yVm7yFQndAGS8nMm+O4xI4Ts4myV5rbCWDNJWeANf0M0L5AGrK4ZNtcjd0k/naDMN xkLBsVEx0KY9S5DUUb7quyMsDQ6j6Ki7xqX8Qwx0i+Hu5j1t3iuI20q9zBsUCSF/glzv X6a33POJaSmKx0SolYQZ4rb5FFEjenBABTbTxjHLmxuSqP57plcaxz0k1ZdXAqKLcJP9 xI0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=CkeWW+BtFf/7KlwULOkPMhfSErq2mRtN1UPQkhUYrFc=; b=zAcWqV0xcbOEs+6auVnplgGgC3+NoNgLCh3NoGzECLcaJXOHaiFiauTbufBNtb+94u RV8xb6g3tICGvd4Rw8ZNY1dRoRRKDoxW6x4jfyVs8WZ5m9F8UFEZX8WSQiYQagN/a8gu +m6A8FMqwDByQRNXQrIS37/jRAGc5VZX7bdKqzcPgLOaH1T+hGjbT/QRedyHSU52LcEl 1piS8PX5PO7jrzpmsGjAiMmzx7iSL9V4yU3Fh84LNzWgQO8EHT7Y18P9L9XYPFArTyBg Ly+F58zdflYdHiBIhfO9F/pa4vN3wScjlRDdiBJlvMN21yud+dFy8b2Rr/j9X1iOJA8P 0mQw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c12-v6si935663pgd.359.2018.07.18.08.36.18; Wed, 18 Jul 2018 08:36:33 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731662AbeGRQNC (ORCPT + 99 others); Wed, 18 Jul 2018 12:13:02 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:47484 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731653AbeGRQNB (ORCPT ); Wed, 18 Jul 2018 12:13:01 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 2B1E649C602DD; Wed, 18 Jul 2018 23:34:32 +0800 (CST) Received: from [127.0.0.1] (10.202.226.42) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.382.0; Wed, 18 Jul 2018 23:34:31 +0800 Subject: Re: [PATCH 0/2] dt: thermal: Fix broken cooling-maps To: Viresh Kumar , Zhang Rui , Eduardo Valentin , References: CC: , Vincent Guittot , Daniel Lezcano , , , , From: Wei Xu Message-ID: <5B4F5E00.5050800@hisilicon.com> Date: Wed, 18 Jul 2018 16:34:24 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.226.42] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Best Regards, Wei