Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2630087ybg; Thu, 24 Oct 2019 12:41:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJMkCxOWNqLf4I6qZGOhD23SP4rKjGhxK0xZSvCl7Fo/2RuQIa0eCCJpcZwVuPl5+Ke5xP X-Received: by 2002:aa7:c498:: with SMTP id m24mr32916980edq.113.1571946092274; Thu, 24 Oct 2019 12:41:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571946092; cv=none; d=google.com; s=arc-20160816; b=pK3uM9cgYepsRjVbkv074fKHFvtY2zBTuHcG5OUuixBn0r1eg5IAFwn2dmceayA3Ix KOfTAZ4WyCQpvLDQOgYR4U80NxEOaDjeQWiT5adBC+OWVgxGCf64Hsz8fzgr5L7eLMhc 5vz2QknWAHyIceDB1z3KdCMOT0fEd+o2Gk0uEBoPITQNFO9i4QkH8/uFP4V6Xp/KOxHa hi95lFuKiz64z7/KNm3DJtNdaRHT58hceIdROMmulU2N8TQxFdFbKy/TtI1zE4x20+7x 1hf5Z5bxdsTzneAD4d6X/LshWQarnqSdt9O/s+XM+lV7aENMCJWIzq0+YelQAYKUCBx7 P/zw== 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:message-id:date :subject:cc:to:from; bh=jQjQakQlB+DaAvwjSCfUV337mIrheiqsj7I64sso75w=; b=jL1PDkOELGDn5nIWrmnxwg0xM2buyyIpz2tsDXnhfNpNbJPMMohhw5MQiIK73fLhPy 7H8yMR3gwlqH/7Jh8fO8xostXdxKaxeb1Rm8y9ffOnxEbaZD20nnWviHoB0agnlGjn9b HctSLAIb6gyrPiId1ouPq28Yej1jLugqy0IF8TDBCss1vzdftXbzonuSFBRpIGZzJym3 UbV7T9ZS0SdBugFgqlHAPw/pgIUg15eS7EQxa3Ya8YWzR8iPXIqq2xDv4Z8fSJe0CT2L adrJTz90N8Iy0A1H4whqfVnINHJ233Eytj7gcODOXa+bQgdjjmZbRT5uO6eGWz7UAEiw 89dA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y47si17783469edd.236.2019.10.24.12.41.08; Thu, 24 Oct 2019 12:41:32 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392378AbfJXChf (ORCPT + 99 others); Wed, 23 Oct 2019 22:37:35 -0400 Received: from inva020.nxp.com ([92.121.34.13]:33882 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390493AbfJXChd (ORCPT ); Wed, 23 Oct 2019 22:37:33 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E68D71A0183; Thu, 24 Oct 2019 04:37:31 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 67A251A099C; Thu, 24 Oct 2019 04:37:27 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id E9CEF40282; Thu, 24 Oct 2019 10:37:21 +0800 (SGT) From: Anson Huang To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 3/3] ARM: dts: imx7d: Add missing cooling device properties for CPUs Date: Thu, 24 Oct 2019 10:34:25 +0800 Message-Id: <1571884465-19720-3-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1571884465-19720-1-git-send-email-Anson.Huang@nxp.com> References: <1571884465-19720-1-git-send-email-Anson.Huang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The cooling device properties "#cooling-cells" 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: Anson Huang --- arch/arm/boot/dts/imx7d.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index 2792767..d8acd7c 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -22,6 +22,7 @@ reg = <1>; clock-frequency = <996000000>; operating-points-v2 = <&cpu0_opp_table>; + #cooling-cells = <2>; cpu-idle-states = <&cpu_sleep_wait>; }; }; -- 2.7.4