From patchwork Fri May 25 05:40:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 136774 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3129525lji; Thu, 24 May 2018 22:40:37 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqv9/t7qB/d0zEuCUwueWoq2C4o1pzYwLqGdxmintPvLYu0WWp5EJ+dSwE8R1EE+CT01syM X-Received: by 2002:a63:7905:: with SMTP id u5-v6mr826373pgc.411.1527226837301; Thu, 24 May 2018 22:40:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527226837; cv=none; d=google.com; s=arc-20160816; b=skRBFvuwoncpykE9JU1plOpHJtCeHVRiXVk2YSSn+iI5Y4nZZdcKN2Izu8a7H4coqo JrzDZ8N6OgYOObvKjsqg0fWxFsQJHRjRsxZk2tDAk5Y5U3XX4WMb7FI4I602glLkIVBo d/cL6hLEYPgZmYLig5rB1G1U4hSp0Ii7g0zDWSKvZuNGQO9MNsqPEyTprrQCqqeIuK3F EDyA8fwnvup5lwhoMm9gaiexlqR8E0MSJLJmK/VTVUoL5D+ginnZ+wk3wnSUIOVOG4M4 aJPdlR9iipg3GyIpxWtbAClKyJYlvigMO5WVrjNN0pAG+0+ogSkraFF84KijgklTRCQT +Ycw== 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=acS/m+ktVIKhHBte7e//yAFjn85wjdsgMacwztZQHEQ=; b=vRu7t+u0uAQh2revnaTuoZihvcjvg19Ad4tx8/kFLxo8dGenIOyTohFV3HEBIZhPm8 xd1ZcHAJr0+xLWO84Kcx4MA8fjukESb0Bw4dL3MDAdhPesDDasNtWT6llpGGs7yAJWRS r+ddKFOuibX3n3BQ3o6AcdNtrP49vbijrYZ9O1n673C0O/sbE7RbWMfeU01lS6f8fxyY Xa1uVH2Fo4TOFnchRUDAt3irzEMt+B32myb9FXi8d2gHl1m6J3z3TkEPcSz3nmWKhHkR wJpnH+ZE+n4dO4cwXYayinF+5az8z8fZKlA3EauPVRdIlR/uH5fZKfXCY/AdiI9iSCJy YyvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=L131riTA; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (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 x25-v6si23987013pfj.347.2018.05.24.22.40.37; Thu, 24 May 2018 22:40:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=L131riTA; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964800AbeEYFke (ORCPT + 5 others); Fri, 25 May 2018 01:40:34 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:45704 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935794AbeEYFkc (ORCPT ); Fri, 25 May 2018 01:40:32 -0400 Received: by mail-pg0-f66.google.com with SMTP id w3-v6so1793303pgv.12 for ; Thu, 24 May 2018 22:40:32 -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=hwQRPtJwELRwroK0mLEyLQwzDYQ+FdBcWbYH3k/0iwE=; b=L131riTAvGlxh6kRudcMUbDo0gN5ZzDZ0PY3rEdTl4WxOsI65ciTTWhiTWBhwJUHXh ghOAyIsQX7n/CY5p4hxkjafqG8AzRU6A/0bQgVbpTM1C6F8plmIbdMUdbQtlThmaujQA BZZOtpqXbT9jbgyk96pAq8KR3xplJIUBjPXak= 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=hwQRPtJwELRwroK0mLEyLQwzDYQ+FdBcWbYH3k/0iwE=; b=PKHNtdEyPc+fVkv+iIF1WSk0aMo6StC2HIYpI9HYG6TY8I4Pv/fydUzkMPyLXxNhdu 5TcwDKHF9JhIw6L4ilrIj52P8fBKiBcsVd6dfyhtvCHtaibCe7+JYrjJJ4Ldro0mHOBf qzpgUXEDzL+kQm3Ru6ppbf4d5Etnl6BtWkKLwzAp30EIPfTkL8nUZn7FIuoX6DKEmqDA y/t9Ayoz6graNhQFY83rGr5N/p3pgNm9gzVTTQrr9A2mdZVVNMYVIZ2n7+ShqwVikUKE 1/5zx+qKZbMlutshAqHGqjlOPYD/ib8B3oA0xthnwF+TLM9HWpqMIAbYB2KiFATrE1pF 12sA== X-Gm-Message-State: ALKqPwdTg+eGENxTUBnW+TWSqqhywXlFJYajJRWLZ2lV23+vTLaKGXrv YDghe+dcXdukViizqyGeB3nMwA== X-Received: by 2002:a63:be01:: with SMTP id l1-v6mr856138pgf.382.1527226832186; Thu, 24 May 2018 22:40:32 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id e10-v6sm44738785pfb.136.2018.05.24.22.40.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 22:40:31 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Carlo Caione , Kevin Hilman Cc: Viresh Kumar , Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] arm64: dts: amlogic: Add missing cooling device properties for CPUs Date: Fri, 25 May 2018 11:10:01 +0530 Message-Id: <2a2eb28da9fecf129f6bc0ab3d3748d9f4d25a29.1527225682.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 --- .../boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.15.0.194.g9af6a3dea062 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts index 0868da476e41..313f88f8759e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts @@ -209,10 +209,34 @@ #cooling-cells = <2>; }; +&cpu1 { + #cooling-cells = <2>; +}; + +&cpu2 { + #cooling-cells = <2>; +}; + +&cpu3 { + #cooling-cells = <2>; +}; + &cpu4 { #cooling-cells = <2>; }; +&cpu5 { + #cooling-cells = <2>; +}; + +&cpu6 { + #cooling-cells = <2>; +}; + +&cpu7 { + #cooling-cells = <2>; +}; + ðmac { pinctrl-0 = <ð_pins>; pinctrl-names = "default";