Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3311644imm; Fri, 25 May 2018 03:35:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqYvQB0TohVqOLjgxknCEZrrzj0gEiZUhzioVxrOre4Tg2KeJVBpF3zIWEgjO7qcRncpoYa X-Received: by 2002:a65:6085:: with SMTP id t5-v6mr1575453pgu.362.1527244559751; Fri, 25 May 2018 03:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527244559; cv=none; d=google.com; s=arc-20160816; b=hj8Mxq4iraLCakCjJDbB9auzOlc3bdv7s0EHZ8ULxM91FnXCC21+j9tQMOWuSE15B6 IdmSRJYRXonSg/odbX2jq64lW+bIutbJ0EKZl2c5a4v/O86zgbvBU3iwvaEWcGegYfZG wLptPcd4+GNenD+ZRzJ5uzqlYt5ce655MU5ovfXj8YRDZSI4fBCMEtpcWymeVFb58Yk0 8JmMiW6qsbXW50mpkMvO6IVfdPFIhaoBB0c11Wl7DLidB0doFYT2qwp+XFkNAbdo+Qi3 wewfy/4Vvg5F7eA7hK0BmwGlx/7YWlWsSQ7Ps6vle0MH9EU1w/dcSqS99NjZKkiP5BZa CeeQ== 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=OglL5RWsFQGKbm/GCPs80WmyutdzM5IVlYYz/d/Z9bI=; b=ehbHhfwYfB2Woj6rWQR0FzF+fDhJVKYVqQcH23Y+aqHCIK6TKzzd9/JmhTiZToL7yP M82z+mHpN7pbxIitl1PnPgck8t8XUkiy5qDiN310rRKJYjoIAT3tXqaCWMSWQ3qNVJ0o eQD5lwkfm8ajlhK9TZqoZ/xvWoqyBsMDfaRAWUq9nkV7thaJKSs0bd8IrthIXHhjxDvP CPoKDDH4FYHx7I7l9cP4TUvwPdj9zXBYZghyWSybukVeP0pnWzrYtp8kuRjeS7Ym66zw 0iQzMa0iGMP7rYrRrXBs71zzykmqiqfF1mYFqY+v8CPwezypQtGBCh2sYu4yynWojp+7 dQxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GdVGDLMN; 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=pass (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 y1-v6si18825052pge.248.2018.05.25.03.35.45; Fri, 25 May 2018 03:35:59 -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; dkim=pass header.i=@linaro.org header.s=google header.b=GdVGDLMN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966286AbeEYKek (ORCPT + 99 others); Fri, 25 May 2018 06:34:40 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:34825 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966262AbeEYKcp (ORCPT ); Fri, 25 May 2018 06:32:45 -0400 Received: by mail-pl0-f66.google.com with SMTP id i5-v6so2927074plt.2 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=sUG6KB1oAiFtVxn9d2UKwIZ7KVUJLhEj382RiaZYjJPdvAKwzXCGatjgJNaR83H5oT E7DlYKxHMM4BgqpIudJ+R2UKRDnCyZI/+nlq3xRewVdlND1xIj3S2nxNJuK7cGoIQKtH QXhU0TtTWW2RzZ5kzqK+MRTNODIOj1NQL1xbnij1CkxvkxaFkVaNZq+BBtWAIWNuH361 3gs28DDEx85Jwa9SCmY3/a/COB5AXZ0zH/ftDqRqACQeR6GaPYC4FX9YWIUmtwhiJlJT di68Zd30on6boJXj6M1M8fGevdUhCrzml522ybaieCab/xG3qznm6l31OjWF4LIotfNr d1/A== X-Gm-Message-State: ALKqPwdwcT11m8cqGww9Ofl2geiRr45QvVFxcPUjI/6e1u23SuaZFOCF ZeHkPce7otuPq+Ovr5hTZGrv9A== 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=20Cousson?= , 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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 */ }; }; -- 2.15.0.194.g9af6a3dea062