Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2628330ybg; Thu, 24 Oct 2019 12:40:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzzHGExEsLaoDu0/sFhNM5UG2bek/Q0fsmGyF59WNeRI+cGw1Hx39PCNvXtjL69nromiTA2 X-Received: by 2002:a50:f384:: with SMTP id g4mr44827273edm.282.1571946002871; Thu, 24 Oct 2019 12:40:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571946002; cv=none; d=google.com; s=arc-20160816; b=1DmKhNxvNeUL0hMNqzJE5pSvIf8f+TY+JKNpyGKE44xlcMCAv//0jayrXGctI0mR/l RjNxq9sCI0OYF9ssSY2owB+pdHP7xRGbb5Z+x3rPF5o1o1oRBvwgXOpp5n07k2gwy/Mu +m8u7jyfFD/bghmfw8PpJk+5QAbuSxwbCZL2rVKYHFM9Y+SvKhGVyFZBatuB7BhDS6er jP3f2rRR4HVZ28G3XNvLX8PQfi0AjaTE/4ekeH1L9+5gbTrvD18DGyLu+kzTCBZ8o0Vw HVrsYHv3vyzqJCY5Xi+70Q0sg4JAA3bqwO1QnHduykYdlMs+M5zTGS7zgrcDN7bj+jdW 8P0w== 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=UgR7pIEPKGYpuuXUnduE+llfVx3S8wcK+AkgRu9Q1cU=; b=gDs2ndsqeyH8Y+Mv+nv0JuH8dYYIOuvtN0/cJGobwa7EgySutOYryxtd1GexK4bkw7 QRiGQLwj9chsL6pSrSylwtmQG5qAIJbCYR6oiPFGHN/t00sGm4MCIGkcFzfjd9DfolDs +YZQxZF9tiBf0RvjRpYp2DFDGFF7Vg08Yw7SlkUkiABNfvFyG8RREkHqM8CgWqRVMN2A l4Xig+fClshBRcuBbOm95Z2RpoGBlic8QdxHJ6hTTfrVuj8wWQYqJ8wvvbEQFQsTIqWm 8lQzTM53jirqw71TTiSTDWE7owP31IlF7+DuRiRK5LoR3+Eqr16gjqRJ75IMMPE+EPal uVVA== 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 1si12703905edv.82.2019.10.24.12.38.57; Thu, 24 Oct 2019 12:40:02 -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 S2408259AbfJXChe (ORCPT + 99 others); Wed, 23 Oct 2019 22:37:34 -0400 Received: from inva020.nxp.com ([92.121.34.13]:33852 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391504AbfJXChc (ORCPT ); Wed, 23 Oct 2019 22:37:32 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id D8F801A099B; Thu, 24 Oct 2019 04:37:30 +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 5B2981A0183; Thu, 24 Oct 2019 04:37:26 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id DD6D2402D3; Thu, 24 Oct 2019 10:37:20 +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 2/3] ARM: dts: imx6dl: Add missing cooling device properties for CPUs Date: Thu, 24 Oct 2019 10:34:24 +0800 Message-Id: <1571884465-19720-2-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/imx6dl.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx6dl.dtsi b/arch/arm/boot/dts/imx6dl.dtsi index 2ed1031..008312e 100644 --- a/arch/arm/boot/dts/imx6dl.dtsi +++ b/arch/arm/boot/dts/imx6dl.dtsi @@ -64,6 +64,7 @@ 396000 1175000 >; clock-latency = <61036>; /* two CLK32 periods */ + #cooling-cells = <2>; clocks = <&clks IMX6QDL_CLK_ARM>, <&clks IMX6QDL_CLK_PLL2_PFD2_396M>, <&clks IMX6QDL_CLK_STEP>, -- 2.7.4