Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3312408imm; Fri, 25 May 2018 03:36:53 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoiypJbqWECnX3vNWzecBANgUHFuxY/kt62As+nSx+oXMbhTSGYaAZlS3GRf8+u8WAU9KlE X-Received: by 2002:a17:902:8d81:: with SMTP id v1-v6mr1999539plo.136.1527244613687; Fri, 25 May 2018 03:36:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527244613; cv=none; d=google.com; s=arc-20160816; b=imPlF9G6zYC5vZ1m7GsRb3PbN8EmGSn4p3oJx2J+61IQvmRJ5RhvsGxDhqXL7foR5D wNnQBxUuhiPYYeA6XmX58SAsMjxj+i2E8w9g4vypxmx0f7EikI+B5MfPaHVu2jOOzK6D F5SBekSYIJK6/oXeMnRGt0GHO6p++jwJbuHczVwThYUa3LTIGu1dmpYyyvbqUQuXlvAW p8221Vz/+DgP+E0lKDcfcOBdlmNTkmWz1lYZphyt30DqWC/oWkfEG0TjWs4rQIJeZcvg tJa1tJfeMtJdDX1nBv3vMmerxU+g4S5qWSZc8AE3lp43bcptKvHS7t4t4z6d5692U9Nb p2Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=TZd640iggeYulDoamOxegpwL3G7+X0vwf14RRKbmqs0=; b=lNO4YW6x2n50c67LqfSwdYiEqH6bk8fte6lAi299xHxkQ1b3T9Kb+a725y0BiR+o1q B1hWugdP+3EaUoAIIvCEl1WkN6Rf8uAy7YCjZyDmSdy3UehjLGCUo7OimLIQfhHEeQHJ s6mF6v5fhiGCaKQ1FlAo0Sn8huzrtPEvkB4+fDyZMEIaIs6nBgWqW/dBDXAWIPVWIdvA jvYHGOxJviDSUw7+Fe7hPKR63kPy39QhDEfICNzhNa37vNjcLvRWhlp+TDTYWemXm3jL hiUj6T79Saefg2/USVGvVs9C8Ryzy14GUino55WmejBzFjhHN6GgKurmXywPNwDzKSH3 6/hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Fc2YfJFq; 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 z64-v6si18556856pgb.471.2018.05.25.03.36.38; Fri, 25 May 2018 03:36:53 -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=Fc2YfJFq; 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 S966289AbeEYKfl (ORCPT + 99 others); Fri, 25 May 2018 06:35:41 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:45551 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966036AbeEYKc3 (ORCPT ); Fri, 25 May 2018 06:32:29 -0400 Received: by mail-pf0-f196.google.com with SMTP id c10-v6so2388638pfi.12 for ; Fri, 25 May 2018 03:32: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:in-reply-to:references :in-reply-to:references; bh=TZd640iggeYulDoamOxegpwL3G7+X0vwf14RRKbmqs0=; b=Fc2YfJFqZ5YGrkGENvb92PAf1mveIQj6VnLn4F/duer2LiKIn8GZpJk86t0LWMWF7K Pf/dwf6uQnPAoInGw2M8a0mynFH0ob6C6WKp7Oe6lDpwJsDl+MDsPRs8sPn9YP/8z5fa a2SdxtAIDnAsQjuvyZreZxvZG4Ys3zp6rtaF0= 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:in-reply-to :references:in-reply-to:references; bh=TZd640iggeYulDoamOxegpwL3G7+X0vwf14RRKbmqs0=; b=B9wDtRELKW+2bJzT6citBDaPE/tjtC/p+dtVEgFJtANvhwNOZ5k7vte2qNgvOeWaYb nKy0RgjZp0jm5CssRQ8PoPhyEXTStUPMFaUGKy0LiX7jJ1if0w6TrfiA7DjkKmneqq52 lq27/SMdO+xYaY+VEIKYYrEVOS/BimcG2Mkvd+M8HQ+Vhqh6UcwHBQZXOQMxl+pqGHoV HuXKXilkxWc9DSbEQM/GIGGSycfK/YMUMXLlba9iNUxC9Ea0hh9V4dzrV2o5mI1q1FUE adHWV2NTPrJ6f0CNBPOlMJ9ll7qEHXVTbHRMO3LR3noi329wxeZ8Cpv8hgSq21+2cGEn epGw== X-Gm-Message-State: ALKqPweho42qvj5Jf4Vn1Oc42CjC2Q5GHdCbVMDHMoXKDnFpkE5Bw7mU aGnavJXM9eSNS2BtnUH5s/w86g== X-Received: by 2002:a65:4b8d:: with SMTP id t13-v6mr1541259pgq.446.1527244347997; Fri, 25 May 2018 03:32:27 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id r5-v6sm30740021pgp.81.2018.05.25.03.32.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 03:32:27 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, Matthias Brugger , Rob Herring , Mark Rutland Cc: Viresh Kumar , Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 03/15] arm: dts: mediatek: Add missing cooling device properties for CPUs Date: Fri, 25 May 2018 16:01:49 +0530 Message-Id: X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The cooling device properties, like "#cooling-cells" and "dynamic-power-coefficient", should either be present for all the CPUs of a cluster or none. If these are present only for a subset of CPUs of a cluster then things will start falling apart as soon as the CPUs are brought online in a different order. For example, this will happen because the operating system looks for such properties in the CPU node it is trying to bring up, so that it can register a cooling device. Add such missing properties. Signed-off-by: Viresh Kumar --- arch/arm/boot/dts/mt7623.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi index d1eb123bc73b..1cdc346a05e8 100644 --- a/arch/arm/boot/dts/mt7623.dtsi +++ b/arch/arm/boot/dts/mt7623.dtsi @@ -92,6 +92,7 @@ <&apmixedsys CLK_APMIXED_MAINPLL>; clock-names = "cpu", "intermediate"; operating-points-v2 = <&cpu_opp_table>; + #cooling-cells = <2>; clock-frequency = <1300000000>; }; @@ -103,6 +104,7 @@ <&apmixedsys CLK_APMIXED_MAINPLL>; clock-names = "cpu", "intermediate"; operating-points-v2 = <&cpu_opp_table>; + #cooling-cells = <2>; clock-frequency = <1300000000>; }; @@ -114,6 +116,7 @@ <&apmixedsys CLK_APMIXED_MAINPLL>; clock-names = "cpu", "intermediate"; operating-points-v2 = <&cpu_opp_table>; + #cooling-cells = <2>; clock-frequency = <1300000000>; }; }; -- 2.15.0.194.g9af6a3dea062