From patchwork Fri May 25 10:31:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 136836 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3398616lji; Fri, 25 May 2018 03:34:43 -0700 (PDT) X-Google-Smtp-Source: AB8JxZousLVtZUGNqb+NQeREdoMvB5658o5K+NjN/Tws0NBZv5ccNEc3eeiIZOpUNL1KThRemsiw X-Received: by 2002:a17:902:bc4c:: with SMTP id t12-v6mr2023979plz.177.1527244483649; Fri, 25 May 2018 03:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527244483; cv=none; d=google.com; s=arc-20160816; b=jaBS+PYBYb0zeT4AonLH4eeqqeymLq/0YsbdtcXYKeGjEn3Ife3UNvU1qKjTRxw5WO /khs6qrOBwY/YgyYJUv00B6fUwq/PwXW/T14q2OAz2vCUG1EZCBc++BqlJtnp/KsLgea mh1XlDnrIy7tsk6z5sBZQ71YZ0niIx6NP3z9wnhwiVQG9BL2hSe1ukFgpuQyNSW5+SRl 0Ll7jiB135YCPGwTPm4lQ2hR8UF98AHN2bKyX+WKALpY7s1kda6AGyG7+tI5OEpXQr8b V2tBCc/o8Fj4gn1eHXUFd4UjAcKsrzkHgYlRI62gonO4mQZr/2TqCAykvvf42uT/Nhhi FRuA== 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=o/E95kcldbtfFgRz8Aiyde5VAMts4/ysRhRMJF2ym/M=; b=SPRiLPr7D+fYaraCBF1E4N3blLYMyVwGEuSWlhRK0+oA85QdSPVc3wgjGL6vlnu3Ok CV8dKVOa/Pw6Xy0GxDvkXHfcPut2UD7tSaYSqYjezCJAWMorlgLyRU7YLsAWyH5vOcl2 YF1wLV8qqXy0J2BCMynLxkn7mxxVX9Zn19oxA/sOsJGt+ML7Fs2ZuhMpkxnHdJ/Bb+9E T5xAlAL40OrlICn+nKaMfk4lsrPC2F75RrkKA3evEjjrE1T8TYKMJGzaSR+PPwhf2aTa 1bMf1kfoT+Ox+tRjgUA5fl7ZXE07mmSRycKIPvXWs1lcVA/eVVVrHnifUsoKa5LluFjj Or0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GdVGDLMN; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 f9-v6si9575702pgp.224.2018.05.25.03.34.43; Fri, 25 May 2018 03:34:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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=GdVGDLMN; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 S966422AbeEYKel (ORCPT + 5 others); Fri, 25 May 2018 06:34:41 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:44715 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966165AbeEYKcp (ORCPT ); Fri, 25 May 2018 06:32:45 -0400 Received: by mail-pl0-f66.google.com with SMTP id m24-v6so2916462pls.11 for ; Fri, 25 May 2018 03:32:45 -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=OglL5RWsFQGKbm/GCPs80WmyutdzM5IVlYYz/d/Z9bI=; b=GdVGDLMN785rNGr5xT1r6bOuCQ0A92XXLAvCPrIUTa6z2rPje5BhMU+FOapv8DspQE u+Nf/KzzLkG+fpIWJ1TWWnUeE/619pP4eY8C/DeFNc8kImAPj+vg8/LOArpdnxt6aeGc FiKIMsUZ8L0AjtaUHxCaWpcJr3xcDkbdG7KyU= 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=OglL5RWsFQGKbm/GCPs80WmyutdzM5IVlYYz/d/Z9bI=; b=JHOOXk/15Xra8nQLK2C1LAoEUSq14D7qAHn4WYh7b9dbITZAZtfxcMDTtlk9C3gL9l crHlZi2yFr1BOITOmYl1ip6Xdp9rytzkUEckvtJnavwiGZjTEZPz57AmtjXw/hUn6g9v yCnv/eCz/MSmum9NKhubDHin+kh/X0sy0FtIf9VQ8GNMOQ2sXlpPtlEIZ/LiGdxZBMvG LaegORf/+uWxsQ4WKEznYivyK8Pqf21we8SBSs29acC9oYl52sn9dVEiwlwvBcDnUCA+ gtGGb6IFCNCIQpo9o8r7r4cZaKxV9v3qmhfIvNfqVzJYTI52lbmNJtPHLyD1jElycze5 1Jwg== X-Gm-Message-State: ALKqPwd3XJ2bUYwfftqeqA+cE45Hk0Snh/mgskhGzyMPcnPMo66S/Yzf dkYFSyGd/1vsjlGqcDvmdwfvIQ== X-Received: by 2002:a17:902:6b09:: with SMTP id o9-v6mr2069340plk.256.1527244365220; Fri, 25 May 2018 03:32:45 -0700 (PDT) Received: from localhost ([122.172.112.176]) by smtp.gmail.com with ESMTPSA id q68-v6sm41051197pfb.182.2018.05.25.03.32.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 03:32:44 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland Cc: Viresh Kumar , Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/15] arm: dts: omap: Add missing cooling device properties for CPUs Date: Fri, 25 May 2018 16:01:55 +0530 Message-Id: <7aa1c7c6d1e76b551ed74512af797db28be8925f.1527244201.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 In-Reply-To: References: In-Reply-To: References: Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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. Fix other missing properties (clocks, supply, clock latency) as well to make it all work. Signed-off-by: Viresh Kumar --- arch/arm/boot/dts/omap5.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.15.0.194.g9af6a3dea062 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" 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/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 732b61a0e990..574ac11c0489 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -61,6 +61,20 @@ device_type = "cpu"; compatible = "arm,cortex-a15"; reg = <0x1>; + + operating-points = < + /* kHz uV */ + 1000000 1060000 + 1500000 1250000 + >; + + clocks = <&dpll_mpu_ck>; + clock-names = "cpu"; + + clock-latency = <300000>; /* From omap-cpufreq driver */ + + /* cooling options */ + #cooling-cells = <2>; /* min followed by max */ }; };