Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp219003imm; Wed, 4 Jul 2018 22:12:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpenLs9cIZS8qjc/wuJIvt0rASvxSlHSqfF5Owh9TgfEmL9OuvJ3pII2QoYxgstbsnfNZO15 X-Received: by 2002:a62:3f44:: with SMTP id m65-v6mr4804893pfa.98.1530767538700; Wed, 04 Jul 2018 22:12:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530767538; cv=none; d=google.com; s=arc-20160816; b=lLQHjyjynd5MAXTsxCedZAlhD6LGm0E5UOAU8W9LIvwWC3mhD/mzFMFZ+VsirN+a2x K3zhwQgscSAd5y9yOhWnh+6aoxwZRramSz5ImBRC+tYJ16vpq4ivwgmtaFWSjBYU3CWv 8dKxhZdL6mmE5ikYdbMCchiLuurHjiy+0E1FS8gSBD7cU8ctzgW8ZZ8/nmO9OWvMzgTi 3lgg6xYCRiQsK6k8F4472ibAskg4coPqd9d1cNmH/2vPiqyjoi8qvpvRLdJrugnpLRDC Rqj6Hx9UcTIaaT0ToQ8OUW9p7EiZ921uDtdKtP4tjzdg00NiXy+mHbiMItEsvt1H7ZH3 CpIg== 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=xLLATyV3z36fvf4EY9Ds/QzGWUzJlAyW96zbGUyV69o=; b=qSLahVbL6MLXWSN761WtC2WfXI72hG/Af+5EJCVsEnnkqnc3SZurMGcOSbQXesyXhs JR430KGUOerNq37GXbzzWzGQleMJiQ2+coYcoDQRdT3+cO3Slaus0CdwmzYBebwE05pE UbdIpTXpNbuciX2MpD0GIOCqfEs/wT56VQD6djH7Q6TVZB40yG0QR2FZp6/fdvjYpJeo aHwQsHYhQHakiMqCo10ZZdGI+NwBCZcSvPKCp8Ih38NkAJIIGZyAw+nazGt94ioABhkD snmnZt2FMptsYUTmOO/LmKNEp8VEuuv2ehOBQj+44Iq7iH4IetL1sUh/iW71WKB4HKu1 hmeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K038HPgm; 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 m190-v6si5119063pfm.315.2018.07.04.22.12.04; Wed, 04 Jul 2018 22:12:18 -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=K038HPgm; 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 S1752100AbeGEFJb (ORCPT + 99 others); Thu, 5 Jul 2018 01:09:31 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:40851 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447AbeGEFJ3 (ORCPT ); Thu, 5 Jul 2018 01:09:29 -0400 Received: by mail-pf0-f196.google.com with SMTP id z24-v6so4327860pfe.7 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=ValT2v+k3g+NxZOp8fJFzPWpV+aDlSg40CWYivq3DsprzDIazOooiOmB+OoCp5UG17 tUWqymY36cVfSsCOwmkjRz1ZhogRJ/lmjrTWEG4jMZAgGkGYdl9Y/Z0d8pQBJTdR50NQ Oq0ESXu7xqVSqfGGK532Iq7DDV6azEjoi9fUANBd0HAO2bH3uj0cwwM4csr+XaFUbEHD AoC8K4Vzasx9jw5UYR9qU7CtHyzMFEgwVYdgVOIGhDxOIk/JYaCWB1bmfs35qBVQm0/0 XvaQYKHGc9mJeZqDehbqaRWLebvUy+F2kVCI9Be/1wfBwdB2zqFDj+kPXrhpuMyuF8PQ HJ9w== X-Gm-Message-State: APt69E11LLmhzPbn+6uAb5FTWvCtO1m8XjCc1OMuuYRsBtgWPdsmG7+w 3J+6D7w0S9Tsqj01DT4Gwi02Jg== 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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