Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2586433ybg; Thu, 24 Oct 2019 11:58:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbkvwCU+wUX3ATTmLf0PTs7ucwpbVK6xDvrDqRewJ1EJAL8+LQRqby10lUXTbB5W99zA9K X-Received: by 2002:a50:af45:: with SMTP id g63mr44327173edd.21.1571943525634; Thu, 24 Oct 2019 11:58:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571943525; cv=none; d=google.com; s=arc-20160816; b=CtzVmqMjIwWsMgmGhReRpiS7Y7dKbriMFsy8imanb67QFoQaxPGOOZTpMy2Kg8XxYF tAFRX2KzvkAwKKbdYTTI2lXQhqegtZOYZiDhk0M/YfmW7zkXjd7eigZ12ZwRTx5iuxih SgDKUKEmwa4y6BeqRtKFV4JiJ+AVopMbGRLlfYaN0mT+X1bFDXDUbHVJQ7dfzRjm7OoG iT2uTPlH4TRS3ptQYh53xnaTq2YOapNqgfUvktw62Fzh2IbgGL4HECU1FyjRswDx2FRu V7v8E0lp939tezdH6i4NSjEjuIltsHLtjSdKTg1LTBhxoaGjIMthl+XT9KI5+4/xIW9X OQPg== 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; bh=pWf9IhNAB4KmUBNlrd/AFoZkc8PxBlbHYf/GNfo4KjY=; b=OT8JRlP9Wz7XxyYo4+xXPw/JgDWahyQ22BaZyP5jfUzYNjBRWWl6LTDzmMCfB0vBKl 3lGG+iivdi1UV2U+6+4uLVMm17sR0KMzVcnJ3xcpjAJ87rN1JVhAOjA6jWei8iqTMv3x h1fODlKgL+KhwEQv9T6JzuzeCYg6Mk/UgErkuZGA/nMWi6Mi9GWfPCFgAYhuqtzTDXdl JqgEqG6iPoUm1h0E0jGTa7/3R9rsgQRd+d+KyLNHNFtRHXSKaeafBXVQaeIhjbGnsIZx gFLmJWZBFqk5JOA3tMQhiJeHHfyQZsxKRT4optnbdvvD7Sh191hMwRoGXZqYUtg2N3OY m3zQ== 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 x45si17977344edd.388.2019.10.24.11.58.21; Thu, 24 Oct 2019 11:58:45 -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 S2392249AbfJXChb (ORCPT + 99 others); Wed, 23 Oct 2019 22:37:31 -0400 Received: from inva021.nxp.com ([92.121.34.21]:34812 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390493AbfJXChb (ORCPT ); Wed, 23 Oct 2019 22:37:31 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 39FB7200345; 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 inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id ADA0D2000F8; Thu, 24 Oct 2019 04:37:25 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id D9D0E402C4; Thu, 24 Oct 2019 10:37:19 +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 1/3] ARM: dts: imx6q: Add missing cooling device properties for CPUs Date: Thu, 24 Oct 2019 10:34:23 +0800 Message-Id: <1571884465-19720-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 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/imx6q.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index d038f41..9d3be1c 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -73,6 +73,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>, @@ -107,6 +108,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>, @@ -141,6 +143,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